/* ==== CSS RESET & NORMALIZE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FFF8F2;
  color: #34281C;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
button, input, textarea, select {
  font-family: inherit;
}

/* ==== VINTAGE RETRO GLOBAL COLORS & TYPE ==== */
:root {
  --brand-primary: #234E52;
  --brand-secondary: #E0E6ED;
  --brand-accent: #49A078;
  --brand-retro-yellow: #FFD77A;
  --brand-retro-orange: #FFAA5C;
  --brand-retro-blue: #468189;
  --brand-brown: #34281C;
  --brand-cream: #FFF8F2;
  --brand-font-display: 'Montserrat', 'Arial Black', 'Arial', sans-serif;
  --brand-font-body: 'Open Sans', 'Verdana', sans-serif;
}

body {
  background-color: var(--brand-cream);
  color: var(--brand-brown);
  font-family: var(--brand-font-body);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--brand-font-display);
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.03em;
  text-shadow: 1px 2px 0 rgba(255,215,122,0.2);
  margin-bottom: 18px;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; margin-top: 24px; }
h3 { font-size: 1.3rem; margin-top: 18px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

.subheadline {
  font-family: var(--brand-font-display);
  color: var(--brand-retro-orange);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

p {
  margin-bottom: 16px;
}
strong {
  color: var(--brand-primary);
  font-weight: 700;
}

/* ==== GENERAL CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(52,40,28,0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 22px 7px;
    margin-bottom: 38px;
  }
}

/* ==== HEADER: Retro Nav & Burger ==== */
header {
  background: var(--brand-retro-yellow);
  border-bottom: 4px solid var(--brand-retro-blue);
  padding: 0 0 0 0;
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  max-height: 45px;
  filter: drop-shadow(0 4px 0px var(--brand-accent));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: var(--brand-font-display);
  font-size: 1.08rem;
  color: var(--brand-brown);
  background: none;
  padding: 9px 3px;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-retro-blue);
  border-bottom: 2px solid var(--brand-retro-blue);
}
.cta-btn.primary {
  background: var(--brand-retro-blue);
  color: #fff;
  font-family: var(--brand-font-display);
  font-weight: bold;
  padding: 9px 29px;
  border-radius: 100px;
  border: none;
  font-size: 1.07rem;
  letter-spacing: 0.06em;
  box-shadow: 2px 4px 0 var(--brand-retro-yellow);
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--brand-primary);
  color: var(--brand-retro-yellow);
  transform: translateY(-2px) scale(1.04);
}
.cta-btn.secondary {
  background: var(--brand-retro-yellow);
  color: var(--brand-brown);
  padding: 9px 23px;
  border-radius: 18px;
  font-family: var(--brand-font-display);
  font-size: 1.03rem;
  border: 2.5px solid var(--brand-retro-blue);
  box-shadow: 1px 2px 0 var(--brand-retro-blue);
  margin-top: 14px;
  cursor: pointer;
  transition: border 0.2s, background 0.2s, color 0.2s;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--brand-retro-blue);
  color: #fff;
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  background: var(--brand-retro-blue);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  padding: 8px 18px;
  border-radius: 12px;
  box-shadow: 1px 3px 0 var(--brand-accent);
  cursor: pointer;
  display: none;
  margin-left: 18px;
  transition: background 0.15s;
  z-index: 99;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-primary);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--brand-retro-yellow);
  box-shadow: 0 4px 100px #24242455;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(.63,-0.08,.33,1.18);
  transform: translateX(100vw);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--brand-retro-blue);
  margin: 18px 22px 0 0;
  cursor: pointer;
  padding: 7px;
  border-radius: 7px;
  transition: background 0.12s;
}
.mobile-menu-close:hover { background: #f4c87c; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-top: 38px;
}
.mobile-nav a {
  font-family: var(--brand-font-display);
  font-size: 1.33rem;
  color: var(--brand-brown);
  padding: 14px 24px;
  border-radius: 19px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-retro-blue);
  color: #fff;
}
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex; }
}

/* Overlay for mobile menu (optional) */
.mobile-menu::after {
  content: '';
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #00000088;
}

/* ==== HERO SECTION ==== */
.hero {
  background: var(--brand-retro-blue);
  color: #fff;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 14px 36px 0 rgba(52,40,28,0.06);
  margin-bottom: 60px;
  padding: 50px 0 40px 0;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
  text-shadow: 2px 2px 0 var(--brand-retro-yellow);
}
.hero .subheadline {
  color: var(--brand-retro-yellow);
}
.hero .cta-btn {
  margin-top: 22px;
}
@media (max-width: 768px) {
  .hero { padding: 30px 0 24px 0; }
}

