/* --------------------
  CSS RESET & BASELINE
-------------------- */
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,
b, 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAF7F2;
  color: #2E3832;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #FAF7F2;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}
ul, ol {
  list-style: none;
}
img {
  border:0;
  max-width:100%;
  height:auto;
  vertical-align: middle;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background .18s, color .18s;
}

/* ----------------------
   VINTAGE RETRO COLORS 
------------------------- */
:root {
  --color-primary: #225168;
  --color-secondary: #067857;
  --color-accent: #F5F3EE;
  --color-bg: #FAF7F2;
  --color-dark: #2E3832;
  --color-light: #FFF8E6;
  --color-shadow: rgba(45,48,48,.07);
  --color-button: #E1CF92;
  --color-button-hover: #dac374;
  --color-warning: #C47A38;
  --color-border: #DED8C2;
  --color-retro-orange: #C47A38;
  --color-retro-blue: #388087;
  --color-retro-yellow: #E1CF92;
}

/* ------------
   TYPOGRAPHY  Vintage/Retro
-------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6, .brand-tagline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  letter-spacing: 0.007em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  font-weight: 900;
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 #E1CF92;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #E1CF92;
}
h3 {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 12px;
}
p, li, span, strong, em {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
}
p.subtitle {
  font-size: 1.20rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 26px;
  letter-spacing: 0.03em;
}
.brand-tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-retro-orange);
  border-left: 6px solid var(--color-retro-yellow);
  padding-left: 16px;
  margin: 30px 0 10px 0;
  background: transparent;
  display: inline-block;
}

/* -------------
   BUTTONS CTA
--------------- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border-radius: 28px;
  font-weight: bold;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  text-shadow: none;
  border: 2px solid var(--color-retro-orange);
  margin-top: 22px;
  transition: background .22s, box-shadow .22s, color .22s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-retro-orange);
  color: #fff;
  box-shadow: 0 4px 12px 0 var(--color-retro-orange);
}
.cta-secondary {
  background: #fff;
  color: var(--color-secondary);
  border: 2px dashed var(--color-secondary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
  border-style: solid;
}


/* -------------------------
    FLEXBOX LAYOUT CLASSES
------------------------- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF8E6;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-accent);
  border-radius: 14px;
  padding: 28px 18px;
  box-shadow: 0 1px 6px 0 var(--color-shadow);
  border: 2px solid var(--color-border);
  min-width: 250px;
  max-width: 330px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fffbe8;
  border: 2px solid var(--color-retro-yellow);
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  font-style: italic;
  color: var(--color-dark);
  flex-direction: column;
  max-width: 500px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--color-dark);
}
.testimonial-card span {
  font-weight: bold;
  font-size: 0.96rem;
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 0 20px 0;
}
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.categories-list strong {
  color: var(--color-retro-orange);
}
.categories-list span {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border-radius: 9px;
  padding: 4px 12px;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
/* --------------
   NAVIGATION
---------------- */
header {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  z-index: 40;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 18px;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}
.main-nav img {
  height: 50px;
  width: auto;
  margin-right: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  padding: 8px 17px;
  border-radius: 16px;
  font-weight: 500;
  font-size: 1rem;
  transition: background .16s, color .16s;
}
.main-nav a:not(.cta-primary):hover {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
}
.main-nav .cta-primary {
  margin-left: auto;
}

