/* 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,
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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #f6f3ee;
  color: #312c1a;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #F4F8F6;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A2147;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px dashed #FFDD4A;
  outline-offset: 2px;
}

/* VINTAGE RETRO COLOR PALETTE */
:root {
  --primary: #1A2147;
  --secondary: #FFDD4A;
  --accent: #F4F8F6;
  --retro-orange: #db843a;
  --retro-red: #bd3a3a;
  --retro-blue: #3082ed;
  --retro-cyan: #9AD3CB;
  --retro-green: #6B9362;
  --retro-brown: #8B7969;
  --retro-bg: #f6f3ee;
  --border: #d1cab1;
}

/* RETRO FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: 2px 2px var(--secondary), 0 7px var(--border);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 1px 1px var(--secondary), 0 4px var(--border);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 7px;
}
strong, b {
  font-weight: 700;
}
p, ul, ol, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #312c1a;
}
blockquote {
  font-style: italic;
  color: var(--retro-brown);
  border-left: 4px solid var(--secondary);
  padding-left: 16px;
  margin-bottom: 12px;
  background: #fffbea;
}

/* GENERAL LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffdf7;
  border-radius: 12px;
  box-shadow: 0 3px 20px rgba(180,153,70,0.08), 0 1.5px 5px rgba(218,121,54,0.08);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffdf7;
  border: 2.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(186,118,46,0.11);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
  max-width: 340px;
  transition: transform .17s cubic-bezier(.23,.66,.53,1), box-shadow .17s;
}
.card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 16px 32px rgba(218,121,54,0.15);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: #fcfaf1;
  border: 2px solid var(--secondary);
  box-shadow: 0 3px 10px rgba(255,221,74,0.09);
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #2b2320;
}
.testimonial-card > div {
  font-size: .98rem;
  color: #1A2147;
  font-weight: 700;
  margin-left: 8px;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  border-radius: 28px;
  padding: 12px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .3px;
  text-shadow: 0 1.5px #fff7cb;
  border: none;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .18s, transform .15s;
  box-shadow: 0 2px 11px rgba(185,129,44,.09);
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  border: 2.5px solid var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--primary);
  color: var(--secondary);
  border: 2.5px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1.5px) scale(1.035);
}

/* NAVIGATION */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(40,36,20,0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 24px;
  position: relative;
  z-index: 101;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--secondary);
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 11px;
  transition: background .17s, color .15s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
header a.btn-primary {
  margin-left: 18px;
  box-shadow: 0 5px 18px rgba(255,191,67,0.12);
}
header img {
  height: 40px;
  width: auto;
  margin-right: 18px;
}

/* FOOTER */
footer {
  width: 100%;
  background: #fffbea;
  border-top: 4px dashed var(--secondary);
  padding: 40px 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-logo img {
  height: 43px;
  width: auto;
  margin-bottom: 9px;
}
footer nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--primary);
  font-size: .97rem;
  letter-spacing: .4px;
  padding: 6px 13px;
  border-radius: 8px;
  transition: background .14s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #251d13;
  font-size: .98rem;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  vertical-align: sub;
  margin-right: 8px;
}

/* LISTS WITH ICONS */
ul {
  margin-left: 0;
  margin-bottom: 13px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 1rem;
  border-radius: 7px;
}
ul li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: contrast(.98) brightness(1);
}

ol {
  margin-left: 22px;
  margin-bottom: 13px;
}
ol li {
  margin-bottom: 7px;
}

/* RETRO PATTERN and VISUALS */
.section {
  background-image: repeating-linear-gradient(135deg, #fff8ee 0, #fff8ee 22px, #f4eee4 22px, #f4eee4 44px);
  border: 2.5px solid var(--border);
  position: relative;
}
.section:before {
  content: "";
  display: block;
  background: url('../assets/patterns/retro-dots.svg') repeat;
  opacity: .12;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}
.content-wrapper, .container, .section {
  position: relative;
  z-index: 1;
}

/* RESPONSIVE DESIGN */
@media (max-width:1024px) {
  .container {max-width:97vw;}
}
@media (max-width:900px) {
  header, .container {padding-left: 8px; padding-right: 8px;}
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.35rem;}
  h3 {font-size: 1rem;}
  .section {
    padding: 21px 7px;
    margin-bottom: 36px;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .testimonial-card,
  .footer-contact,
  .feature-item {
    flex-direction: column;
    gap: 16px;
  }
  header nav {gap: 12px;}
}
@media (max-width: 600px) {
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.11rem;}
  .container {padding: 0 6px;}
  header {padding: 8px 4px;}
}

