/* CSS RESET & BASE ------------------------------------------------ */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #3E2C23;
  background: #FFF9F4;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
:root {
  --primary: #3E2C23;
  --secondary: #E65628;
  --accent: #FFE9C7;
  --white: #fff;
  --shadow: 0 2px 12px rgba(62,44,35,0.07);
  --radius-lg: 16px;
  --radius-md: 9px;
  --radius-sm: 4px;
  --display-font: 'Oswald', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
  --focus-outline: 2px solid #E65628;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* TYPOGRAPHY -------------------------------------------------------- */
h1 {
  font-family: var(--display-font);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--primary);
  text-transform: uppercase;
  text-shadow: 1px 1px 0 var(--accent), 2px 2px 0 rgba(62,44,35,0.12);
}
h2 {
  font-family: var(--display-font);
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 2rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 1px 1px 0 var(--accent);
}
.h3, h3 {
  font-family: var(--display-font);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--primary);
  margin-bottom: 10px;
}
p, li, ul, ol {
  font-family: var(--body-font);
  margin-bottom: 18px;
}
strong {
  color: var(--secondary);
  font-weight: bold;
}
a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.15s;
}
a:focus, a:hover {
  color: var(--primary);
  outline: var(--focus-outline);
  text-decoration: none;
}

/* VINTAGE RETRO ICON-BULLET LISTS ---------------------------------- */
li {
  margin-left: 30px;
  margin-bottom: 8px;
  position: relative;
}
ul li::before {
  content: '\25A1'; /* hollow retro diamond */
  color: var(--secondary);
  font-size: 0.95em;
  position: absolute;
  left: -24px;
  top: 0.1em;
  font-weight: 800;
}
ul li img {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
  filter: sepia(0.8);
}

/* LAYOUT ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin-left: auto;
  margin-right: auto;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px 24px 36px 24px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX GRIDS ----------------------------------------------------- */
.features-grid, .product-list, .idea-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 14px;
  margin-bottom: 18px;
}
.features-grid > div, .product-list > div, .idea-grid > div {
  flex: 1 1 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 7px rgba(62,44,35,0.09);
  padding: 26px 18px 18px 18px;
  margin-bottom: 20px;
  border: 2px solid #E3C09A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.features-grid > div:hover, .product-list > div:hover, .idea-grid > div:hover {
  box-shadow: 0 6px 32px rgba(62,44,35,0.12);
  border-color: var(--secondary);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 28px 24px;
  border: 1.5px solid #DEC7A8;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF5E6;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(62,44,35,0.07);
  margin-bottom: 28px;
  border-left: 6px solid var(--secondary);
  max-width: 400px;
  min-width: 0;
  color: #2F170B;
  font-size: 17px;
  transition: box-shadow 0.18s;
}
.testimonial-card strong {
  display: block;
  color: var(--primary);
  text-align: right;
  font-family: var(--display-font);
  font-weight: bold;
  font-size: 1rem;
}
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
}
.faq > div {
  background: #ffecd356;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px rgba(62,44,35,0.12);
  padding: 14px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 360px;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
}

/* CTA BUTTONS & MICRO-INTERACTIONS --------------------------------- */
.cta-btn, .mini-cta-btn, .cta-block .cta-btn {
  display: inline-block;
  font-family: var(--display-font);
  background: var(--secondary);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(62,44,35,0.11);
  padding: 16px 36px;
  cursor: pointer;
  margin: 14px 4px 4px 0;
  text-decoration: none;
  transition: background 0.18s cubic-bezier(.77,.01,.33,1), box-shadow 0.23s, transform 0.14s cubic-bezier(.5,0,.5,1.5);
  outline: none;
}
.cta-btn:hover, .mini-cta-btn:hover, .cta-btn:focus, .mini-cta-btn:focus {
  background: #CE4115;
  box-shadow: 0 4px 18px rgba(62,44,35,0.14);
  transform: translateY(-2px) scale(1.045);
  color: var(--white);
}
.mini-cta-btn {
  font-size: 1rem;
  padding: 11px 25px;
  background: var(--primary);
  color: var(--accent);
}
.mini-cta-btn:hover, .mini-cta-btn:focus {
  background: var(--secondary);
  color: var(--white);
}

/* HEADER, NAVIGATION & MOBILE MENU --------------------------------- */
header {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 3px 24px rgba(62,44,35,0.11);
  position: relative;
  z-index: 22;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 0;
  transition: color 0.17s;
  position: relative;
}
header nav a:after {
  content: "";
  display: block;
  width: 0%;
  transition: width 0.28s cubic-bezier(.45,0,.67,1.49);
  border-bottom: 2px solid var(--secondary);
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
}
header nav a:hover:after, header nav a:focus:after {
  width: 70%;
}
header .cta-btn {
  margin-left: 16px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 2rem;
  padding: 6px 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(62,44,35,0.13);
  margin-left: auto;
  transition: background 0.19s;
  z-index: 200;
}
.mobile-menu-toggle:hover {
  background: #A2300B;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: var(--primary);
  color: var(--accent);
  z-index: 5555;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.86,-0.42,.15,1.27);
  box-shadow: 0 4px 32px rgba(62,44,35,0.21);
  padding-top: 44px;
  padding-left: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 20px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 60;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 24px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--display-font);
  text-transform: uppercase;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.13s, outline 0.18s;
  width: 95%;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--white);
  outline: var(--focus-outline);
}

