/* ===================
   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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FAF5EE;
  color: #19212A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5dcc3;
  text-align: left;
  font-size: 16px;
}
th {
  background: #f9ecdb;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #113785;
}

/* =========================
   VINTAGE RETRO PALETTE
   =========================*/
:root {
  --color-primary: #113785;
  --color-secondary: #DA1E37;
  --color-accent: #F7F7F7;
  --color-bg: #FAF5EE;
  --color-dark: #392500;
  --color-shadow: rgba(48,34,0,0.10);
  --color-highlight: #EAC373;    /* soft yellow */
  --color-retroblue: #4062bb;
  --color-retropurple: #6F4A8E;
  --color-lightbrown: #b48b5e;
  --color-darkbrown: #7a4f2e;
  --color-offwhite: #F8F2E4;
  --color-pink: #db6c79;
}

/* =========================
   TYPOGRAPHY
   =========================*/
body, input, button, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  color: var(--color-darkbrown);
  text-shadow: 1px 3px 0 var(--color-highlight), 0 1px 1px #fff0, 0 0 #fff;
}
h2 {
  font-size: 2rem;
  color: var(--color-retropurple);
  text-shadow: 1px 2px 0 var(--color-offwhite);
}
h3 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-secondary);
}
p, li, td, th {
  font-size: 1rem;
  color: var(--color-dark);
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.text-section h2 {
  margin-top: 12px;
  font-size: 1.35rem;
  color: var(--color-retroblue);
}
/* Decorative retro font for headings only (can be replaced with Google Fonts like 'Luckiest Guy' if available) */
@font-face {
  font-family: 'VintagePoster';
  src: local('Impact'), local('Arial Black');
  font-weight: 800;
}
.hero h1, .cta h2 {
  font-family: 'VintagePoster', 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================
   CONTAINER & SECTIONS
   =========================*/
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-offwhite);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--color-shadow);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================
   HEADER & NAVIGATION
   =========================*/
header {
  background: var(--color-highlight);
  border-bottom: 4px dotted var(--color-lightbrown);
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}
.logo img {
  height: 46px;
  filter: sepia(0.25) contrast(1.15) brightness(0.98);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 8px;
  color: var(--color-primary);
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-retroblue);
  color: #fff;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
}
.button-primary {
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  border: none;
  border-radius: 18px;
  padding: 10px 24px;
  margin-left: 14px;
  box-shadow: 0 4px 18px var(--color-shadow);
  letter-spacing: 0.07em;
  transition: background 0.17s cubic-bezier(.24,.52,.24,1),
              color 0.17s,
              transform 0.15s;
  cursor: pointer;
}
.button-primary:hover, .button-primary:focus {
  background: var(--color-darkbrown);
  color: var(--color-highlight);
  transform: translateY(-1px) scale(1.045);
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  border-radius: 10px;
  padding: 7px 14px;
  color: #fff;
  font-size: 1.5rem;
  border: none;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.15s;
  z-index: 102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-darkbrown);
}

/* =========================
   MOBILE MENU
   =========================*/
