/* ================== CSS 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, hr,
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #FFF8F3;
  color: #1B2829;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #C25A36;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F7B32B;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
/* ================== VINTAGE RETRO COLOR PALETTE ================== */
:root {
  --primary: #1B365D;
  --base-bg: #FFF8F3;
  --vintage-bg: #F9E5C2;
  --retro-dark:#362D2D;
  --accent: #F7B32B;
  --accent-dark: #C25A36;
  --light: #FFFDE6;
  --vintage-gray: #EAE3DD;
  --retro-blue: #4986A3;
  --retro-orange: #E07B3F;
  --retro-green: #57A773;
  --border: #D5C5A5;
  --shadow: rgba(42,32,5,0.13);
  --testimonial-bg: #FDF7EC;
}
/* ================== TYPOGRAPHY & RETRO EFFECTS ================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Futura', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 1px 2px 0 #F7B32B66;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--accent-dark);
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary);
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, li, table, dl, dd, dt {
  font-size: 1.0625rem;
  color: var(--retro-dark);
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
}
.text-section {
  margin-bottom: 32px;
}
.text-section ul,
.text-section ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
.text-section li {
  line-height: 1.7;
  margin-bottom: 10px;
}
/* Retro Blockquote style for testimonials */
blockquote, .testimonial-card p {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: #4B332A;
  border-left: 5px solid var(--primary);
  background: var(--testimonial-bg);
  padding: 18px 24px;
  margin-bottom: 12px;
  border-radius: 9px 12px 12px 9px;
  box-shadow: 0 2px 18px var(--shadow);
}

/* ================== VINTAGE PATTERNS & DECOR ================== */
body {
  background-color: var(--base-bg);
  background-image: repeating-linear-gradient(135deg, #FDF7EC 0px, #FDF7EC 30px, #F9E5C2 30px, #F9E5C2 60px);
  /* subtle stripes */
}
section {
  background-color: var(--light);
  border-radius: 18px;
  box-shadow: 0 4px 32px var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 769px) {
  .content-wrapper {
    gap: 28px;
  }
}

/* ================== HEADER & NAVIGATION ================== */
header {
  background: var(--vintage-bg);
  padding: 0;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 36px;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  padding: 7px 0;
  position: relative;
}
header nav a:before {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px; left: 0;
  width: 0%; height: 2px;
  background: var(--accent);
  transition: width 0.2s;
  border-radius: 2px;
}
header nav a:hover:before,
header nav a:focus:before {
  width: 100%;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: #fff;
  border-radius: 22px;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 11px 32px;
  border: none;
  box-shadow: 0 2px 14px 0 #D5C5A555;
  transition: background 0.22s, transform 0.13s;
  cursor: pointer;
  letter-spacing: 0.03em;
  margin-left: 12px;
  text-shadow: 1px 1px 0 #C25A36AA;
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 3px 24px 0 #F7B32B88;
}
header .cta-btn {margin-left: 20px;}

/* Logo scaling */
header img, footer img {
  height: 48px;
  width: auto;
  margin-right: 16px;
}
/* ================== MOBILE MENU BURGER ================== */
.mobile-menu-toggle {
  display: inline-flex;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--accent-dark);
  cursor: pointer;
  margin-left: 18px;
  z-index: 100;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

/* ================== MOBILE SLIDE MENU OVERLAY ================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #F7B32BEE;
  box-shadow: 0 8px 32px #C25A3666;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,.2,.05,1.0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  border: none;
  background: none;
  color: var(--primary);
  margin: 18px 26px 8px 0;
  cursor: pointer;
  z-index: 1001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 34px 36px 16px 44px;
  box-sizing: border-box;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  color: var(--retro-dark);
  text-decoration: none;
  padding: 13px 0;
  letter-spacing: 0.03em;
  transition: color 0.17s, background 0.15s;
  border-radius: 8px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent-dark);
  background: var(--light);
}
@media (max-width: 1023px) {
  header nav,
  header .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
/* ================== HERO & SECTIONS ================== */
.hero {
  background: linear-gradient(135deg, #FFFDE6 62%, #F7B32B14 100%);
  box-shadow: 0 6px 45px #C25A360F;
  border-radius: 18px;
  padding-top: 54px;
  padding-bottom: 54px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: -30px;
  width: 140px; height: 100%;
  background: repeating-linear-gradient(60deg, #F7B32B11 0px, #F7B32B11 30px, #E07B3F11 30px, #E07B3F11 60px);
  z-index: 0;
}
.hero .container, .hero .content-wrapper {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 2.1rem;
  color: var(--accent-dark);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  text-shadow: 2px 3px 0 #FFFDE688;
}
.hero p {
  font-size: 1.21rem;
  color: #2B2B2B;
  margin-bottom: 22px;
  font-family: 'Roboto', Arial, sans-serif;
}
@media (min-width: 700px) {
  .hero h1 { font-size: 2.75rem; }
  .hero { padding-top:62px; padding-bottom:62px; }
}
/* ================== FEATURES & CARD CONTAINERS ================ */
.features {
  background: var(--vintage-bg);
  border-radius: 14px;
}
.features h2 { color: var(--accent-dark); text-shadow: none;}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
  list-style: none;
}
.features li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.07rem;
  background: var(--light);
  border-radius: 11px;
  padding: 14px 16px;
  color: var(--retro-dark);
  box-shadow: 0 1px 7px #C25A3609;
  margin-bottom: 0;
  text-shadow: none;
}
.features li img { width: 34px; height: 34px;}
.content-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--vintage-bg);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 #C25A3660;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
/* ================ TESTIMONIALS SECTION ================ */
.testimonials {
  background: var(--testimonial-bg);
  border-radius: 14px;
  box-shadow: 0 4px 25px 0 #362D2D0B;
}
.testimonials h2 {
  color: var(--accent-dark);
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 16px #C25A3617;
  border: 1.5px solid var(--border);
  min-width: 260px;
  color: #2D2823;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.testimonial-card strong {
  color: var(--retro-blue);
  font-size: 1.08rem;
  margin-top: 8px;
  font-family: inherit;
  font-weight: 600;
}
.testimonial-card p {
  color: #2D2823;
  background: none;
  border-left: 3px solid var(--accent);
  margin-bottom: 0;
  border-radius: 0;
  padding: 0 0 0 12px;
  font-size: 1.07rem;
}