/* FOOTER ----------------------------------------------------------- */
footer {
  background: #FAEBD8;
  border-top: 3px solid var(--secondary);
  padding-top: 28px;
  padding-bottom: 16px;
  margin-top: 80px;
  font-size: 0.95rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer nav {
  display: flex;
  gap: 28px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 1.03rem;
  text-decoration: none;
  opacity: 0.85;
  text-transform: uppercase;
  transition: color 0.19s, opacity 0.14s;
  letter-spacing: 0.01em;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
footer p {
  color: #685648;
  margin: 0;
  font-size: 0.97em;
  opacity: 0.7;
}

/* FORMS, TABLES and MODAL CONTENT ---------------------------------- */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 28px;
  font-family: var(--body-font);
  background: #fff7ed;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px rgba(62,44,35,0.08);
  overflow: hidden;
}
thead tr {
  background: #E6B88A;
  color: var(--primary);
}
th, td {
  padding: 14px 18px;
  border: 1.5px solid #DEB98B;
  text-align: left;
  font-size: 1rem;
}
th {
  text-transform: uppercase;
  font-family: var(--display-font);
  font-size: 1.03rem;
}
tr:nth-child(even) {
  background: #FFF3E1;
}
tr:nth-child(odd) {
  background: #FFE9C7;
}

/* UTILITY CLASSES -------------------------------------------------- */
.cta-banner {
  background: #FFE0BC;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(62,44,35,0.09);
  padding: 38px 20px 28px 20px;
  text-align: center;
  margin-bottom: 24px;
}
.usp-list ul, .quick-tips ul {
  margin-top: 10px;
}
.quick-tips {
  background: #FFF5E6;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px rgba(62,44,35,0.08);
  padding: 18px 16px;
  margin-top: 34px;
  margin-bottom: 9px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 18px;
  font-size: 1.08rem;
}
.contact-info img {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  filter: sepia(0.9);
  vertical-align: middle;
}
.cta-block {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  gap: 12px;
}

/* COOKIE BANNER ---------------------------------------------------- */
.cookie-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  position: fixed;
  bottom: 0; left: 0; width: 100vw; z-index: 7150;
  padding: 20px 14px;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--body-font);
  font-size: 1.09rem;
  box-shadow: 0 -4px 32px 0 rgba(62,44,35,0.14);
  justify-content: center;
  animation: slideUpFadeIn 0.7s cubic-bezier(.5,0,.38,1) 1;
}
.cookie-banner .cookie-btn {
  margin-left: 10px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: bold;
  background: var(--secondary);
  color: var(--accent);
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.14s, color 0.2s;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--secondary);
  margin-right: 7px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #A2300B;
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-banner .cookie-btn.cookie-settings:focus {
  background: var(--accent);
  color: var(--secondary);
}
@keyframes slideUpFadeIn {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* COOKIE MODAL POPUP ----------------------------------------------- */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40, 27, 20, 0.83);
  z-index: 8000;
  justify-content: center;
  align-items: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn .25s cubic-bezier(.45,.56,.68,1.44) 1;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF5E6;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 56px rgba(62,44,35,0.21);
  padding: 38px 32px 30px 32px;
  max-width: 420px;
  width: 95vw;
  color: var(--primary);
  font-size: 1.08rem;
  position: relative;
  text-align: left;
  border: 2px solid var(--secondary);
}
.cookie-modal-content h2 {
  color: var(--secondary);
  font-family: var(--display-font);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cookie-modal-content ul {
  margin-left: 12px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--secondary);
}
.cookie-modal-close {
  background: transparent;
  border: none;
  position: absolute;
  top: 18px; right: 24px;
  font-size: 1.8rem;
  color: var(--secondary);
  cursor: pointer;
  line-height: 1;
}

/* RESPONSIVE ------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
  }
  .features-grid, .product-list, .idea-grid {
    gap: 17px;
  }
  .content-wrapper, .cta-banner {
    padding: 24px 10px 18px 10px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .features-grid, .idea-grid, .product-list, .testimonials-slider, .faq, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .testimonial-card, .faq > div, .features-grid > div, .product-list > div, .idea-grid > div {
    max-width: 100%;
    min-width: 0;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.32rem; }
  .cta-btn, .mini-cta-btn { padding-left: 18px; padding-right: 18px; }
  footer .container { flex-direction: column; }
  .content-wrapper {
    padding: 20px 8px 12px 8px;
  }
  .section {
    margin-bottom: 26px;
    padding: 22px 4px;
  }
}
@media (max-width: 700px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.07rem; }
  .content-wrapper { padding: 10px 3vw 7px 3vw; }
  .testimonial-card { font-size: 1em; padding: 13px 6px; }
  table th, table td { padding: 7px 6px; font-size: 0.91rem; }
}

/* RETRO DECORATIVE ELEMENTS ---------------------------------------- */
.content-wrapper, .card, .cta-banner, .testimonial-card, .faq > div, .features-grid > div, .product-list > div, .idea-grid > div {
  background-image: repeating-linear-gradient(135deg, #ffe4c1 0, #ffe4c1 20px, #ffe9c7 21px, #ffe9c7 42px);
  background-size: 50px 50px;
  border-style: solid;
  border-width: 1.5px;
  border-color: #e3c09a;
}

/* HIDE SCROLLBAR ON MOBILE MENU ------------------------------------ */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* PRINT ----------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cta-btn, .mini-cta-btn, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
