/* RESET & BASE ---------------------------------------------------------*/
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,
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%; vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; }

/* VINTAGE RETRO COLOR PALETTE --------------------------------------------*/
:root {
  --brand-primary: #234C76;
  --brand-secondary: #F4B629;
  --brand-accent: #FFFFFF;
  --retro-cream: #F8F3E4;
  --retro-blue: #3B6383;
  --retro-orange: #F4B629;
  --retro-burgundy: #B84A39;
  --retro-mustard: #F4E285;
  --retro-green: #71996A;
  --retro-dark: #332821;
  --retro-border: #DDC488;
  --retro-gray: #EEE8DF;
  --retro-shadow: rgba(51,40,33,0.13);
  --testimonial-bg: #FFFBE9;
  --testimonial-text: #32281b;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--retro-cream);
  color: var(--retro-dark);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
/* Typography: VINTAGE LOOK */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: var(--brand-primary);
  text-transform: uppercase;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; text-shadow: 1px 2px 0 var(--retro-mustard); }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, address, blockquote, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* Containers and layout ------------------------------------*/
.container {
  max-width: 1080px;
  margin-left: auto;  margin-right: auto;
  padding-left: 20px; padding-right: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-gray);
  border-radius: 20px;
  box-shadow: 0 4px 18px var(--retro-shadow);
}

/* HEADER & NAV -----------------------------------------------------------*/
header {
  background: var(--retro-blue);
  color: #fff;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header a img {
  height: 40px;
  margin-right: 10px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.05rem;
  padding: 4px 4px;
  position: relative;
  transition: color .18s;
}
header nav a.cta {
  background: var(--retro-orange);
  color: var(--retro-dark);
  padding: 7px 24px;
  border-radius: 28px;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(36, 25, 13, .14);
  border: 3px solid var(--retro-border);
  transition: background .19s, color .19s, box-shadow .18s;
}
header nav a.cta:hover { background: var(--retro-mustard); color: var(--brand-primary); box-shadow: 0 4px 18px var(--retro-shadow); }
header nav a:hover {
  color: var(--retro-mustard);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--brand-secondary);
  background: transparent;
  border: none;
  margin-left: 12px;
  transition: color .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { color: var(--retro-mustard); }

/* MOBILE MENU ------------------------------------------------------------*/
.mobile-menu {
  position: fixed; z-index: 1003;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: var(--brand-primary);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 24px 24px 32px;
  gap: 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  color: var(--retro-orange);
  background: transparent;
  border: none;
  margin-bottom: 30px;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--retro-mustard); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  padding: 10px 0;
  font-size: 1.25rem;
  border-bottom: 1px dashed var(--brand-secondary);
  width: 100%;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover {
  background: var(--retro-mustard);
  color: var(--brand-primary);
  border-radius: 10px;
}
@media (max-width: 920px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 12px;
  }
}

/* HERO SECTION -----------------------------------------------------------*/
.hero {
  padding: 56px 0 32px 0;
  background: repeating-linear-gradient(
    135deg,
    var(--retro-cream) 0px, var(--retro-cream) 24px,
    var(--retro-mustard) 26px, var(--retro-mustard) 44px
  );
  border-bottom: 5px solid var(--brand-secondary);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.3rem;
  margin-bottom: 10px;
  text-shadow: 2px 3px 0 var(--brand-secondary);
}
.hero p { font-size: 1.15rem; max-width: 600px; color: var(--retro-dark); font-weight: 500; }
.hero .cta {
  margin-top: 8px;
}

/* FEATURES/GRID ----------------------------------------------------------*/
.features .content-wrapper {
  gap: 36px;
}
.feature-grid, .category-grid, .test-grid, .service-cards, .statistic-blocks, .tool-cards, .team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div,
.category-grid > div,
.test-grid > div,
.tool-cards > div,
.team-profiles > div,
.service-cards > div,
.statistic-blocks > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fffbe9;
  border: 2px solid var(--retro-border);
  box-shadow: 0 2px 8px var(--retro-shadow);
  border-radius: 16px;
  padding: 28px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .15s, transform .14s;
  position: relative;
}
.feature-grid > div:hover,
.category-grid > div:hover,
.service-cards > div:hover,
.test-grid > div:hover,
.tool-cards > div:hover,
.team-profiles > div:hover {
  box-shadow: 0 6px 24px var(--retro-shadow);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--brand-secondary);
}
.feature-grid img, .category-grid img, .test-grid img, .tool-cards img, .team-profiles img, .service-cards img {
  height: 44px; width: 44px; margin-bottom: 9px;
}

/* SECTION CARD CONTAINERS ------------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 9px var(--retro-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  border: 2px solid var(--retro-border);
  transition: box-shadow .14s, border-color .12s;
}
.card:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 6px 24px var(--retro-shadow);
}

/* Flex content grid ------------------------------------------------------*/
.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: 900px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--testimonial-bg);
  border-left: 6px solid var(--brand-secondary);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--retro-shadow);
  padding: 20px;
  margin-bottom: 20px;
  color: var(--testimonial-text);
  font-size: 1rem;
  max-width: 780px;
  transition: box-shadow .15s, border-color .14s;
}
.testimonial-card:hover {
  border-color: var(--retro-mustard);
  box-shadow: 0 4px 18px var(--retro-shadow);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-style: italic;
  line-height: 1.56;
  color: var(--testimonial-text);
  margin: 0 12px 0 0;
}
.testimonial-card span {
  color: var(--retro-burgundy);
  font-weight: 600;
  font-size: 1rem;
}

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