/* ==== FEATURES, CARDS & CONTENT ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin: 30px 0;
}
.feature {
  background: #fffdfa;
  box-shadow: 0 2px 12px #ffecb4;
  border-radius: 17px;
  padding: 28px 18px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.22s, transform 0.17s;
}
.feature:hover, .feature:focus-within {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px #ffe2a5;
}
.feature img {
  height: 64px; margin-bottom: 16px;
  filter: contrast(1.08) saturate(0.8);
}
.feature h3 {
  color: var(--brand-retro-orange);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffdfa;
  border-radius: 23px;
  box-shadow: 0 4px 16px #b2a68821;
  margin-bottom: 20px;
  position: relative;
  padding: 26px 18px 22px 18px;
  flex: 1 1 310px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 16px 32px #efd5c5a1;
  transform: translateY(-5px) scale(1.025);
}

.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;
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.text-section {
  background: #fffdfa;
  padding: 19px 16px;
  border-radius: 14px;
  box-shadow: 0 2px 8px #ffecb471;
  margin-bottom: 18px;
}
.text-section ul {
  margin-top: 7px;
  padding-left: 19px;
  list-style-type: circle;
}
.text-section li {
  margin-bottom: 9px;
  font-size: 1.03rem;
}
.text-section strong {
  color: var(--brand-retro-blue);
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffdfa;
  border-radius: 17px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px #b2a68816;
  border-left: 7px solid var(--brand-retro-orange);
  font-style: italic;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  color: #32270c;
  font-size: 1.1rem;
  margin-bottom: 4px;
  line-height: 1.6;
  font-style: italic;
}
.testimonial-card span {
  color: var(--brand-retro-blue);
  font-family: var(--brand-font-display);
  font-size: 1.09rem;
  letter-spacing: 0.03em;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px #ffe2a5;
  border-left-color: var(--brand-retro-blue);
}

/* ==== FORMS & LISTS ==== */
ul {
  margin-bottom: 18px;
}
ul li {
  padding-left: 0px;
  margin-bottom: 6px;
  font-size: 1rem;
}

/* ==== FOOTER ==== */
footer {
  background: var(--brand-retro-blue);
  color: #fff;
  padding: 36px 0 22px;
  border-top: 5px solid var(--brand-retro-yellow);
  margin-top: 38px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-col {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 155px;
}
.footer-col img {
  max-height: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 0px var(--brand-retro-yellow));
}
.footer-nav {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 115px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--brand-font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-retro-yellow);
}
.footer-contact {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  min-width: 160px;
}
.footer-contact img {
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-social {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
}
.footer-social a img {
  filter: grayscale(0) brightness(1.07) drop-shadow(0 3px 1px #FFD77A44);
  transition: filter 0.2s;
  width: 31px;
  height: 31px;
}
.footer-social a:hover img {
  filter: none; filter: drop-shadow(0 3px 7px var(--brand-retro-yellow));
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3400;
  background: #fffdfa;
  color: #34281C;
  box-shadow: 0 -4px 36px #b2a6882f;
  border-top: 5px solid var(--brand-retro-yellow);
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: fadeInCookie 0.7s;
  font-size: 1rem;
}
@keyframes fadeInCookie { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cookie-btns .cookie-btn {
  font-family: var(--brand-font-display);
  font-size: 1rem;
  padding: 8px 18px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  margin-top: 0;
  box-shadow: 1px 2px 0 var(--brand-retro-blue);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner .accept {
  background: var(--brand-retro-blue);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--brand-primary); color: var(--brand-retro-yellow); }
.cookie-banner .reject {
  background: var(--brand-retro-orange);
  color: #fff;
}
.cookie-banner .reject:hover { background: #ea8830; }
.cookie-banner .settings {
  background: #eae3d3;
  color: var(--brand-brown);
  border: 1px solid #ccc6b0;
}
.cookie-banner .settings:hover { background: #fff0cd; }

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #34281c44;
  z-index: 9999;
  animation: fadeInCookie 0.4s;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 21px;
  box-shadow: 0 10px 44px #b2a6882e;
  padding: 34px 30px 22px 30px;
  min-width: 300px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 1rem;
  animation: fadeInCookie 0.43s;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: var(--brand-retro-blue);
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.08rem;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: var(--brand-retro-blue);
  font-size: 2.1rem;
  cursor: pointer;
  padding: 1px 6px;
  border-radius: 8px;
}
.cookie-modal .close-cookie-modal:hover {
  background: #ffecb4;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

.cookie-modal input[type='checkbox'] {
  appearance: none;
  width: 19px;
  height: 19px;
  border: 2px solid var(--brand-retro-blue);
  border-radius: 5px;
  background: #fffdfa;
  transition: background 0.13s;
  position: relative;
}
.cookie-modal input[type='checkbox']:checked {
  background: var(--brand-retro-blue);
}
.cookie-modal input[type='checkbox']:checked:after {
  content: '\2713';
  color: #fff;
  font-size: 1.1rem;
  position: absolute;
  left: 2px; top: -3px;
}
.cookie-modal label[disabled] {
  color: #9e9e9e;
}

@media (max-width: 600px) {
  .cookie-banner, .cookie-modal {
    padding-left: 10px; padding-right: 10px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: 95vw;
    max-width:98vw;
  }
}

/* ===== MISCELLANEOUS UTILITIES & DECOR ===== */
@media (max-width: 750px) {
  .container { padding: 0 6px; }
  .footer-contact, .footer-col, .footer-nav { min-width: unset; }
}

::-webkit-scrollbar {
  width: 10px; background: #fbecd2;
}
::-webkit-scrollbar-thumb {
  background: #ffd77a; border-radius: 6px;
}
::selection {
  background: #FFE2A5; color: #234E52;
}

/* ==== SPACING, GAPS & FLEXBOX LAYOUTS ==== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

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

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.cta-btn,
.card, .feature, .testimonial-card, .footer-social a img, .mobile-menu, .mobile-menu-toggle {
  transition: box-shadow 0.19s, transform 0.14s, color 0.19s, background 0.19s;
}
.cta-btn:active {
  transform: scale(0.97);
  filter: brightness(0.97);
}

/* ==== ACCESSIBILITY ==== */
:focus {
  outline: 2px dotted var(--brand-retro-blue);
  outline-offset: 2px;
}

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