/* ==== CSS Reset and Normalize ==== */
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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FEF6E1;
  color: #2d1700;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s;
}
main {
  flex: 1 0 auto;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #005487;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b5421a;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fffaf2;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(60,35,0,0.07);
}
th, td {
  border: 1px solid #cfc8b8;
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #e3ba62;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #382400;
  font-size: 18px;
  letter-spacing: 0.05em;
}
td {
  font-size: 16px;
  background: #fffaf2;
}
hr {
  border: none;
  border-top: 1px solid #d8cdb1;
  margin: 20px 0;
}

/* === Vintage Retro Brand Colors === */
:root {
  --brand-primary: #005487;
  --brand-secondary: #93C01F;
  --brand-accent: #FFFFFF;
  --accent-yellow: #e3ba62;
  --accent-dark: #382400;
  --accent-orange: #b5421a;
  --accent-beige: #f7ecd0;
  --background-vintage: #FEF6E1;
  --shadow-card: 0 3px 20px rgba(60,35,0,0.11);
}

/* ==== Typography: Vintage, Playful & Modern ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 1px 1px 0 #d8cdb1;
}
h1 {
  font-size: 2.875rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul, ol, dl {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #2d1700;
  line-height: 1.7;
}
small {
  font-size: 0.95em;
  color: #705c3d;
}

/* === Layout Containers === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin-top: 0px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==== Flexbox Layout Patterns (Mandatory Classes) ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(243, 230, 195, 0.45);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.card-container, .blog-teasers, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 24px;
  min-width: 210px;
}
.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: #fffaf8;
  border-left: 6px solid var(--accent-yellow);
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 32px rgba(60,35,0,0.09);
  font-style: italic;
  color: #3c2200;
  max-width: 470px;
  min-width: 230px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team-list > div {
  background: #f9e2b4;
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 210px;
  max-width: 275px;
  box-shadow: 0 3px 20px rgba(180, 66, 26, 0.06);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.blog-teasers > div {
  flex: 1 1 220px;
  background: #fffbe5;
  border: 2px dashed #e3ba62;
  border-radius: 14px;
  padding: 20px 18px 16px 20px;
  box-shadow: 0 2px 15px rgba(200,112,16,0.06);
  margin-bottom: 20px;
}

.cta-contact {
  display: flex;
  align-items: center;
  margin: 24px 0 0 0;
}

/* === Header, Navigation, Footer === */
header {
  background: #fffbe9;
  border-bottom: 4px dotted #e3ba62;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 0 12px 0;
  background: none;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-primary);
  font-size: 1.09rem;
  border-radius: 6px;
  padding: 8px 14px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--accent-yellow);
  color: var(--accent-orange);
  box-shadow: 0 1px 6px rgba(220, 151, 40, 0.13);
}
nav a.cta.primary {
  background: var(--brand-secondary);
  color: #382400;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(231,180,20,0.08);
  border-radius: 20px;
  padding: 10px 28px;
  margin-left: 8px;
  border: 2px solid var(--brand-secondary);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 #f8f3df;
  transition: background 0.17s, color 0.13s, box-shadow 0.19s;
}
nav a.cta.primary:hover, nav a.cta.primary:focus {
  background: #ecb92f;
  color: var(--accent-orange);
  border-color: #e3ba62;
  text-decoration: none;
  box-shadow: 0 4px 16px 0 rgba(210, 167, 50, 0.16);
}
nav img {
  height: 48px;
  width: auto;
}

/* == Burger menu == */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-secondary);
  color: var(--accent-dark);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-left: auto;
  cursor: pointer;
  transition: background .18s, box-shadow .18s;
  position: relative;
  z-index: 1002;
  box-shadow: 0 1px 8px rgba(180, 66, 26, 0.08);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ecb92f;
  color: var(--accent-orange);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,247,222,0.97);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: var(--accent-yellow);
  color: var(--accent-orange);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(180, 66, 26, 0.08);
  transition: background 0.13s;
  z-index: 2010;
}
.mobile-menu-close:hover {
  background: #f4dd95;
  color: #d64406;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 82px;
  width: 100%;
  padding: 20px 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: var(--brand-primary);
  padding: 16px 0 10px 12px;
  text-decoration: none;
  width: 100%;
  border-radius: 12px;
  background: none;
  transition: background 0.13s, color 0.18s;
  font-weight: 600;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #ffeac2;
  color: var(--accent-orange);
}