.values-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding-left: 0;
}
.values-list li {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-primary);
}
.values-list img { height: 24px; width: 24px; }

/* ARTICLE AND UTILITY LISTS -----------------------------------------------*/
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article-list li {
  background: #fffbe1;
  border-radius: 12px;
  border: 2px solid var(--retro-border);
  padding: 22px 18px 18px 24px;
  margin-bottom: 20px;
}
.article-list a {
  color: var(--brand-primary);
  text-decoration: underline dotted 2px var(--brand-secondary);
  font-weight: 700;
  transition: color 0.13s;
}
.article-list a:hover {
  color: var(--brand-secondary);
}
.benefits-list, .industry-icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-left: 0;
  margin: 15px 0 0 0;
}
.benefits-list li, .industry-icon-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--retro-burgundy);
}
.industry-icon-list img { height: 22px; width: 22px; }

/* STATISTICS/BLOCKS ------------------------------------------------------*/
.statistic-blocks {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.statistic-blocks > div {
  background: var(--retro-mustard);
  border-radius: 14px;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 1px 6px var(--retro-shadow);
  min-width: 185px;
  flex: 1 1 28%;
  color: var(--retro-dark);
}
.statistic-blocks h3 {
  font-size: 2.1rem;
  color: var(--retro-burgundy);
  text-shadow: none;
}

/* CTA SECTION ------------------------------------------------------------*/
.cta {
  background: var(--brand-secondary);
  border-radius: 16px;
  padding: 38px 20px 36px 20px;
  box-shadow: 0 3px 15px var(--retro-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
}
.cta h2 { color: var(--brand-primary); text-shadow: 1px 2px 0 var(--retro-mustard); }
.cta a.cta {
  margin-top: 8px;
  background: var(--retro-burgundy);
  color: #fff;
  border: 0;
  padding: 15px 40px;
  border-radius: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px var(--retro-shadow);
  transition: background .16s, color .18s, box-shadow .18s;
}
.cta a.cta:hover,
.cta a.cta:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  box-shadow: 0 6px 21px var(--retro-shadow);
}

/* SEARCH BAR -------------------------------------------------------------*/
.search-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 8px;
  gap: 10px;
  width: 100%;
}
.search-bar input[type="search"] {
  padding: 10px 16px;
  border-radius: 32px;
  border: 2px solid var(--retro-border);
  font-size: 1.1rem;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 1px 6px var(--retro-shadow);
  background: #fffbe9;
  transition: border-color .14s, box-shadow .12s;
}
.search-bar input[type="search"]:focus {
  outline: none;
  border-color: var(--brand-secondary);
  box-shadow: 0 2px 10px var(--retro-shadow);
}

/* FORMS & BUTTONS --------------------------------------------------------*/
button, .button, input[type="submit"] {
  background: var(--retro-orange);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 32px;
  padding: 10px 32px;
  font-weight: bold;
  font-size: 1.10rem;
  box-shadow: 0 1px 6px var(--retro-shadow);
  cursor: pointer;
  transition: background .16s, color .14s, box-shadow .17s;
}
button:hover, .button:hover, input[type="submit"]:hover,
button:focus, .button:focus, input[type="submit"]:focus {
  background: var(--brand-primary);
  color: var(--retro-mustard);
  box-shadow: 0 4px 18px var(--retro-shadow);
}

/* FOOTER -----------------------------------------------------------------*/
footer {
  background: var(--retro-blue);
  color: #fff;
  padding-top: 34px;
  padding-bottom: 6px;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 40px 60px;
}
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-section nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-section nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .12s;
}
.footer-section nav a:hover { color: var(--brand-secondary); }
footer address {
  font-style: normal;
  display: flex; flex-direction: column; gap: 7px;
  color: #fff;
  font-size: 1rem;
}
footer address img {
  display: inline-block; vertical-align: middle; margin-right: 7px;
  height: 20px; width: 20px;
}
.copyright {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  padding-bottom: 8px;
  text-align: center;
  color: var(--retro-mustard);
}

@media (max-width: 820px) {
  footer .container { flex-direction: column; gap: 22px; align-items: flex-start; }
}

/* LEGAL/INFO PAGES -------------------------------------------------------*/
.legal {
  background: #fff;
  border-radius: 17px;
  border: 2px solid var(--retro-border);
  box-shadow: 0 2px 12px var(--retro-shadow);
  padding: 34px 18px 32px 28px;
}
.legal h1 {
  color: var(--retro-burgundy);
  font-size: 2.1rem;
  text-shadow: 1px 2px 0 var(--retro-mustard);
}
.legal a {
  color: var(--brand-primary);
  text-decoration: underline dotted 2px var(--brand-secondary);
  transition: color .14s;
}
.legal a:hover {
  color: var(--brand-secondary);
}
.legal ul {
  margin-top: 8px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 22px;
}