.mobile-menu {
  position: fixed;
  z-index: 1111;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-highlight);
  box-shadow: -4px 0 44px var(--color-shadow);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.5,1.5,.7,1), opacity 0.25s;
  opacity: 0.98;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 0 16px 24px;
  font-size: 2.4rem;
  background: transparent;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  font-weight: bold;
  transition: color 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-darkbrown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px;
}
.mobile-nav a {
  color: var(--color-retroblue);
  background: var(--color-offwhite);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a.button-primary {
  color: #fff;
  background: var(--color-secondary);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* =========================
   HERO
   =========================*/
.hero {
  background: var(--color-retroblue);
  color: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 20px var(--color-shadow);
  margin-bottom: 60px;
  padding: 36px 0 60px 0;
  position: relative;
}
.hero .container {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display: flex;
}
.hero .content-wrapper {
  max-width: 650px;
  text-align: center;
  gap: 28px;
}
.hero h1 {
  color: #fff;
  text-shadow: 2px 2px 0 var(--color-secondary), 0 2px 6px #0002;
  margin-bottom: 12px;
}
.hero p {
  color: #fffbe8;
  font-size: 1.19rem;
  margin-bottom: 21px;
}
.hero .button-primary {
  background: var(--color-highlight);
  color: var(--color-darkbrown);
  box-shadow: 0 6px 20px var(--color-shadow);
}
.hero .button-primary:hover, .hero .button-primary:focus {
  background: var(--color-pink);
  color: #fff;
}

/* =========================
   FEATURE GRID
   =========================*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 10px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffbe8;
  border: 2px dashed var(--color-lightbrown);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 15px;
  padding: 20px 18px 20px 20px;
  min-width: 170px;
  flex: 1 1 210px;
  transition: transform 0.18s, box-shadow 0.14s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: sepia(0.24) brightness(1.13);
}
.feature-item:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 4px 24px var(--color-lightbrown);
  border-color: var(--color-retroblue);
}
.feature-item h3 {
  margin-bottom: 7px;
  margin-top: 2px;
  color: var(--color-secondary);
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.feature-item p {
  font-size: 0.98rem;
  color: var(--color-darkbrown);
}

/* =========================
   TESTIMONIALS
   =========================*/
.testimonials {
  background: var(--color-retropurple);
  color: #fff;
  border-radius: 22px;
  margin-bottom: 60px;
  box-shadow: 0 6px 22px var(--color-shadow);
  border: 3px dotted var(--color-highlight);
}
.testimonials .content-wrapper {
  gap: 25px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #392500;
  border-radius: 16px;
  margin: 0 0 20px 0;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: 2px solid var(--color-retropurple);
  font-size: 1.06rem;
  flex-wrap: wrap;
  position: relative;
  min-width: 0;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.rating-stars {
  font-size: 1.32rem;
  color: var(--color-pink);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-right: 18px;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-retroblue);
  margin-left: auto;
}

/* CTA SECTION */
.cta {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 23px;
  padding: 32px 20px 45px 20px;
  margin-bottom: 60px;
  box-shadow: 0 5px 24px var(--color-shadow);
  display: flex;
  align-items: center;
}
.cta .content-wrapper {
  gap: 25px;
  align-items: center;
}
.cta h2 {
  color: #fffbe8;
  font-size: 2.25rem;
  text-shadow: 1px 3px 0 var(--color-highlight);
}
.cta .button-primary {
  background: var(--color-highlight);
  color: var(--color-darkbrown);
}
.cta .button-primary:hover {
  background: var(--color-darkbrown);
  color: var(--color-highlight);
}

/* =========================
   TABLES
   =========================*/
table {
  margin-top: 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--color-shadow);
  background: #fffbe8;
}
thead {
  background: var(--color-highlight);
}
tbody tr:hover {
  background: #f6e3c3;
  transition: background 0.13s;
}
td {
  color: var(--color-darkbrown);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =========================
   CARDS & CARD-GRID
   =========================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffbe8;
  border-radius: 14px;
  box-shadow: 0 2px 13px var(--color-shadow);
  border: 1.5px dashed var(--color-lightbrown);
  overflow: hidden;
  transition: box-shadow 0.19s, border-color 0.12s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 8px 34px var(--color-highlight), 0 4px 8px var(--color-retropurple);
  border-color: var(--color-secondary);
  transform: scale(1.024);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 16px;
  gap: 12px;
}

/* =========================
   TEXT & IMAGE SECTIONS
   =========================*/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
/* .content-grid is used when visual separation of multiple content blocks is needed */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

/* =========================
   FOOTER
   =========================*/
footer {
  background: var(--color-darkbrown);
  color: #fffbe8;
  font-size: 0.99rem;
  margin-top: 45px;
  padding: 40px 0 18px 0;
  border-top: 5px dotted var(--color-highlight);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fffbe8;
  border-bottom: 1.5px dashed var(--color-pink);
  transition: color 0.11s, border-bottom-color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-highlight);
  border-bottom-color: var(--color-highlight);
}
.footer-contact {
  margin-bottom: 7px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.footer-social {
  color: var(--color-lightbrown);
  font-size: 0.99rem;
}

/* =========================
   FORMS & INPUTS (if any)
   =========================*/
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding: 10px 13px;
  border: 1.25px solid var(--color-lightbrown);
  border-radius: 7px;
  font-size: 1rem;
  background: #fffbe8;
  margin-bottom: 10px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-retroblue);
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: var(--color-retropurple);
  margin-bottom: 7px;
  display: block;
}

