/* =======================================================
   CSS RESET & FLEXBOX-ONLY LAYOUT NORMALIZATION
   ======================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s;
}
:focus {
  outline: 2px dashed #DB7747;
  outline-offset: 2px;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #f6f3eb;
  color: #2e2320;
  line-height: 1.7;
}

/*
=======================================================
VINTAGE RETRO BRAND PALETTE & TYPOGRAPHY SETUP
=======================================================
*/
:root {
  /* Modern retro colorways with pastel and faded touch */
  --color-primary: #214962;   /* brand blue, slightly muted */
  --color-secondary: #798863; /* moss olive for vintage accent */
  --color-accent: #F2E5CA;   /* creamy antique white */
  --color-background: #f6f3eb; /* soft eggshell */
  --color-highlight: #F9D880; /* faded yellow highlight */
  --color-orange: #DB7747;     /* burnt orange retro icon */
  --color-link: #214962;
  --color-cta: #DB7747;
  --color-light: #FFF9F4;
  --color-shadow: rgba(42,27,7,0.12);
}

body {
  background: var(--color-background);
  color: #2e2320;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #4B372D;
  letter-spacing: 1.2px;
  line-height: 1.14;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.7rem;
  font-weight: 800;
  text-shadow: 2px 2px 0 #F9D880, 4px 4px 0 #FFF9F4;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 3px dotted var(--color-secondary);
  display: inline-block;
  padding-bottom: 6px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-top: 32px;
  margin-bottom: 16px;
}

p, ul, ol, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #2e2320;
}

strong {
  font-weight: 700;
  color: var(--color-orange);
}

/* =========================
   CONTAINER
   ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* =========================
   HEADER & NAVBAR
   ========================= */
header {
  background: var(--color-accent);
  box-shadow: 0 4px 16px var(--color-shadow);
  border-bottom: 2px solid var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}
header img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-left: 16px;
  z-index: 5;
}
.main-nav a {
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-highlight);
  color: var(--color-orange);
  box-shadow: 0 1px 6px var(--color-shadow);
}

.cta-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 11px 28px ;
  margin-left: 12px;
  box-shadow: 0 2px 10px var(--color-shadow);
  letter-spacing: 0.5px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
  display: inline-block;
  cursor: pointer;
}
.cta-button:hover,
.cta-button:focus {
  background: #a43e10;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px #dca16622;
}

/* Hide burger on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: var(--color-accent);
  border: none;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, color 0.19s;
  z-index: 1102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-highlight);
  color: var(--color-orange);
}

/* =========================
    MOBILE MENU OVERLAY
   ===========================*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #4B372Dcc;
  z-index: 1200;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.25,.8,.52,1.01), opacity 0.28s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-cta);
  color: #fff;
  font-size: 2.1rem;
  margin: 20px 24px 0 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px var(--color-shadow);
  transition: background 0.17s;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-orange);
}
.mobile-nav {
  width: 100%;
  max-width: 360px;
  margin-top: 16px;
  background: var(--color-accent);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  padding: 36px 34px 32px 24px;
  box-shadow: -4px 0 24px #b9997b15;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 90vh;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 9px;
  padding: 9px 16px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-highlight);
  color: var(--color-cta);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    flex-direction: row;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  border-top: 3px dotted var(--color-secondary);
  box-shadow: 0 -2px 8px var(--color-shadow);
  font-size: 1rem;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 22px 20px;
}
footer a img {
  height: 38px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.92;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-orange);
  color: #fff;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}
.footer-contact span {
  color: #fff;
  opacity: .82;
  font-size: 0.96rem;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 10px 13px 10px;
  }
  .footer-contact {
    align-items: flex-start;
  }
}

/* =========================
   HERO & RETRO SECTION STYLE
   ========================= */
.hero {
  background: repeating-linear-gradient(135deg, #F2E5CA, #F2E5CA 16px, #F9D880 16px, #F9D880 20px);
  color: #403220;
  position: relative;
  border-bottom: 5px double var(--color-secondary);
  box-shadow: 0 4px 32px #b6874822;
}
.hero .container {
  min-height: 310px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 600px;
}
.hero h1 {
  font-size: 2.4rem;
  color: #43281C;
  letter-spacing: 2px;
}
.hero p {
  margin-top: 19px;
  font-size: 1.2rem;
  color: #5d4632;
}
.hero .cta-button {
  margin-top: 32px;
  font-size: 1.22rem;
}
@media (max-width: 768px) {
  .hero .container {
    min-height: initial;
    padding: 44px 16px 35px 16px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero .cta-button {
    margin-top: 18px;
    font-size: 1rem;
  }
}

/* =========================
   MAIN SECTION SPACING & LAYOUTS
   ========================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-of-type {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  width: 100%;
}
.text-section {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 720px) {
  .text-section {
    padding: 18px 7px 18px 10px;
  }
  section {
    padding: 25px 6px;
    margin-bottom: 38px;
  }
}

/* =========================
   FLEX SPACING COMPONENT CLASSES
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 0;
}
.card {
  background: #fffdf0;
  border-radius: 16px;
  box-shadow: 0 6px 28px #b9997b22;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  min-width: 230px;
  flex: 1 1 260px;
  max-width: 380px;
  transition: box-shadow 0.17s, transform 0.2s;
  border: 2px solid #e3ceb8;
}
.card:hover {
  box-shadow: 0 10px 36px #e3ceb855;
  transform: translateY(-4px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* =========================
   FEATURES / OFFER ICON LISTS
   ========================= */
.features ul, .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.features li, .content-wrapper li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  color: #423123;
  padding: 9px 0 8px 0px;
  border-left: 6px double var(--color-secondary);
  background: none;
}
.features li img,
.content-wrapper li img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
  flex-shrink: 0;
}
.content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 7px;
  padding-left: 13px;
  counter-reset: retrool;
}
.content-wrapper ol li {
  display: flex;
  align-items: flex-start;
  padding: 8px 0 8px 0px;
  color: #423123;
  border-left: 3px dashed var(--color-orange);
  background: none;
  counter-increment: retrool;
  position: relative;
}
.content-wrapper ol li::before {
  content: counter(retrool) '.';
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--color-orange);
  margin-right: 14px;
  font-size: 1.18em;
  position: absolute;
  left: -34px;
  top: 0;
  min-width: 24px;
}

