/* ===== CSS RESET & NORMALIZE (Mobile First) ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  background: none;
}
body {
  min-height: 100vh;
  background: #F5F3EB;
  color: #2B3036;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #21506A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #B05B00;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
ul, ol {
  list-style: none;
}

/* ===== VINTAGE RETRO COLOR PALETTE ===== */
:root {
  --color-primary: #21506A;
  --color-secondary: #F5F3EB;
  --color-accent: #B05B00;
  --color-accent-bright: #DF8424;
  --color-cream: #FAF3DF;
  --color-brown: #967054;
  --color-yellow: #FFC66A;
  --color-blue-faded: #A0BCC2;
  --color-dark: #191815;
  --color-offblack: #212121;
  --color-white: #fff;
}

/* ===== FONTS – VINTAGE RETRO ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  text-shadow: 1px 1px 0 #F9E4C5, 2px 2px 0 var(--color-accent);
  letter-spacing: 0.014em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.24;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.12rem;
}
p, ul, ol, li {
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--color-accent);
}

/* ===== LAYOUT CLASSES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 #e6dfc7;
  padding: 32px 20px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.text-section {
  background: var(--color-cream);
  border: 2px dashed var(--color-accent);
  font-size: 1.07em;
  box-shadow: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 3px 17px -3px #DDB47A;
  margin-bottom: 20px;
  padding: 22px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-yellow);
  border-radius: 19px;
  box-shadow: 0 2px 8px 0 #C8BC88;
  margin-bottom: 20px;
  border: 2px solid var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-dark);
}
.testimonial-card p {
  font-size: 1.08em;
  font-style: italic;
  color: var(--color-offblack);
}
.testimonial-card strong {
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 24px 0 8px 0;
}
.feature-grid > div {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 #D5C6A0;
  padding: 30px 18px 24px 18px;
  max-width: 280px;
  min-width: 180px;
  flex: 1 1 222px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 2px solid #FAF3DF;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 26px -3px #E9B571;
  transform: translateY(-4px) scale(1.03);
  border-color: var(--color-accent);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(2px 2px 0 #DF8424) drop-shadow(-1px -1px 0 #EEC873);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 13px;
  align-items: center;
  justify-content: center;
}
footer p {
  color: var(--color-brown);
  font-size: 0.97em;
}


/* ===== BUTTONS & LINKS (VINTAGE RETRO) ===== */
.cta-button {
  background: var(--color-accent);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-size: 1.12em;
  padding: 16px 36px;
  border-radius: 36px;
  border: 2.5px solid var(--color-primary);
  box-shadow: 0 2px 8px #E9B571;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 8px;
  transition: background 0.16s, color 0.19s, box-shadow 0.17s, transform 0.16s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-yellow);
  box-shadow: 0 6px 18px #B05B0077;
  outline: 2.5px solid var(--color-accent-bright);
  transform: scale(1.03);
}
.main-navigation a {
  padding: 9px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1em;
  transition: background 0.14s, color 0.14s;
}
.main-navigation a:hover, .main-navigation a:focus, .footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.footer-nav a {
  color: var(--color-brown);
  font-size: 0.98em;
  padding: 6px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.18s, color 0.16s;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-cream);
  border-bottom: 4px solid var(--color-accent);
  box-shadow: 0 4px 16px #F9E4C533;
  position: sticky;
  top: 0;
  z-index: 80;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  position: relative;
  justify-content: flex-start;
}
.main-navigation img {
  height: 46px;
  width: auto;
  margin-right: 16px;
  flex-shrink: 0;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 120;
  box-shadow: 0 2px 10px #B05B0033;
  border: 2px solid var(--color-primary);
  transition: background 0.2s, color 0.18s;
  display: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-yellow);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 94vw;
  height: 100vh;
  background: #fff5e2;
  box-shadow: -3px 0 22px #E9B57199;
  transform: translateX(100%);
  transition: transform 0.27s cubic-bezier(.81,.01,.41,.9), box-shadow 0.15s;
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 18px 0 0;
  font-size: 2.1rem;
  background: var(--color-primary);
  border-radius: 50%;
  padding: 7px 12px;
  color: #FFF;
  border: 2.3px solid var(--color-accent-bright);
  transition: background .19s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-yellow);
}
.mobile-nav {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 30px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
  font-weight: 700;
  padding: 13px 7px;
  border-bottom: 2px dashed #DF8424;
  width: fit-content;
  border-radius: 8px;
  transition: color 0.12s, background 0.11s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--color-accent);
}

/* Hide Mobile Menu/Show Button on Mobile */
@media (max-width: 980px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-navigation {
    display: flex;
  }
}

/* ===== GENERAL ELEMENTS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
ul li, ol li {
  padding-left: 2.1em;
  position: relative;
  margin-bottom: 13px;
  color: var(--color-dark);
}
ul li img, ol li img {
  position: absolute;
  left: 0;
  top: 2px;
  width: 1.14em;
  height: 1.14em;
  vertical-align: middle;
  filter: drop-shadow(1px 1px 0 #B05B00);
}

/* ===== RETRO DETAILS & ELEMENTS ===== */
section, .content-wrapper, .feature-grid > div, .testimonial-card, .card {
  border-radius: 18px;
}
section {
  background: repeating-linear-gradient(105deg, #FAF3DF 0px, #FAF3DF 20px, #F5F3EB 20px, #F5F3EB 66px);
  border: 3.7px double var(--color-accent);
  box-shadow: 0 6px 22px #F1E1BE88;
}
.content-wrapper {
  border: 2.5px solid var(--color-primary);
}
.text-section {
  border-style: dashed;
}


/* ===== RETRO SHADOWS ===== */
.card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 9px 28px -7px #AB905E33, 0 1.5px 9.5px #efe2ce66;
}