/* MODAL (Cookie preferences) ----------------------------------------------*/
.cookie-modal {
  position: fixed;
  z-index: 1010;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(51,32,14, 0.33);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.26s cubic-bezier(.55,0,.7,1);
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal-content {
  background: #fffbe1;
  border-radius: 24px;
  border: 2px solid var(--retro-border);
  box-shadow: 0 4px 30px var(--retro-shadow);
  padding: 40px 26px 32px 26px;
  width: 95%; max-width: 370px;
  display: flex; flex-direction: column; gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  text-shadow: 1px 1px 0 var(--retro-mustard);
}
.cookie-modal-categories {
  display: flex; flex-direction: column; gap: 17px; width: 100%;
}
.cookie-modal-category {
  display: flex; align-items: center; gap: 15px;
  font-size: 1.09rem;
}
.cookie-modal-category input[type=checkbox],
.cookie-modal-category input[type=radio] {
  accent-color: var(--retro-orange);
  width: 20px; height: 20px; margin-right: 7px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute; top: 14px; right: 13px; font-size: 2rem; color: var(--retro-burgundy);
  border: none; background: transparent; cursor: pointer;
}
.cookie-modal-close:hover { color: var(--brand-primary); }

/* COOKIE BANNER ----------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 1010;
  background: #fffbe9;
  color: var(--retro-dark);
  border-top: 3px solid var(--retro-orange);
  box-shadow: 0 -2px 18px var(--retro-shadow);
  padding: 22px 26px 18px 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  opacity: 1;
  transition: opacity 0.17s;
}
.cookie-banner[aria-hidden="true"] {
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  font-size: 1rem;
  margin: 0;
  max-width: 600px;
  color: var(--retro-dark);
}
.cookie-banner-actions {
  display: flex; flex-direction: row; gap: 11px;
}
.cookie-banner button, .cookie-banner .button {
  background: var(--retro-burgundy);
  color: #fff;
  font-weight: bold;
  border-radius: 26px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  box-shadow: 0 1px 5px var(--retro-shadow);
  transition: background .14s, color .14s;
}
.cookie-banner button.secondary { background: var(--retro-mustard); color: var(--retro-dark); }
.cookie-banner button.settings {
  background: var(--brand-primary);
  color: var(--retro-mustard);
}
.cookie-banner button:hover, .cookie-banner .button:hover { background: var(--brand-secondary); color: var(--brand-primary); }
.cookie-banner button.settings:hover { background: var(--brand-primary); color: var(--retro-orange); }

/* FAQ LIST ---------------------------------------------------------------*/
.faq-list {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.faq-list > div {
  background: #fffbe9;
  border-radius: 15px;
  border: 2px solid var(--retro-border);
  box-shadow: 0 2px 7px var(--retro-shadow);
  padding: 26px 20px 18px 20px;
  flex: 1 1 40%;
  margin-bottom: 20px;
}
.faq-list h3 { color: var(--brand-primary); font-size: 1.09rem; margin-bottom: 8px; }
.faq-list p { color: var(--retro-burgundy); margin-bottom: 0; }

/* LISTS, OL & UL ---------------------------------------------------------*/
ul, ol { margin-left: 24px; }
li { margin-bottom: 10px; }

/* MISC & UTILITIES -------------------------------------------------------*/
.confirmation {
  background: var(--retro-mustard);
  border-radius: 15px;
  border: 2px solid var(--retro-border);
  box-shadow: 0 2px 12px var(--retro-shadow);
  padding: 54px 24px 50px 24px;
  margin: 48px 0;
  text-align: center;
}
.confirmation a.cta {
  margin-top: 25px;
  font-size: 1.18rem;
  padding: 14px 36px;
}

/* RESPONSIVE STYLES ------------------------------------------------------*/
@media (max-width: 1200px) {
  .container, footer .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .container, footer .container { max-width: 98vw; }
  .feature-grid > div,
  .category-grid > div,
  .test-grid > div,
  .tool-cards > div,
  .team-profiles > div,
  .service-cards > div,
  .faq-list > div,
  .statistic-blocks > div {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 75vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  .hero, .section, .cta, .confirmation { padding: 25px 9px; }
  .footer-section { align-items: flex-start; }
  .feature-grid, .category-grid, .test-grid, .tool-cards, .team-profiles, .service-cards, .faq-list, .statistic-blocks { gap: 14px; }
  .article-list { gap: 14px; }
  .container, footer .container { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 520px) {
  .container, footer .container { padding: 2px; }
}

/* ANIMATIONS & MICROINTERACTIONS ----------------------------------------*/
a, button, .card, .cta a.cta, .testimonial-card, .feature-grid > div, .faq-list > div {
  transition: color .13s, background .12s, box-shadow .12s, border-color .12s, transform .13s;
}
.card:hover, .feature-grid > div:hover, .category-grid > div:hover, .test-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 24px var(--retro-shadow);
}

/* END */