/* =========================
   TESTIMONIAL CARDS
   ========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 2px 14px #89775d14;
  border: 2px dashed var(--color-secondary);
  margin-bottom: 20px;
  margin-top: 10px;
  max-width: 600px;
}
.testimonial-card p {
  margin: 0;
  color: #3a3029;
  font-size: 1rem;
}
.testimonial-card span {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-orange);
  font-size: 1rem;
  font-weight: 700;
}
@media (max-width: 660px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 9px;
  }
}

/* =========================
   MISCELLANEOUS COMPONENTS
   ========================= */
input, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border-radius: 8px;
  border: 2px solid #e3ceb8;
  background: #fff;
  margin-bottom: 18px;
}
input:focus, textarea:focus {
  border-color: var(--color-secondary);
  background: #fffde8;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2001;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 -4px 18px #00000025;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  gap: 26px;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: slideupBanner 0.6s cubic-bezier(.77,.74,.3,1.1);
}
@keyframes slideupBanner {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-consent-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  border-radius: 16px;
  padding: 9px 22px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 10px #76635212;
}
.cookie-btn.accept {
  background: var(--color-cta);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #a43e10;
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #485c3a;
  color: #f2e5ca;
}
.cookie-btn.settings {
  background: var(--color-highlight);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #ffe3b5;
  color: var(--color-orange);
}
@media(max-width:600px) {
  .cookie-consent-banner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
    padding: 14px 8px 16px 10px;
  }
  .cookie-consent-actions {
    gap: 7px;
    flex-wrap: wrap;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f161002;
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-light);
  border-radius: 22px;
  box-shadow: 0 4px 54px #71501d28;
  padding: 38px 40px 26px 36px;
  min-width: 330px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: fadeCookieModalIn 0.38s cubic-bezier(.82,1.89,.57,1.01);
}
@keyframes fadeCookieModalIn {
  from { transform: scale(.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  border:none;
  margin-bottom: 0px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 0 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type=checkbox]{
  accent-color: var(--color-secondary);
  width: 1.2rem;
  height: 1.2rem;
}
.cookie-category.essential {
  font-weight: 700;
}
.cookie-category .badge {
  background: var(--color-orange);
  color: #fff;
  border-radius: 9px;
  font-size: .84rem;
  padding: 0 7px;
  margin-left: 4px;
}
.cookie-modal .cookie-modal-actions{
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
@media(max-width:435px){
  .cookie-modal {
    padding: 13px 7px 17px 10px;
    min-width: 0;
  }
}

/* =========================
   RETRO ELEMENTS & CLASSIC TOUCHES
   ========================= */
hr {
  border: none;
  border-bottom: 3px dotted var(--color-secondary);
  margin: 32px 0 32px 0;
}

/* Code, Blockquote for Retro stylings */
blockquote {
  font-family: 'Montserrat', sans-serif;
  padding: 20px 30px;
  margin: 28px 0;
  background: #fbeecc;
  border-left: 7px solid var(--color-primary);
  border-radius: 15px;
  color: #46403b;
  font-style: italic;
  font-size: 1.08rem;
}
code {
  font-family: 'Roboto Mono', monospace;
  background: #fbeecc;
  border-radius: 6px;
  padding: 1px 5px;
  color: #7a4a13;
}

/* =========================
   RETRO MICRO-ANIMATIONS
   ========================= */
a, button, .cta-button, .cookie-btn, .main-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, transform .18s;
}

.card, .testimonial-card, .text-section {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 36px #d6be8c33;
  transform: translateY(-2px) scale(1.02);
}

/* =========================
   RESPONSIVE TYPOGRAPHY & FLEX ADJUSTMENTS
   ========================= */
@media (max-width: 1080px) {
  .container {
    max-width: 97vw;
    padding: 0 6px;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.13rem;
    padding-bottom: 1px;
  }
  .container {
    max-width: 99vw;
  }
}
@media (max-width:430px){
  h1 {
    font-size: 1.05rem;
  }
  h2 {
    font-size: 1rem;
  }
}

/* =========================
   RETRO-BUTTONS (EXTRA)
   ========================= */
.button--retro {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.09rem;
  background: var(--color-secondary);
  color: #fff;
  border: 2.5px solid var(--color-primary);
  border-radius: 8px;
  padding: 7px 18px;
  margin-top: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px #b6874819;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.button--retro:hover, .button--retro:focus {
  background: var(--color-orange);
  color: var(--color-accent);
  border-color: var(--color-orange);
}

/* =========================
   PRINT & SELECTION
   ========================= */
::selection {
  background: var(--color-highlight);
  color: #32241a;
}

/* =========================
   RETRO DECORATIVE ELEMENTS (OPTIONAL, ICON-LIKE)
   ========================= */
.retro-dec {
  position: absolute;
  pointer-events: none;
  opacity: 0.11;
  z-index: 1;
  left: 0; bottom: 0;
}

/* =========================
   ACCESSIBILITY FIXES
   ========================= */
[tabindex]:focus {
  outline: 2px dashed var(--color-orange) !important;
  outline-offset: 3px;
}

/* =========================
   END OF FROSTED SHARD RETRO CSS
   ========================= */