/* MAIN BUTTONS CENTER ON MOBILE */
@media (max-width: 900px) {
  .content-wrapper > .btn-primary {align-self: center;}
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 14px;
  top: 13px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.2rem;
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  z-index: 201;
  cursor: pointer;
  transition: background .12s, color .2s, box-shadow .15s;
  box-shadow: 0 3px 13px rgba(210,150,44,0.12);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}
@media (max-width: 900px) {
  header nav {display: none;}
  .mobile-menu-toggle {display: flex;}
  header .btn-primary {display: none;}
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fffdf7;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.89,.25,.37,1);
  z-index: 2200;
  box-shadow: 0 0 40px 6px rgba(20,15,5,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 37px 27px 21px 27px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.6rem;
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  align-self: flex-end;
  margin-bottom: 22px;
  transition: background .14s, color .15s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  color: var(--primary);
  font-weight: 700;
  background: var(--secondary);
  margin-bottom: 5px;
  padding: 13px 21px;
  border-radius: 13px;
  transition: background .16s, color .14s;
  box-shadow: 0 1.5px 8px rgba(255,221,74,0.11);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2999;
  background-color: #fff9e8;
  border-top: 4px solid var(--secondary);
  padding: 22px 14px 16px 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
  box-shadow: 0 0 13px 1.5px rgba(210,150,44,0.11);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookiefadein .8s cubic-bezier(.65,.19,.32,1);
}
@keyframes cookiefadein{
  from{transform:translateY(40px);opacity:0} to{transform:translateY(0);opacity:1}
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-left: auto;
}
.cookie-banner button, .cookie-banner .btn-settings {
  min-width: 130px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  border-radius: 21px;
  border: 2px solid var(--border);
  padding: 10px 19px;
  font-size: 1.01rem;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  transition: background .14s, color .14s, border .14s;
  margin-right: 0;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #9a641d;
  border: 2px solid var(--primary);
}
.cookie-banner button:hover, .cookie-banner .btn-settings:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3500;
  background: rgba(55, 44, 18, 0.52);
  justify-content: center;
  align-items: center;
  animation: cookiemodal-in .44s cubic-bezier(.9,.25,.3,1);
}
@keyframes cookiemodal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fffdf7;
  border-radius: 13px;
  box-shadow: 0 6px 28px rgba(186,118,46,0.19);
  padding: 34px 26px 30px 26px;
  min-width: 310px;
  max-width: 97vw;
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 18px;
  text-shadow: 1px 1px var(--secondary);
}
.cookie-modal-content label {
  font-family: 'Montserrat',Arial,sans-serif;
  display: flex;
  align-items: center;
  margin-bottom: 11px;
  font-size: 1.05rem;
  color: #251d13;
}
.cookie-modal-content input[type=checkbox] {
  margin-right: 7px;
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-modal-content .cookie-cat {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-btn-group {
  margin-top: 23px;
  display: flex;
  gap: 13px;
}
.cookie-modal-content .cookie-necessary {
  color: #6C6C44;
  font-size: .97rem;
  margin-left: 9px;
}
.cookie-modal-content .cookie-close-btn {
  position: absolute;
  right: 26px; top: 16px;
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: 1.67rem;
  border-radius: 50%;
  width: 35px; height: 35px;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-modal-content .cookie-close-btn:hover,
.cookie-modal-content .cookie-close-btn:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* ENSURE NO FLEX OVERLAP AND GAPS */
.section, .card-container, .content-grid, .testimonial-card, .card {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 24px;
}

/* VISUAL HIERARCHY & MICROINTERACTIONS */
a, button, .btn-primary, .btn-secondary, .cookie-btn-group button, .cookie-nav a {
  transition: all .13s cubic-bezier(.44,.44,.33,1);
}
.card, .testimonial-card, .cookie-modal-content {
  transition: box-shadow .19s, transform .18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 32px rgba(255,181,74,0.18), 0 1.5px 8px #e5d47a44;
}

/* RETRO FLOATING DECORATIVE ELEMENTS (NO ABSOLUTE CONTENT CARDS) */
.section .deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
/****/ 

/* FORM ELEMENTS (for contact page messages if form included) */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 7px;
  padding: 8px 13px;
  margin-bottom: 13px;
  background: #fffdea;
  width: 100%;
  transition: border .15s;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 7px;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 9px;
  background: #f4eee4;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 10px;
}

/**** ACCESSIBILITY & FOCUS STATES ****/
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px dashed var(--retro-orange);
  outline-offset: 2px;
}

/**** PRINT STYLES ****/
@media print{
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {display:none !important;}
  .section, .container{background:none !important; box-shadow:none !important; border:none !important;}
}

/* END OF STYLE.CSS | Quantum Jolt | Retro-Vintage Modern Responsive Design */