@media (max-width: 1000px) {
  nav {
    gap: 8px;
    padding: 18px 0 10px 0;
  }
}
@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0 8px 0;
  }
  header nav {
    padding-bottom: 8px;
  }
  nav a {
    font-size: 1.02rem;
    padding: 8px 7px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 10px;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

footer {
  background: #fffbe9;
  border-top: 4px dotted #e3ba62;
  padding: 30px 0 18px 0;
  text-align: center;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-size: 1.08rem;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
footer a {
  color: var(--accent-orange);
  background: none;
  border: none;
  padding: 0 6px;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: #005487;
}
address {
  font-style: normal;
  font-size: 1rem;
  color: #705c3d;
  margin-top: 12px;
  line-height: 1.55;
}

/* ==== Cards & Widgets ==== */
.card {
  background: #f9e2b4;
  border-left: 6px solid #b5421a;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px 22px 24px;
  min-width: 220px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(181, 66, 26, 0.13);
  transform: translateY(-3px) scale(1.016);
}

/* ==== Buttons ==== */
.cta, .cta.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  background: var(--brand-secondary);
  color: #2d1700;
  border: 2px solid var(--brand-secondary);
  border-radius: 40px;
  padding: 13px 32px;
  box-shadow: 0 2px 22px rgba(220,151,40,0.12);
  cursor: pointer;
  text-align: center;
  margin-top: 8px;
  text-shadow: 0 2px 0 #f8f3df;
  transition: background 0.14s, color 0.14s, border 0.18s, box-shadow 0.17s;
}
.cta.primary:hover, .cta.primary:focus, .cta:hover, .cta:focus {
  background: #e3ba62;
  color: var(--accent-orange);
  border-color: #e3ba62;
  box-shadow: 0 6px 18px 0 rgba(181,66,26,0.14);
  text-decoration: none;
}

/* ==== Spacing and Layout ==== */
.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; }

/* === Responsive Flexbox Alignments === */
@media (max-width: 900px) {
  .card-container, .blog-teasers, .team-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.07rem; }
  .container { padding: 0 5px; }
  .section { padding: 18px 2px; margin-bottom: 24px; }
  .testimonial-card { max-width: 100%; }
}