/* =========================
   COOKIE BANNER
   =========================*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-highlight);
  color: var(--color-dark);
  z-index: 1200;
  box-shadow: 0 -6px 38px var(--color-shadow);
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  border-radius: 22px 22px 0 0;
  border-top: 3px dashed var(--color-darkbrown);
  animation: cookie-banner-in 0.65s cubic-bezier(.32,1.21,.52,1) 0.1s 1 backwards;
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 12px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-right: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.11s, box-shadow 0.12s;
  background: var(--color-retroblue);
  color: #fff;
  box-shadow: 0 1.5px 10px var(--color-shadow);
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: var(--color-secondary);
  color: #fffbe8;
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-offwhite);
  color: var(--color-dark);
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-pink);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 1250;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(60,32,0,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-appear 0.26s cubic-bezier(.2,1.1,.6,1) 1 backwards;
}
@keyframes modal-appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-highlight);
  color: var(--color-dark);
  padding: 34px 24px 24px 24px;
  border-radius: 20px;
  box-shadow: 0 12px 44px var(--color-shadow);
  max-width: 420px;
  min-width: 0;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
.cookie-modal-content h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  color: var(--color-retropurple);
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-category label {
  margin: 0 -2px 0 0;
  font-size: 1.05rem;
}
.cookie-modal-content .category-toggle {
  accent-color: var(--color-secondary);
  scale: 1.3;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.49rem;
  color: var(--color-pink);
  cursor: pointer;
}
.cookie-modal-content .cookie-modal-close:hover { color: var(--color-darkbrown); }

/* =========================
   RESPONSIVE DESIGN
   =========================*/
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 1000px) {
  .container { max-width: 90vw; }
  .feature-grid { gap: 18px; }
  .content-grid { gap: 14px; }
}
@media (max-width: 850px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .cta h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    height: 64px;
    padding: 0 8px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav { flex-direction: column; gap: 10px; }
  .testimonials, .cta, section, .section {
    padding: 24px 6px;
    margin-bottom: 38px;
    border-radius: 14px;
  }
  .feature-item { min-width: 0; padding: 14px 12px; }
}
@media (max-width: 650px) {
  .hero .content-wrapper { max-width: 99vw; padding: 0 0px; }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .cta .content-wrapper, .testimonials .content-wrapper {
    align-items: flex-start;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.215rem; }
}
@media (max-width: 500px) {
  .container { padding: 0 4vw; }
  .cookie-banner { padding: 18px 8px 12px 8px; font-size: 0.99rem; }
  .cookie-modal-content { padding: 19px 4vw 19px 4vw; }
  th, td { font-size: 0.98rem; }
}

/* =========================
   UTILITY/MISC
   =========================*/
::-webkit-scrollbar {
  width: 11px;
  background: var(--color-offwhite);
}
::-webkit-scrollbar-thumb {
  background: var(--color-highlight);
  border-radius: 8px;
  border: 2px solid var(--color-offwhite);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-lightbrown);
}

hr {
  border: none;
  border-top: 2px dotted var(--color-lightbrown);
  margin: 25px 0;
  opacity: 0.62;
}

/* =========================
   Misc Classes (if needed)
   =========================*/
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .card-container, .content-grid, .feature-grid { flex-direction: column; gap: 18px; }
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffbe8;
  border: 1.25px dashed var(--color-lightbrown);
  border-radius: 10px;
  padding: 14px 10px;
  margin-top: 5px;
  box-shadow: 0 1px 9px var(--color-shadow);
}
.map-placeholder img {
  width: 82px;
  margin-bottom: 5px;
  filter: sepia(0.25);
}

/* Focus states for accessibility */
a:focus, button:focus, input:focus, .button-primary:focus {
  outline: 2.5px dashed var(--color-secondary);
  outline-offset: 2px;
  background: var(--color-highlight);
  color: var(--color-secondary) !important;
}

/* Animation for button click effect */
.button-primary:active {
  background: var(--color-retroblue);
  color: #fffbe8;
  transform: scale(0.98);
}

/* =========================
   Z-INDEX LAYERING
   =========================*/
.mobile-menu { z-index: 1111; }
.cookie-banner { z-index: 1200; }
.cookie-modal { z-index: 1250; }

/* =========================
   END OF CSS
   =========================*/
