/* RESET/NORMALIZE - MOBILE FIRST */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F1ED;
  color: #3D3427;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #213967;
  text-decoration: none;
  transition: color 0.16s;
}
a:focus, a:hover {
  color: #B35A31;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

/* VINTAGE RETRO BRAND PALETTE */
:root {
  --color-primary: #213967;    /* Deep navy */
  --color-secondary: #1CBD9A;  /* Minty green */
  --color-accent: #F4F1ED;     /* Linen off-white */
  /* Retro/vintage accent colors */
  --color-retro-yellow: #FFCD38;
  --color-retro-red: #B35A31;
  --color-retro-teal: #4CA8A1;
  --color-dark-text: #3D3427;
  --color-muted: #F6E3C5;
  --color-muted-bg: #EADBC8;
  --color-border: #E5DBC2;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-retro-red);
}
h4 {
  font-size: 1.1rem;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-dark-text);
}
strong {
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 5px 24px 0 rgba(67,42,21,0.07);
  border: 1px solid var(--color-border);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 40px;
    border-radius: 11px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEXBOX GRIDS AND PATTERNS */
.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--color-muted);
  border-radius: 16px;
  box-shadow: 0 2px 13px 0 rgba(67,42,21,0.06);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.17s;
  border: 1.5px solid var(--color-border);
  padding: 28px 22px 22px;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(67,42,21,0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.content-grid {
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff8ea;
  border-radius: 18px;
  box-shadow: 0 3px 15px 0 rgba(33,57,103,0.10);
  border: 1.5px solid var(--color-retro-yellow);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 580px;
  margin-right: auto;
  margin-left: auto;
  transition: transform 0.22s, box-shadow 0.22s;
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 8px 40px 0 rgba(33,57,103,0.19);
}
.testimonial-card p {
  color: var(--color-dark-text);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-retro-red);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-section {
  background: var(--color-muted-bg);
  border-left: 6px solid var(--color-retro-teal);
  padding: 18px 18px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px 0 rgba(33,57,103,0.05);
}

@media (max-width: 600px) {
  .testimonial-card, .card {
    padding: 16px 8px 13px;
    border-radius: 10px;
  }
  .feature-grid, .content-grid {
    gap: 10px;
  }
}

/* HEADER AND NAV */
header {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(33,57,103,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 73px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav img {
  height: 41px;
  margin-right: 24px;
}
nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 8px 13px;
  border-radius: 7px;
  transition: background 0.14s, color 0.13s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
}
nav .cta-btn {
  background: var(--color-retro-red);
  color: #fff;
  padding: 10px 23px;
  font-size: 1.04rem;
  margin-left: 15px;
  letter-spacing: 0.025em;
  box-shadow: 0 2px 12px 0 rgba(179,90,49,0.08);
  border-radius: 99px;
  border: 2.5px solid var(--color-retro-red);
  transition: background 0.18s, color 0.17s, border 0.18s;
}
nav .cta-btn:hover, nav .cta-btn:focus {
  background: #fff;
  color: var(--color-retro-red);
  border: 2.5px solid var(--color-retro-red);
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #fff;
  background: var(--color-retro-red);
  border: none;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 30;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-retro-yellow);
  color: var(--color-retro-red);
}
@media (max-width: 1024px) {
  nav a:not(.cta-btn) {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: var(--color-retro-yellow);
  color: var(--color-retro-red);
  font-size: 2rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  border: none;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-retro-red);
  color: #fff;
}
.mobile-nav {
  margin-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 16px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  width: 100%;
  transition: background 0.16s, color 0.16s;
  border-radius: 2px;
  outline: none;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN BUTTONS */
.cta-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 12px 33px;
  border-radius: 99px;
  border: 3px solid var(--color-secondary);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-top: 12px;
  box-shadow: 0 2px 12px 0 rgba(28, 189, 154, 0.09);
  transition: background 0.14s, color 0.14s, border 0.15s, transform 0.13s;
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.cta-btn:focus, .cta-btn:hover {
  background: #fff;
  color: var(--color-secondary);
  border: 3px solid var(--color-secondary);
  transform: translateY(-1px) scale(1.03);
}

/* CARDS AND FEATURE ITEMS */
.feature-grid > div {
  background: var(--color-muted);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(33,57,103,0.08);
  border: 1.2px solid var(--color-retro-teal);
  flex: 1 1 280px;
  min-width: 230px;
  padding: 20px 18px 14px;
  margin-bottom: 16px;
  transition: box-shadow 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px 0 rgba(76,168,161,0.13);
}
.feature-grid img {
  height: 56px;
  width: 56px;
  margin-bottom: 16px;
}
.feature-grid h3 {
  font-size: 1.07rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 900;
}
.feature-grid p {
  font-size: 0.97rem;
}

/* ICON LISTS */
ul li > img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 44px 0 28px;
  font-size: 1rem;
}
footer .container {
  width: 100%;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
footer .content-wrapper > div {
  min-width: 220px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
footer nav a {
  color: var(--color-retro-yellow);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
footer img {
  height: 42px;
  margin-bottom: 9px;
}
footer p, footer a {
  color: #fff;
  opacity: 0.93;
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer nav {
    align-items: flex-start;
    gap: 9px;
    margin-top: 12px;
  }
}

/* RETRO/NOSTALGIC ELEMENTS */
.section {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent) 48px,
    var(--color-muted) 48px,
    var(--color-muted) 64px
  );
  overflow: hidden;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -15px;
  bottom: 0;
  width: 55px;
  height: 55px;
  z-index: 2;
  background: radial-gradient(circle at 40% 40%, var(--color-retro-yellow) 73%,transparent 100%);
  opacity: 0.13;
  pointer-events: none;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -16px;
  top: 0;
  width: 39px;
  height: 39px;
  background: radial-gradient(circle at 50% 50%, var(--color-retro-teal) 75%,transparent 105%);
  opacity: 0.15;
  z-index: 2;
  pointer-events: none;
}

/* VINTAGE DETAILS */
.card, .feature-grid > div, .testimonial-card, .text-section {
  border-radius: 12px;
  border-style: solid;
  border-width: 2px;
  border-color: var(--color-border);
  box-shadow: 0 3px 12px 0 rgba(67,42,21,0.03), 0 1.5px 0.5px 0 rgba(255,205,56,0.07);
  position: relative;
  background-clip: padding-box;
}
.card::before, .feature-grid > div::before {
  content: '';
  position: absolute;
  top: -1.3em;
  right: 19px;
  width: 32px;
  height: 8px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(90deg, var(--color-retro-yellow) 13px, var(--color-retro-red) 100%);
  opacity: 0.29;
  z-index: 2;
  pointer-events: none;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
a, .cta-btn, .card, .feature-grid > div, .testimonial-card, .mobile-menu, .mobile-menu-close {
  transition: all 0.20s cubic-bezier(.22,.61,.36,1);
}

/* FORMS (for newsletter, etc.) */
input, textarea {
  padding: 11px 15px;
  border-radius: 7px;
  border: 1.5px solid var(--color-retro-teal);
  font-size: 1rem;
  margin-bottom: 14px;
}
input:focus, textarea:focus {
  border-color: var(--color-retro-yellow);
  outline: none;
  background: #fffbe7;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fff7e2;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 22px 16px;
  box-shadow: 0 -4px 30px 0 rgba(33,57,103,0.08);
  border-top: 2.5px solid var(--color-retro-yellow);
  animation: cookie-in 0.45s cubic-bezier(.16,.72,.38,1) 1;
}
@keyframes cookie-in {from{transform: translateY(80%);} to{transform: translateY(0);}}
.cookie-banner p {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  line-height: 1.5;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.cookie-banner button, .cookie-banner .cookie-settings-open {
  padding: 8px 18px;
  border-radius: 24px;
  border: 2px solid var(--color-retro-yellow);
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-right: 3px;
  font-size: 1rem;
  transition: background 0.15s, color 0.14s, border 0.15s;
}
.cookie-banner .cookie-btns button:last-child {
  margin-right: 0;
}
.cookie-banner button.accept {
  background: var(--color-secondary);
  color: #fff;
  border: 2px solid var(--color-secondary);
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #fff;
  color: var(--color-secondary);
}
.cookie-banner button.reject {
  background: var(--color-retro-red);
  color: #fff;
  border: 2px solid var(--color-retro-red);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #fff;
  color: var(--color-retro-red);
}
.cookie-banner .cookie-settings-open {
  background: #fff;
  color: var(--color-retro-teal);
  border: 2px solid var(--color-retro-teal);
}
.cookie-banner .cookie-settings-open:hover, .cookie-banner .cookie-settings-open:focus {
  background: var(--color-retro-teal);
  color: #fff;
}

/* COOKIE POPUP MODAL */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 97vw;
  max-width: 400px;
  background: #fff7ee;
  color: var(--color-primary);
  border: 2.5px solid var(--color-retro-yellow);
  border-radius: 16px;
  box-shadow: 0 5px 60px 0 rgba(33,57,103,0.19);
  padding: 30px 22px 18px;
  z-index: 1601;
  transform: translate(-50%, -55%) scale(1);
  animation: pop-in .37s cubic-bezier(.29,1.2,.5,1) 1;
}
@keyframes pop-in {from{transform: translate(-50%, -30%) scale(0.7); opacity:0;}to{transform: translate(-50%, -55%) scale(1); opacity:1;}}
.cookie-modal h3 {
  color: var(--color-retro-red);
  margin-bottom: 15px;
}
.cookie-modal ul {
  margin: 0 0 12px 0;
  padding: 0;
}
.cookie-modal li {
  font-size: 1.01rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal label {
  margin-left: 7px;
}
.cookie-modal-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #eee5d6;
  border: 1.5px solid var(--color-retro-teal);
  border-radius: 11px;
  transition: background 0.13s;
  position: relative;
  margin-left: 16px;
  cursor: pointer;
}
.cookie-modal-toggle:checked {
  background: var(--color-secondary);
}
.cookie-modal-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 3px 0 rgba(33,57,103,0.10);
  transition: left 0.13s, background 0.13s;
}
.cookie-modal-toggle:checked::after {
  left: 19px;
  background: var(--color-retro-yellow);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  background: var(--color-retro-yellow);
  color: var(--color-retro-red);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--color-retro-red);
  color: #fff;
}
.cookie-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(33,57,103,0.23);
  z-index: 1600;
  animation: fadein-bg 0.35s;
}
@keyframes fadein-bg {from{opacity:0;}to{opacity:1;}}

/* RETRO COLOR BULLETS (for lists) */
ul li::before, ol li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 11px;
  background: var(--color-retro-red);
  border-radius: 50%;
  vertical-align: middle;
  opacity: 0.75;
}
ul li.important::before {
  background: var(--color-retro-yellow);
}

/* General spacing and alignment - Ensure no overlap, all flex gap used */
section + section {
  margin-top: 32px;
}
.content-wrapper > * + * {
  margin-top: 14px;
}

/* Responsive Typography */
@media (max-width: 600px) {
  h1 {
    font-size: 1.75rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.23rem;
  }
}

/* Hide on mobile utility */
.hide-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Miscellaneous readable color for testimonials/review sections */
.testimonial-card {
  background: #fff8ea;
  color: #222;
}

/* Accessibility - Focus Styles */
a:focus-visible, button:focus-visible {
  outline: 3px dashed var(--color-retro-red);
  outline-offset: 3px;
}

/* Scrollbar styling (subtle, retro) */
::-webkit-scrollbar {width: 8px; background: #F4F1ED;}
::-webkit-scrollbar-thumb {background: var(--color-retro-yellow); border-radius: 4px;}
::-webkit-scrollbar-thumb:hover {background: var(--color-retro-red);}

/* END */