/* MOBILE NAV MENU (BURGER) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2em;
  border-radius: 8px;
  padding: 6px 12px;
  margin: 10px 16px 10px auto;
  z-index: 101;
  box-shadow: 0 1px 4px 0 var(--color-shadow);
  transition: background 0.19s, color 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-retro-yellow);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.68,-0.28,.27,1.17);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 19px 18px 10px auto;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: none;
  border-radius: 8px;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-retro-orange);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  width: 100%;
  padding: 24px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--color-primary);
  padding: 16px 0 16px 10px;
  border-bottom: 1px solid var(--color-border);
  border-radius: 6px;
  transition: background .15s, color .14s;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-retro-orange);
  color: #fff;
}

/* Hide nav on mobile */
@media (max-width: 900px) {
  .main-nav a:not(.cta-primary),
  .main-nav img,
  .main-nav .cta-primary {
    display: none;
  }
  .main-nav {
    flex-wrap: nowrap;
    min-height: 56px;
    padding-right: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --------------
   FOOTER
--------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
  padding: 28px 0 0 0;
  margin-top: 36px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px 10px 18px;
  border-top: 5px dotted var(--color-retro-yellow);
  min-height: 120px;
}
.footer-wrapper img {
  height: 48px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.footer-nav a {
  color: var(--color-retro-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 0 0 4px 0;
  transition: color .15s, text-decoration .15s;
  border-bottom: 1px dashed var(--color-retro-yellow);
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline wavy var(--color-retro-orange);
  border-bottom: 1px solid #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 11px;
  font-size: 0.97rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-retro-yellow);
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
@media (max-width: 768px){
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 10px 10px 10px;
  }
}

/* -----------
   LISTS
------------ */
ul, ol {
  margin-left: 0;
}
ul li, ol li {
  font-size: 1.04rem;
  line-height: 1.64;
  margin-bottom: 12px;
  position: relative;
  padding-left: 34px;
}
ul li img, ol li img {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
ul.feature-list, ol.feature-list {
  padding-left: 0;
}
ul.feature-list li::before {
  content: '\2605 ';
  color: var(--color-retro-orange);
  font-size: 1.35rem;
  position: absolute;
  left: 0;
  top: 0;
}


/* -------------------------------------------------
  RESPONSIVE FLEX CHANGES & TEXT-IMAGE SECTION
-------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section, main section {
    padding: 25px 5px;
    margin-bottom: 34px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {
    padding: 15px;
    font-size: 1rem;
    max-width: 100%;
  }
}

/* ---------------
   CARD EFFECTS
----------------- */
.card, .testimonial-card {
  box-shadow: 0 2px 10px 1px var(--color-shadow);
  transition: box-shadow .21s, transform .19s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 20px 2px var(--color-retro-orange);
  transform: translateY(-7px) scale(1.025);
  z-index: 5;
}

/* ---------------
    SPACING
----------------- */
h1, h2, h3{
  margin-top: 0;
}
p, ul, ol {
  margin-bottom: 18px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
.section > .container, .section > div.container {
  padding-top: 0;
  padding-bottom: 0;
}

/* -------------
 ACCESSIBILITY
-------------- */
a:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid var(--color-retro-blue);
  outline-offset: 1px;
}

/* ------------------
 COOKIE CONSENT BANNER
-------------------- */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  background: #fffbe8;
  color: var(--color-dark);
  border: 2.5px solid var(--color-retro-yellow);
  border-radius: 22px;
  box-shadow: 0 4px 18px 1px var(--color-shadow);
  z-index: 10000;
  padding: 32px 18px 20px 18px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  animation: bannerIn .6s cubic-bezier(.22,1.15,.36,1.15);
}
@keyframes bannerIn {
  from { transform: translateY(90px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-banner-text {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.cookie-btn {
  padding: 10px 23px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: 2px solid var(--color-retro-orange);
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  box-shadow: 0 2px 6px 0 var(--color-shadow);
  transition: background .15s, color .13s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-retro-orange);
  border-color: var(--color-retro-orange);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-retro-orange);
  color: #fff;
}
.cookie-btn.settings {
  border-style: dashed;
  background: #fff;
  color: var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-retro-yellow);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 20005;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,24,18,.40);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: overlayIn .35s cubic-bezier(.22,1.3,.36,1.27);
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe8;
  border: 3.5px solid var(--color-retro-yellow);
  border-radius: 20px;
  box-shadow: 0 8px 32px 3px var(--color-shadow);
  max-width: 480px;
  width: 95%;
  padding: 32px 25px 24px 25px;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn .39s cubic-bezier(.8,.2,.2,1.2);
}
@keyframes cookieModalIn {
  from {transform: scale(.85);opacity:0;}
  to {transform: scale(1);opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.34rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 14px;
  text-shadow: none;
}
.cookie-modal .category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .category input[type="checkbox"] {
  accent-color: var(--color-retro-orange);
  width: 22px; height: 22px;
}
.cookie-modal .category.essential label {
  font-style: italic;
  color: var(--color-secondary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 8px;
}


/* -----------------
   MICRO-INTERACTIONS
-------------------- */
a, button, .cta-primary, .cta-secondary, .cookie-btn {
  transition: background .14s, color .17s, border .18s, box-shadow .22s, transform .14s;
}
.card:hover, .cta-primary:hover, .cta-secondary:hover {
  transform: translateY(-2px) scale(1.015);
}

/* -------------
   MISC CLASSES
-------------- */
::-webkit-scrollbar {
  width:10px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-retro-yellow);
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #fffbe8;
  border-radius:10px;
}

/* -------------
   MISC/UTILITY
-------------- */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.d-flex {
  display: flex;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.gap-12 { gap: 12px; } .gap-24 { gap: 24px; }

/* TABLES, CODE, ETC retro style */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: #fffbe8;
  border: 2px solid var(--color-retro-yellow);
  border-radius: 10px;
  margin-bottom: 20px;
}
th, td {
  padding: 12px 9px;
  border-bottom: 1px solid var(--color-border);
  font-family: 'Roboto', sans-serif;
}
th {
  text-align: left;
  background: var(--color-retro-yellow);
  color: var(--color-primary);
}

code, pre {
  background: #ededed;
  color: var(--color-secondary);
  border-radius: 4px;
  font-family: 'Roboto Mono', monospace;
  padding: 2px 6px;
}

/* -------------
 VINTAGE NOSTALGIA DECOR-ELEMENTS
-------------- */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -20px;
  top: 24px;
  width: 16px; height: 80px;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg,#E1CF92 0 12px,#FFF8E6 12px 22px);
  z-index: 0;
  opacity: 0.44;
}
.section:first-child:before {
  display: none;
}
.section {
  overflow: hidden;
}

@media (max-width: 500px) {
  .section:before {
    left: -12px;
    width: 6px;
    height: 40px;
    top: 16px;
  }
}

/* -------------
   PRINT/SELECT
-------------- */
::selection {
  background: var(--color-retro-yellow);
  color: var(--color-secondary);
}

/* -------------
   THANK YOU
-------------- */
@media (max-width: 480px) {
  h1 { font-size: 1.64rem; }
  h2 { font-size: 1.27rem; }
  .cta-primary, .cta-secondary { min-width: 0; font-size: 1rem; padding: 12px 16px; }
}
