/* =================================================
   CSS RESET & BASE TYPOGRAPHY – vintage_retro setup
   ================================================= */
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #F7F4E2; /* retro beige/paper backdrop */
  color: #3C2F2F;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #022345;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E07B25; /* Orange accent retro touch */
}
ul {
  margin-left: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto Condensed', Arial, sans-serif;
  color: #1E1D19;
  letter-spacing: 1.5px;
  margin-bottom: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p {
  margin-bottom: 1.3em;
  font-size: 1.06em;
}
small {
  font-size: 0.92em;
  color: #53514a;
}
/* =============
   PATTERNS & VINTAGE DETAILS
   ============= */
body {
  background-image: repeating-linear-gradient(-45deg,#fffbe6,#fffbe6 40px,#f7f4e2 40px,#f7f4e2 80px);
  background-size: 120px 120px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,251,230,0.9);
  border-radius: 22px;
  box-shadow: 0px 5px 23px 0 rgba(60,47,47,0.11);
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 30px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(60,47,47,0.15);
  padding: 28px 24px;
  transition: transform 0.22s, box-shadow 0.22s;
  min-width: 260px;
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
  box-shadow: 0 8px 36px 0 rgba(34,29,20,0.24);
}
.features {
  background: #F3F93A17;
  border-top: 3px dashed #02234538;
  border-bottom: 3px dashed #02234538;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 16px 0 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 260px;
  padding: 30px 20px 24px 20px;
  background: #fffbe6;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(60,47,47,0.10);
  transition: box-shadow 0.22s;
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}
.feature-item:hover {
  box-shadow: 0 7px 24px 0 rgba(34,29,20,0.17);
  background: #F3F93A19;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 32px 0;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;   
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 22px 0 0 0;
  background: #FBF194;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(34,29,20,0.09);
  border: 2px solid #02234529;
  min-width: 270px;
  max-width: 650px;
}
.testimonial-card .text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial-card p {
  color: #221f0f;
  font-style: italic;
  font-size: 1.13em;
  margin-bottom: 0.4em;
}
.testimonial-card span, .testimonial-card small {
  color: #022345;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.5px;
}
.star-rating {
  font-size: 1.4em;
  color: #E07B25;
  letter-spacing: 2px;
}
/* CTA buttons */
.cta {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  background: #21D3FF;
  color: #022345;
  border-radius: 22px;
  padding: 14px 38px;
  font-size: 1.15em;
  letter-spacing: 1.3px;
  margin-top: 16px;
  box-shadow: 0 3px 15px 0 rgba(33,211,255,0.13);
  border: 2px solid #F3F93A;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s, transform 0.16s;
}
.cta.primary {
  background: #F3F93A;
  color: #022345;
  border: 2px solid #22AFAE;
}
.cta:hover, .cta:focus {
  background: #E07B25;
  color: #fffbe6;
  transform: translateY(-1px) scale(1.045);
  box-shadow: 0 6px 21px 0 rgba(224,123,37,0.14);
  border-color: #E07B25;
}
/* ===========
   HERO
   =========== */
.hero {
  background: #022345;
  color: #F6EDCE;
  padding: 60px 0 44px 0;
  text-shadow: 0px 2px 11px #02234538;
  margin-bottom: 40px;
}
.hero h1, .hero h2, .hero h3 {
  color: #F3F93A;
  text-shadow: 0px 4px 12px #0223457a;
}
.hero .cta {
  margin-top: 25px;
}
/* ===============
   HEADER + NAVIGATION
   =============== */
header {
  width: 100%;
  background: #fffbec;
  border-bottom: 6px double #02234544;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 18px 20px 10px 20px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05em;
  color: #022345;
  letter-spacing: 1.2px;
  position: relative;
  padding: 6px 0;
  transition: color 0.16s;
}
.main-nav a.cta {
  margin-left: 18px;
}
.main-nav a:after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: #E07B25;
  opacity: 0;
  transition: opacity 0.2s;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  opacity: 1;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E07B25;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #022345;
  cursor: pointer;
  margin-left: 20px;
  padding: 4px 10px;
  border-radius: 11px;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F3F93Aaa;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 15px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ===========
   MOBILE MENU
   =========== */
.mobile-menu {
  position: fixed;
  z-index: 2005;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbec;
  box-shadow: 0 0 60px 0 rgba(34,35,69,0.14);
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.66,0.56,0.12,0.88);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-top: 17px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 32px;
  margin-bottom: 14px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #E07B25;
  padding: 3px 12px;
  border-radius: 8px;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F3F93A77;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 35px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.27em;
  background: none;
  color: #022345;
  padding: 10px 0 7px 0;
  width: fit-content;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.14s, border-bottom-color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E07B25;
  border-bottom: 2px solid #E07B25;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}
/* ===========
   FOOTER
   =========== */
footer {
  background: #FFFBEC;
  border-top: 6px double #02234540;
  padding: 48px 0 0 0;
  margin-top: 56px;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-wrapper > img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 12px 0 4px 0;
}
.footer-menu a {
  color: #022345;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1em;
  letter-spacing: 1px;
  transition: color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #E07B25;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.98em;
  color: #473A18;
}
.footer-contact span img {
  width: 17px; height: 17px;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin: 10px 0 3px 0;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(94%) saturate(527%) hue-rotate(331deg) brightness(110%) contrast(101%);
}
.footer-legal {
  margin-top: 10px;
  font-size: 0.91em;
  color: #998e55;
}
@media (min-width: 900px) {
  .footer-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-contact {max-width: 325px;}
}
/* ===============
   SECTION LAYOUTS
   =============== */
.section, .about, .values, .services, .about-preview, .contact-preview, .thank-you, .legal, .advice, .recovery, .tips {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,251,230,0.95);
  border-radius: 22px;
  box-shadow: 0px 5px 23px 0 rgba(60,47,47,0.09);
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, .about, .values, .services, .about-preview, .contact-preview, .thank-you, .legal, .advice, .recovery, .tips {
    padding: 26px 7px;
    margin-bottom: 38px;
    border-radius: 11px;
  }
}
/* ===============
   TEXT & CARD SPACING
   =============== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul {
  padding-left: 1.3em;
}
ul li {
  margin-bottom: 0.6em;
  line-height: 1.6;
  position: relative;
}
ul li:before {
  content: '\25B6';
  color: #E07B25;
  font-size: 0.89em;
  position: absolute;
  left: -1.1em;
  top: 3px;
  font-family: 'Oswald', Arial, sans-serif;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
/* ===============
   RESPONSIVE FLEXBOX LAYOUTS
   =============== */
