/* === CSS RESET === */
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display: block; }
body {
  line-height: 1.6;
  background: #F2ECE4;
  color: #3a2f23;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img { max-width: 100%; display: block; border: 0; }
a { color: #133B5C; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { text-decoration: underline; color: #B84025; }
ul, ol { list-style: none; }

/* === RETRO VINTAGE PALETTE === */
:root {
  --tt-primary: #133B5C;
  --tt-secondary: #1E8BC3;
  --tt-accent: #F7F7F7;
  --retro-orange: #FBA04D;
  --retro-cream: #F2ECE4;
  --retro-brown: #6E4E1E;
  --retro-red: #B84025;
  --retro-mint: #A9DBD7;
  --retro-green: #75B67A;
  --retro-yellow: #E1C16E;
}

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

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: var(--tt-primary);
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #FBA04D22;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-top: 32px; margin-bottom: 20px; }
h3 { font-size: 1.25rem; color: var(--retro-red); }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, dl, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #3a2f23;
}
.blockquote, blockquote {
  background: #FFF9F4;
  border-left: 6px solid var(--retro-orange);
  font-style: italic;
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

strong, b {
  font-weight: 700;
  color: var(--retro-brown);
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f6ede2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 1px 2px 8px #b8402520;
}
thead {
  background: var(--retro-orange);
  color: #fff;
}
th, td {
  padding: 16px 10px;
  border-bottom: 1px solid #ecd7be;
  text-align: left;
}
tr:last-child td { border-bottom: none; }
caption {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  caption-side: top;
  padding-bottom: 6px;
  color: var(--retro-red);
}

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px #b8402512, 0 1.5px 0 #E1C16E;
  padding: 32px 24px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F2ECE4;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 2px 2px 18px #B8402522;
  padding: 24px 16px;
  transition: box-shadow 0.24s, transform 0.22s;
  flex: 1 1 280px;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 2px 8px 32px #b8402550, -2px 0 10px #A9DBD722;
}
.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;
  background: #FAF3E3;
  border-radius: 14px;
  box-shadow: 0 2px 12px #b8402520;
  margin-bottom: 20px;
  font-size: 1.08rem;
}
.testimonial-card blockquote {
  color: #333;
  border-left: 5px solid var(--retro-orange);
  background: none;
  margin: 0;
  padding: 0 18px 0 12px;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #666;
  font-size: 0.98rem;
  margin-left: 16px;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F2ECE4;
  border: 2px dashed #E1C16E;
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 1.5px 0 #FFF9F4,0 4px 20px #b8402511;
  max-width: 310px;
}
/* Offer/Cards/Blog list flex */
.feature-grid, .service-cards, .post-list-grid, .author-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 6px;
  justify-content: flex-start;
}
.report-summary {
  background: #f7eddc;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 18px;
  box-shadow: 0 1.5px 0 #E1C16E77;
  font-size: 1.04em;
}

.service-card {
  background: #F2ECE4;
  border: 1.5px solid #E1C16E;
  border-radius: 12px;
  padding: 26px 22px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px #b8402520;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.22s,transform 0.18s;
}
.service-card:hover {
  box-shadow: 0 10px 36px #B8402535;
  background: #FFF9F4;
  transform: scale(1.025);
}
.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--retro-brown);
  letter-spacing: 1px;
  border-radius: 6px;
  background: #EFD7B3;
  display: inline-block;
  padding: 6px 16px;
  margin-top: 10px;
}

/* Author cards in Blog */
.author-profile {
  background: #F2ECE4;
  border-radius: 10px;
  border: 1.5px dashed #E1C16E;
  padding: 18px 18px 14px 18px;
  box-shadow: 0 1.5px 0 #FFF9F4;
  flex: 1 1 220px;
  margin-bottom: 20px;
}
.featured-post-highlight {
  background: #f9debe;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0 12px;
  border-left: 5px solid var(--retro-red);
}
.category-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.97em;
  margin: 24px 0 12px;
  flex-wrap: wrap;
}
.category-filter a {
  background: #E1C16E;
  color: #133B5C;
  border-radius: 5px;
  padding: 2px 10px;
  margin-right:4px;
  text-decoration: none;
  transition: background .17s;
}
.category-filter a:hover { background: #B84025; color: #fff; }

.benefit-icons {
  display: flex;
  gap: 24px;
  margin: 16px 0;
}
.stat-highlights {
  display: flex;
  gap: 24px;
  margin: 18px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.stat-highlights div {
  background: #FAF3E3;
  border-radius: 10px;
  padding: 20px 18px;
  color: var(--retro-brown);
  font-size: 1.1em;
}
mini-contact {
  line-height: 1.5;
}


/* === HEADER & NAVIGATION === */
header { background: var(--retro-yellow); border-bottom: 4px solid var(--retro-orange); }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 14px 0;
}
.main-nav .logo-link img { height: 48px; width: auto; }
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--tt-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-radius: 3px;
  transition: background-color 0.18s, color .18s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--retro-orange);
  color: #fff;
}
.main-nav .cta-btn {
  background: var(--retro-red);
  color: #fff;
  padding: 10px 30px;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.08em;
  letter-spacing: 0.07em;
  box-shadow: 1px 2px 12px #b8402522;
  margin-left: 28px;
  border: none;
  text-shadow: 1px 1px #58310e11;
  cursor: pointer;
  transition: background 0.18s, transform 0.16s, box-shadow .16s;
  text-transform: uppercase;
}
.main-nav .cta-btn:hover, .cta-btn:focus {
  background: var(--retro-brown);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 3px 4px 18px #b8402560;
  color: #FFF7E2;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--tt-primary);
  z-index: 1502;
  cursor: pointer;
  transition: color .14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--retro-red);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #F2ECE4ed;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.56,.03,.59,1.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 30px 36px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--retro-red);
  align-self: flex-end;
  margin-top: 10px;
  padding: 4px 12px 10px 12px;
  cursor: pointer;
  z-index: 2001;
  transition: color .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--retro-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--tt-primary);
  background: none;
  padding: 12px 8px 8px 0;
  border-radius: 0 2px 2px 12px;
  transition: background 0.21s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-orange);
  color: #fff;
  padding-left: 10px;
}