/* ===== ANIMATIONS ===== */
.cta-button, .feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.18s, transform 0.13s, border-color 0.13s, background 0.17s, color 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 42px 0 #B05B0042, 0 1.5px 11.5px #dac08344;
  background: #FFF5E0;
  transform: scale(1.01);
  border-color: var(--color-accent-bright);
}

/* ===== TYPOGRAPHY HIERARCHY ===== */
@media (min-width: 580px) {
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.18rem; }
  h3 { font-size: 1.33rem; }
}
@media (min-width: 1000px) {
  h1 { font-size: 3.7rem; }
  h2 { font-size: 2.6rem; }
  h3 { font-size: 1.5rem; }
}

/* ===== RESPONSIVE FLEXBOX ===== */
@media (max-width: 850px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 40px;
    padding: 18px 7px;
  }
  .content-wrapper {
    padding: 20px 7px;
  }
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-navigation {
    flex-direction: column;
    gap: 10px;
    padding: 9px 0 13px 0;
  }
}

/* ===== CARDS ===== */
.card {
  border: 2.5px solid var(--color-brown);
  max-width: 390px;
}

/* ===== TESTIMONIAL CONTRAST ===== */
.testimonial-card {
  background: var(--color-yellow);
  color: var(--color-dark);
  border: 2.3px solid var(--color-primary);
}
.testimonial-card p {
  color: var(--color-offblack);
}
.testimonial-card strong {
  color: var(--color-primary);
}


/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-cream);
  box-shadow: 0 -4px 19px #D2AE7075;
  padding: 19px 18px 19px;
  animation: cookie-fadein 0.7s cubic-bezier(.62,.12,.41,.94);
  border-top: 2.5px solid var(--color-accent);
}
@keyframes cookie-fadein {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner__message {
  text-align: center;
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 1.07em;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 19px;
  margin: 0 2px;
  font-size: 1.02em;
  box-shadow: 0 2px 10px #B05B0033;
  transition: background 0.15s, color 0.15s, transform .14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-yellow);
  outline: 2.5px solid var(--color-accent-bright);
  transform: scale(1.05);
}
.cookie-btn--settings {
  background: var(--color-primary);
  color: var(--color-yellow);
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: var(--color-accent-bright);
  color: #FFF;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33, 80, 106, 0.16);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal__box {
  background: #fff5e5;
  border-radius: 18px;
  box-shadow: 0 4px 36px #98682c6c;
  border: 2.7px solid var(--color-accent);
  max-width: 412px;
  width: 99vw;
  padding: 34px 28px 24px;
  color: var(--color-primary);
  position: relative;
  animation: cookie-popup 0.35s cubic-bezier(.7,.01,.41,.98);
  display: flex;
  flex-direction: column;
  gap: 17px;
}
@keyframes cookie-popup {
  0% { transform: scale(.93); opacity: 0; }
  100%{ transform: scale(1); opacity: 1; }
}
.cookie-modal__close {
  border: none;
  position: absolute;
  top: 13px;
  right: 18px;
  font-size: 1.8em;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-accent-bright);
  color: #fffbe2;
}
.cookie-modal__box h2 {
  font-size: 1.25em;
  margin-bottom: 8px;
}
.cookie-modal__settings-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1.5px dashed var(--color-accent);
}
.cookie-modal__category:last-child {
  border: none;
}
.cookie-modal__category span {
  font-size: 1em;
}
.cookie-modal__toggle {
  width: 39px; height: 22px;
  background: #DFDBBF;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.15s;
}
.cookie-modal__toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-modal__toggle .slider {
  position: absolute;
  top: 1.7px; left: 2px;
  width: 18px; height: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: left 0.13s, background 0.14s;
  box-shadow: 0 1px 2px #c48a3f66;
}
.cookie-modal__toggle input:checked + .slider {
  left: 19px;
  background: var(--color-primary);
}
.cookie-modal__category--essential .cookie-modal__toggle {
  pointer-events: none;
  opacity: 0.6;
}

/* ===== MISC RETRO ELEMENTS & UTILITIES ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #eee3c0;
}
::-webkit-scrollbar-thumb {
  background: #B05B00;
  border-radius: 5px;
}

/* Retro border for highlights */
.highlight {
  border: 2.5px solid var(--color-accent-bright);
  background: var(--color-yellow);
  padding: 7px 18px;
  border-radius: 11px;
  color: var(--color-primary);
  font-weight: 700;
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 13px;
}

hr {
  border: 0;
  border-top: 2.5px dashed var(--color-brown);
  margin: 32px 0;
}

/* ===== ACCESSIBILITY & VISUAL FOCUS ===== */
:focus {
  outline: 2.5px dashed var(--color-primary);
  outline-offset: 3px;
}

/* ===== PRINT & SELECTION ===== */
::selection {
  background: #B05B00;
  color: #fffbe5;
}

/* ===== PAGE SPACING ADJUSTMENTS ===== */
main {
  padding-bottom: 84px;
}
@media (max-width: 768px) {
  main {
    padding-bottom: 115px;
  }
}

/* ===== END ===== */