/* Visual safety: dark text, light background */
.testimonial-card, .testimonial-card * {
  color: #2D2823;
}

@media (min-width: 768px) {
  .testimonials .content-wrapper {
    flex-direction: row;
  }
  .testimonial-card {
    flex: 1 1 0px;
    margin-right: 0;
    min-width: 270px;
  }
}

/* ===== CTA SECTIONS ===== */
.cta {
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0px 6px 32px 0 #C25A3635;
}
.cta h2 { color: #fff; text-shadow: 2px 2px 0 #C25A3670;}
.cta .cta-btn {
  margin-top: 16px;
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 2px 10px 0 #362D2D18;
  border: 1.5px solid #F7B32B;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: var(--accent-dark);
  color: #fff;
}

/* ====== LISTS, TABLES, AND MISC ====== */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 18px;
  background: var(--vintage-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px #C25A360A;
}
thead {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid #e4d6be;
}
th:last-child, td:last-child {
  text-align: right;
}
tbody tr:last-child td { border-bottom: none; }
table tr {
  transition: background 0.13s;
}
table tr:hover {
  background: #F7B32B18;
}
.text-section dl {
  margin-bottom: 20px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: var(--retro-blue);
  margin-top: 14px;
}
dd {
  margin-left: 16px;
  margin-bottom: 10px;
  color: var(--retro-dark);
}
/* ================ FOOTER STYLES ================ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 16px 0;
  box-shadow: 0 -3px 12px #1B282945;
}
footer p {
color: white;}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  opacity: 0.89;
  text-decoration: underline dotted #F7B32B 1.5px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  text-decoration: underline solid #F7B32B 2px;
}
footer small {
  color: #e8dcb6;
  margin-top: 8px;
  font-size: 0.95rem;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
  color: #F7B32B;
}
footer img {
  height: 38px;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 36px;
  }
}
/* ================ MISCELLANEOUS & ICONS ================ */
.text-section img,
.features li img,
.text-section ul img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
/* ================ COOKIE CONSENT BANNER & MODAL ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff2ac;
  color: #41331F;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -2px 16px #C25A3633;
  padding: 18px 26px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 99999;
  font-size: 1rem;
  animation: slideup-bounce 0.6s cubic-bezier(.68,1.55,.27,.88);
}
@keyframes slideup-bounce {
  0% { transform: translateY(120%); }
  60% { transform: translateY(-14%); }
  100% { transform: translateY(0); }
}
.cookie-banner p { flex: 1; color: inherit; margin: 0; }
.cookie-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  border-radius: 18px;
  padding: 7px 23px;
  margin-left: 10px;
  margin-bottom: 2px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 1px 8px #C25A3607;
  transition: background 0.18s, color 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent-dark);
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  margin-left: 0;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--accent-dark);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 10px 13px 10px;
    font-size: 0.98rem;
    gap: 9px;
  }
}
/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(51,38,12,0.35);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  animation: cookie-blur-in 0.4s;
}
@keyframes cookie-blur-in { from { background: rgba(66,48,13,0);} to {background: rgba(51,38,12,0.35);} }
.cookie-modal.hidden {
  pointer-events: none;
  opacity: 0;
  display: none;
}
.cookie-modal-content {
  background: #FFF8F3;
  border-radius: 18px;
  box-shadow: 0 11px 61px #C25A3633;
  padding: 36px 23px 26px 27px;
  max-width: 430px;
  width: 92%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2.5px solid var(--accent);
  animation: modal-fadein 0.32s;
}
@keyframes modal-fadein { from { opacity: 0; transform: scale(0.96);} to {opacity: 1; transform: scale(1);}}
.cookie-modal-content h2 {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 1.3rem;
}
.cookie-modal-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
}
.cookie-category-toggle {
  width: 42px;
  height: 25px;
  background: var(--vintage-bg);
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid var(--accent);
  transition: background 0.2s;
  margin-left: auto;
}
.cookie-category-toggle[aria-checked="true"] {
  background: var(--accent);
}
.cookie-category-toggle:after {
  content: '';
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #C25A3611;
  transition: left 0.15s;
}
.cookie-category-toggle[aria-checked="true"]:after {
  left: 19px;
  background: #fffefd;
}
.cookie-essential-label {
  font-size: 0.98rem;
  color: #999;
  font-style: italic;
  margin-left: 2px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #A5793C;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
/* ================ RESPONSIVE LAYOUTS ================ */
@media (min-width: 660px) {
  .card-container, .content-grid { gap: 32px; }
  .features ul { gap: 27px; }
}
@media (min-width: 800px) {
  .container { padding: 0 38px; }
}
@media (min-width: 850px) {
  .card-container, .content-grid { gap: 32px; }
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 28px;
  }
  .card-content {
    flex: 1 1 0;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  section {
    padding: 30px 8px;
    border-radius: 12px;
    margin-bottom: 38px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem;}
  .cta-btn { font-size: 1rem; padding: 10px 23px; }
}
@media (max-width: 530px) {
  .container { padding: 0 4vw; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  .cta-btn { font-size: 0.97rem; }
  .testimonial-card { padding: 13px; font-size: 0.97rem;}
  table th, table td { padding: 9px 7px; }
}
/* ================ MICRO-INTERACTIONS & TRANSITIONS ================ */
*, *:before, *:after {
  transition: background 0.14s, box-shadow 0.18s, color 0.15s;
}
.card, .testimonial-card, .cta, .features li, .cookie-modal-content {
  transition: box-shadow 0.23s, background 0.15s;
}
.card:hover, .testimonial-card:hover, .features li:hover {
  box-shadow: 0 8px 24px #C25A3640, 0 2px 12px #F7B32B13;
  background: #FFF3E2;
  z-index: 1;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* =============== CONTENT SPACING & FLEXBOX PATTERNS =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.section { margin-bottom: 60px; padding: 40px 20px; }

/* ==== FOCUS STATES (Accessibility) ==== */
:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