@media (max-width: 1100px) {
  .container { max-width: 970px; }
  .feature-grid, .service-cards, .post-list-grid, .author-profiles, .stat-highlights {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 94vw; }
  .main-nav ul { gap: 18px; }
}
@media (max-width: 992px) {
  .feature-grid, .service-cards, .post-list-grid, .author-profiles {
    flex-direction: column;
    gap: 18px;
  }
  .stat-highlights { flex-direction: column; gap: 10px; }
}
@media (max-width: 768px) {
  header { min-height: 62px; }
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    flex-direction: row;
    justify-content: space-between;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    padding: 18px 6px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.15rem; }
  .content-wrapper {
    border-radius: 10px;
    box-shadow: 0 4px 20px #b8402515;
    padding: 14px 3px;
  }
}


/* === FOOTER === */
footer {
  background: var(--retro-orange);
  color: #fff;
  margin-top: 36px;
  padding: 0 0 20px 0;
  font-size: 1rem;
  border-top: 5px solid var(--retro-red);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 0 10px 0;
  text-align: center;
}
.footer-content .footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  justify-content: center;
}
.footer-content .footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 0 4px;
  transition: color .16s;
}
.footer-content .footer-nav a:hover,
.footer-content .footer-nav a:focus { color: #F2ECE4; text-decoration: underline; }
.footer-content img { height: 42px; margin-bottom: 12px; }
.footer-content .social-icons {
  display: flex;
  gap: 16px;
  margin: 10px 0 8px 0;
}
.footer-content .social-icons img {
  background: #FFF7E2;
  border-radius: 50%;
  height: 32px;
  width: 32px;
  transition: box-shadow .17s;
  padding: 2px;
  box-shadow: 0 2px 8px #b8402513;
}
.footer-content .social-icons img:hover { box-shadow: 0 2px 18px var(--retro-red); }
footer p {
  font-size: 0.98em;
  color: #FFF7E2;
  margin-top: 2px;
  margin-bottom: 0;
}


/* === BUTTONS === */
.cta-btn, button, input[type="submit"] {
  cursor: pointer;
  border: none;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 999px;
  padding: 11px 30px;
  background: var(--retro-red);
  color: #fff;
  font-weight: 900;
  transition: background 0.17s, color 0.15s, transform .12s, box-shadow .15s;
  box-shadow: 1.5px 2px 10px #b8402525;
  margin-top: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  display: inline-block;
}
.cta-btn:focus, .cta-btn:hover,
button:focus, button:hover, input[type="submit"]:focus {
  background: var(--retro-brown);
  color: #FFF7E2;
  box-shadow: 3px 4px 18px #b8402572;
  transform: scale(1.06) translateY(-2px);
}

/* === FORMS (basic) === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid #E1C16E;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: #FFF9F4;
  color: #3a2f23;
}
input:focus, textarea:focus, select:focus {
  outline: 2px dashed var(--retro-orange);
  background: #FFF1DF;
}
label { font-weight: bold; font-family: 'Montserrat', Arial, sans-serif; margin-bottom:4px; display:block; }

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: #2a2010f3;
  color: #FFF7E2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 28px 16px 28px 16px;
  box-shadow: 0 -2px 24px #2a201044;
  font-size: 1.03em;
  font-family: 'Roboto', Arial, sans-serif;
  animation: bannerSlideUp .7s cubic-bezier(.67,.17,.37,1.18);
}
@keyframes bannerSlideUp {
  from {transform: translateY(100%);opacity: 0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-consent-banner .cookie-btn,
.cookie-consent-banner button {
  margin: 0 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  border: none;
  font-size: 1em;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 2px 8px #fff2;
  cursor:pointer;
}
.cookie-consent-banner .cookie-btn.accept { background: var(--retro-green); color: #fff; }
.cookie-consent-banner .cookie-btn.reject{background:var(--retro-red); color:#fff;}
.cookie-consent-banner .cookie-btn.settings{background: var(--retro-yellow); color: #133B5C; }
.cookie-consent-banner .cookie-btn:hover,.cookie-consent-banner .cookie-btn:focus { filter: brightness(1.1); }
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    font-size: 1em;
    padding: 20px 8px 18px 8px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 8000;
  background: rgba(32,22,10, 0.82);
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center; justify-content: center;
  animation: fadeInModal .4s cubic-bezier(.37,1.17,.67,1.22);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  max-width: 440px;
  background: #FAF3E3;
  color: #222;
  border-radius: 24px;
  box-shadow: 0 8px 40px #0006;
  padding: 32px 28px 18px 28px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  position: relative;
  animation: popModal .36s cubic-bezier(.6,1.12,.77,.95);
}
@keyframes popModal {from{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25em;
  margin-bottom: 16px;
  color: var(--retro-red);
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 8px 0;
  font-size: 1.02em;
  padding: 8px 0 8px 4px;
}
.cookie-modal-category label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .toggle {
  width: 44px; height: 22px; border-radius: 16px; background: #E1C16E;
  position: relative; display: inline-block;
  margin-right: 2px;
  vertical-align: middle;
}
.cookie-modal .toggle input { display: none; }
.cookie-modal .toggle-slider {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.26s;
  box-shadow: 0 1.5px 0 #E1C16E55;
}
.cookie-modal .toggle input:checked + .toggle-slider { left: 24px; background: var(--retro-green); }
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal-actions .cookie-btn { margin: 0; }
.cookie-modal-close {
  position: absolute; right: 10px; top: 10px; background: none; border: none; font-size: 1.4em; color: var(--retro-red); cursor: pointer; }
.cookie-modal-close:hover{color:var(--retro-brown);}
@media (max-width: 540px) {
  .cookie-modal { max-width: 95vw; padding: 18px 7px; }
}

/* === UTILITIES === */
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.center { text-align: center; }

/* === RETRO/DECORATIVE ELEMENTS === */
.section {
  background: repeating-linear-gradient(-90deg, #F7F7F7 0 10px, #FFF1DF 10px 20px);
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: 0 8px 36px #b8402522, 0 1.5px 0 #E1C16E;
}
.feature-item img, .benefit-icons img {
  width: 48px; height: 48px; filter: sepia(.25) contrast(1.12) brightness(1.06);
  border-radius: 8px;
  background: #fff8e0;
  box-shadow: 0 .5px 0 #E1C16E;
  padding: 4px;
}

/* === Extra: Spacing between cards/sections === */
.content-wrapper > *, .content-grid > *, .feature-grid > *, .service-cards > *, .card-container > *, .post-list-grid > *, .author-profiles > * {
  margin-bottom: 20px;
}
.content-wrapper > *:last-child, .feature-grid > *:last-child, .service-cards > *:last-child, .card-container > *:last-child, .post-list-grid > *:last-child, .author-profiles > *:last-child {
  margin-bottom: 0;
}

/* === VISUAL HIERARCHY & TRANSITIONS === */
.section, .card, .feature-item, .testimonial-card, .service-card, .content-wrapper {
  transition: box-shadow 0.17s, background 0.22s, transform 0.18s;
}

/* === ACCESSIBLE FOCUS STATES === */
a:focus, button:focus, .cta-btn:focus, input:focus, textarea:focus {
  outline: 2px solid var(--retro-red);
  outline-offset: 1.5px;
}

/* === LIST / DEFINITION / OL === */
ul,ol,dl { margin-left: 1.2em; }
ul li, ol li, dl dd {
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
  font-size: 1em;
}
ul li::before {
  content: '\25CF';
  color: var(--retro-orange);
  position: absolute;
  left: 0; top: 2px;
  font-size: 1em;
}
ol li::before { display: none; }
dt { color: var(--tt-primary); font-weight: bold; margin-top: 12px; }
dd { margin-left: 0; padding-left: 6px; }

/* === CUSTOM RETRO BADGES, BORDERS === */
.badge-retro {
  background: var(--retro-orange);
  color: #fff;
  border-radius: 8px;
  padding: 3px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 8px;
  box-shadow: 1px 2px 6px #b8402510;
}

/* === MISC === */
::-webkit-scrollbar { width: 10px; background: #E1C16E; }
::-webkit-scrollbar-thumb { background: #B84025; border-radius: 10px; }
::-webkit-input-placeholder { color: #ddcdb3; opacity: 1; }
::-moz-placeholder { color: #ddcdb3; opacity: 1; }
:-ms-input-placeholder { color: #ddcdb3; opacity: 1; }
::placeholder { color: #ddcdb3; opacity: 1; }

/* === PRINT STYLE === */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  .container, .content-wrapper, main, body { box-shadow: none !important; background: #fff !important; }
}