.card-container,
.card-content,
.feature-grid,
.content-grid,
.text-image-section,
.footer-wrapper,
.footer-social,
.footer-menu,
.footer-contact {
  gap: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 920px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
}
/* ===============
   LEGAL & PRIVACY SECTIONS
   =============== */
.legal, .about, .services, .values, .advice, .recovery, .tips, .thank-you {
  border: 2px dashed #02234525;
  box-shadow: 0 1px 16px 0 rgba(60,47,47,0.09);
}
.legal a {
  color: #E07B25;
  text-decoration: underline;
}
.legal a:hover, .legal a:focus {
  color: #21D3FF;
}
/* ===============
   ANIMATIONS & MICRO-INTERACTIONS
   =============== */
button, .cta, .main-nav a, .mobile-nav a {
  transition: background 0.23s, color 0.19s, border 0.18s, box-shadow 0.22s, transform 0.11s;
}
.feature-item, .testimonial-card, .card {
  transition: box-shadow 0.18s, background 0.17s, transform 0.23s;
}
/* ===============
   RESPONSIVE TYPOGRAPHY
   =============== */
@media (max-width: 700px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.48rem; }
  .hero { padding: 34px 0 27px 0; }
}
@media (max-width: 420px) {
  h1, .hero h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
}
/* ===============
   COOKIE BANNER & MODAL CONSENT
   =============== */
.cookie-banner {
  position: fixed;
  z-index: 5010;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: #241a08;
  box-shadow: 0 -3px 18px 0 rgba(33,35,69,0.14);
  border-top: 2px solid #F3F93A;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 14px;
  gap: 18px;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerEnter 0.43s cubic-bezier(0.77,0,0.18,1);
}
@keyframes cookieBannerEnter {
  from { transform: translateY(70%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  max-width: 60vw;
  font-size: 1em;
  margin-right: 8px;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.03em;
  padding: 8px 18px;
  border: none;
  border-radius: 12px;
  background: #21D3FF;
  color: #022345;
  cursor: pointer;
  margin: 0 1px;
  transition: background 0.17s, color 0.13s;
  box-shadow: 0 2px 8px 0 rgba(33,211,255,0.07);
}
.cookie-btn.settings {
  background: #F3F93A;
}
.cookie-btn.accept {
  background: #21D3FF;
}
.cookie-btn.reject {
  background: #E07B25;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E07B25;
  color: #fffbe6;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97em;
    padding: 18px 6px;
  }
  .cookie-banner-message {
    max-width: 95vw;
  }
}
/* ===============
   COOKIE PREFERENCES MODAL
   =============== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(2,35,69,0.33);
  z-index: 7777;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalShow 0.28s cubic-bezier(0.65,0,0.35,1);
}
@keyframes cookieModalShow {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fffbec;
  color: #200F09;
  padding: 34px 40px 24px 40px;
  border-radius: 22px;
  max-width: 440px;
  width: 93vw;
  box-shadow: 0 8px 32px 0 rgba(34,35,69,0.16);
  animation: growDialog 0.3s cubic-bezier(0.78,0,0.24,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
@keyframes growDialog {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: none;
  color: #E07B25;
  font-size: 2.1em;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F3F93A88;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f4e2;
  border-radius: 9px;
  padding: 11px 13px;
  box-shadow: 0 1px 4px 0 rgba(33,211,255,0.08);
}
.cookie-category-locked {
  color: #999;
  opacity: 0.7;
  font-style: italic;
}
.cookie-toggle {
  width: 35px;
  height: 20px;
  background: #21D3FF22;
  border-radius: 10px;
  border: 1px solid #21D3FF33;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle[data-active="true"] {
  background: #21D3FF;
}
.cookie-toggle-switch {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fffbe6;
  border-radius: 50%;
  transition: left 0.13s, background 0.13s;
  box-shadow: 0 0 4px 0 rgba(2,35,69,0.10);
}
.cookie-toggle[data-active="true"] .cookie-toggle-switch {
  left: 16px;
  background: #F3F93A;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
@media (max-width: 530px) {
  .cookie-modal {
    padding: 16px 7px 12px 7px;
    border-radius: 13px;
    max-width: 95vw;
    font-size: 0.98em;
  }
}
/* ===============
   UTILITIES / MISC
   =============== */
.bg-primary { background: #022345; color: #F3F93A; }
.bg-secondary { background: #21D3FF; color: #022345; }
.bg-accent { background: #F3F93A; color: #022345; }
.text-primary { color: #022345; }
.text-accent { color: #E07B25; }
.rounded { border-radius: 18px; }
.shadow {
  box-shadow: 0 3px 16px 0 rgba(34,29,20,0.14);
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.d-none { display: none !important; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* =========================================
   PRINT FRIENDLY
   ========================================= */
@media print {
  *, *:before, *:after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .container, .hero { padding: 0 !important; margin: 0 !important; border: none !important; }
}