/* ==== Micro-Interactions + Shadows ==== */
table tr:hover td {
  background: #f7ecd0;
  transition: background 0.13s;
}
ul li::before {
  content: '◆ ';
  color: #b5421a;
  display: inline-block;
  font-size: 1em;
  vertical-align: middle;
  margin-right: 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
ul.feature-list li::before {
  content: '◇ ';
  color: #005487;
}

ol li {
  counter-increment: step;
}
ol li::before {
  content: counter(step) '. ';
  color: #e3ba62;
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  margin-right: 4px;
}
dt {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.13em;
  color: #b5421a;
  font-weight: 700;
  margin-top: 10px;
}
dd {
  margin-bottom: 10px;
}

/* === Cookie Consent Banner === */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe5;
  border-top: 4px dotted #e3ba62;
  box-shadow: 0 -4px 24px 0 rgba(58, 34, 0, 0.13);
  padding: 24px 12px 18px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  z-index: 5000;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  color: #2d1700;
  animation: cookie-banner-slide-up 0.6s cubic-bezier(.38,0,.43,1);
}
@keyframes cookie-banner-slide-up {
  0% { transform: translateY(100%); opacity:0; }
  60%{ transform: translateY(-8px); opacity:1; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  padding: 8px 24px;
  border-radius: 36px;
  border: none;
  margin-left: 10px;
  margin-bottom: 8px;
  min-width: 128px;
  cursor: pointer;
  box-shadow: 0 1px 12px rgba(180, 66, 26, 0.06);
  transition: background 0.12s, color 0.11s;
}
.cookie-consent-banner .accept {
  background: var(--brand-secondary);
  color: #382400;
}
.cookie-consent-banner .accept:hover {
  background: #e3ba62;
  color: var(--accent-orange);
}
.cookie-consent-banner .reject {
  background: #fffaf2;
  color: #b5421a;
  border: 2px solid #e3ba62;
}
.cookie-consent-banner .reject:hover {
  background: #ffeac2;
  color: #d64406;
}
.cookie-consent-banner .settings {
  background: #fffbe5;
  color: #705c3d;
  border: 2px dashed #e3ba62;
}
.cookie-consent-banner .settings:hover {
  background: #ffeac2;
  color: #d64406;
}

/* === Cookie Preferences Modal === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 6000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(52,42,11, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in .32s cubic-bezier(.38,0,.43,1);
}
@keyframes cookie-modal-fade-in {
  0%{ opacity: 0; }
  100%{ opacity: 1; }
}
.cookie-modal {
  background: #fffbe9;
  border: 3px solid #e3ba62;
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  min-width: 290px;
  max-width: 460px;
  box-shadow: 0 6px 70px 0 rgba(180,66,26,0.22);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: modal-slide-down .42s cubic-bezier(.38,0,.43,1);
}
@keyframes modal-slide-down {
  0%{ transform: translateY(-40px); opacity:0; }
  100%{ transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #005487;
  margin-bottom: 12px;
  font-size: 1.4rem;
  text-shadow: 1px 2px 0 #e3ba62;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 18px 0 20px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  color: #2d1700;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 22px;
  background: transparent;
  border: none;
  color: #b5421a;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover {
  color: #705c3d;
}

/* === Table Retro Borders === */
table {
  border-radius: 18px;
  background: #fffbe5;
  border: 2.5px dashed #e3ba62;
  box-shadow: 0 2px 15px rgba(200,112,16,0.06);
}
th, td {
  border: 1px solid #e3ba62 !important;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/* === Accessibility Enforcements for Contrast === */
.testimonial-card {
  background: #fff9ed;
  color: #2d1700;
  border-left: 8px solid #b5421a;
  box-shadow: 0 4px 16px rgba(189, 103, 14, 0.11);
}
.testimonial-card strong, .testimonial-card div {
  color: #005487;
  font-style: normal;
}

/* === Print Styles === */
@media print {
  *,*:before,*:after {
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  nav, .mobile-menu-toggle, .mobile-menu, .cookie-consent-banner {
    display: none !important;
  }
}

/* === Custom Scrollbar for Retro vibes === */
::-webkit-scrollbar {
  width: 12px;
  background: #f7ecd0;
}
::-webkit-scrollbar-thumb {
  background: #e3ba62;
  border-radius: 8px;
  border: 2px solid #f7ecd0;
}
::-webkit-scrollbar-thumb:hover {
  background: #b5421a;
}

/* === Selection === */
::selection {
  background: #e3ba62;
  color: #2d1700;
}

/* === Decorative Classic Retro Divider Pattern === */
.section:not(:first-child):before {
  content: "";
  display: block;
  width: 90px;
  height: 10px;
  background: repeating-linear-gradient(90deg, #e3ba62, #e3ba62 10px, #fff6d1 10px, #fff6d1 20px);
  border-radius: 8px;
  margin: 0 0 30px 0;
  opacity: 0.46;
}

@media (max-width: 520px) {
  .card, .blog-teasers > div, .team-list > div {
    padding: 12px 7px 10px 9px;
    min-width: 100px;
    max-width: 100%;
  }
  .section:not(:first-child):before {
    width: 50vw;
    height: 7px;
  }
}

/* ==== Utility Classes ==== */
.text-center {
  text-align: center !important;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-3 { margin-top: 24px !important; }

/* ==== End of StyleSheet ==== */
