/* RESET & 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FAF6E8;
  color: #1B263B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  position: relative;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #ae7234;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7a4112;
}

/* VINTAGE RETRO PALETTE & FONTS */
:root {
  --primary: #1B263B;        /* Brand Deep Blue */
  --secondary: #64C99B;      /* Brand Green */
  --accent: #F1F1F1;         /* Brand Accent */
  --retro-beige: #FAF6E8;    /* Paper background */
  --retro-brown: #ae7234;    /* Retro brown/orange */
  --retro-orange: #f4a259;
  --retro-yellow: #f6e27a;
  --retro-red: #e1575d;
  --retro-blue: #4d648d;
  --retro-mint: #88c7b4;
  --retro-green: #6b7a4e;
  --white: #fff;
  --shadow: 0 3px 15px 0 rgba(64, 44, 23, 0.13);
  --card-radius: 14px;
  --pattern-1: repeating-linear-gradient(-45deg,#f6e27a 0px, #f6e27a 6px, transparent 7px, transparent 16px);
}

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

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--retro-beige);
}
h1, h2, h3, .cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.8rem;
  color: var(--retro-brown);
  margin-bottom: 20px;
  text-shadow: 1px 2px 0 #f6e27a, 0 3px 6px rgba(64,44,23,.05);
}
h2 {
  font-size: 2rem;
  color: var(--retro-blue);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1.25rem;
  color: var(--retro-brown);
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

p, ul, ol, li {
  font-size: 1rem;
  color: var(--primary);
}

strong {
  color: var(--retro-brown);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 26px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--retro-mint);
  border-radius: var(--card-radius);
  box-shadow: 0 3px 12px 0 rgba(34, 25, 12, 0.09);
  padding: 24px 20px 20px 24px;
  min-width: 230px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 2px solid var(--retro-yellow);
}

.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  filter: grayscale(0.2) brightness(0.98);
}

/* HERO SECTIONS */
.hero {
  background: var(--pattern-1), var(--retro-yellow);
  border-bottom: 3px solid var(--retro-brown);
  border-radius: 0 0 24px 24px;
  min-height: 320px;
  margin-bottom: 44px;
  box-shadow: 0 8px 34px -12px #c7a56c38;
}
.hero .container {
  height: 100%;
  display: flex;
  align-items: center;
  min-height: 320px;
}
.hero .content-wrapper {
  max-width: 600px;
  gap: 24px;
  align-items: flex-start;
}

/* MAIN PAGE CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 18px 24px;
  border: 1.5px solid var(--retro-yellow);
  min-width: 260px;
  max-width: 350px;
}

.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;
}

.testimonials {
  margin: 60px 0 0 0;
  padding-bottom: 60px;
}
.testimonials h2 {
  color: var(--retro-red);
  margin-bottom: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 12px 0 rgba(121, 74, 41, 0.06);
  padding: 24px 28px;
  font-style: italic;
  border-left: 6px solid var(--retro-orange);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.testimonial-card span {
  color: var(--retro-brown);
  font-size: 0.98rem;
  font-style: normal;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

/* VINTAGE BUTTONS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: var(--retro-brown);
  color: var(--retro-yellow);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.13rem;
  padding: 13px 32px 12px 32px;
  margin-top: 18px;
  box-shadow: 0 2px 7px rgba(120, 85, 49, 0.12);
  border: 2px solid var(--retro-yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.14s, transform 0.19s;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-orange);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 18px 0 #b17836b2;
}

button,
.mobile-menu-toggle,
.mobile-menu-close {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: var(--retro-brown);
  cursor: pointer;
  padding: 6px 12px;
  transition: background 0.21s, color 0.13s, transform 0.17s;
  border-radius: 12px;
}
.mobile-menu-toggle:focus, .mobile-menu-close:focus, button:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}

/* HEADER & NAVIGATION */
header {
  background: var(--retro-yellow);
  border-bottom: 4px solid var(--retro-brown);
  box-shadow: 0 4px 24px -7px #65430d38;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 16px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 10px;
  position: relative;
  transition: background 0.13s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-orange);
  color: var(--white);
}

/* HIDE MOBILE MENU BUTTON ON DESKTOP BY DEFAULT */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--retro-brown);
  color: var(--retro-yellow);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.13s, box-shadow 0.16s;
  box-shadow: 0 1px 7px 0 #ae723439;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-yellow);
  color: var(--retro-brown);
}

/* MOBILE SLIDE-IN MENU */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #eedfb2cc;
  box-shadow: 0 4px 55px 0 #ae723440;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.87,.01,.17,1.04);
  display: flex;
  flex-direction: column;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0px);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  font-size: 2.3rem;
  background: var(--retro-red);
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 3px 14px 0 #ae72343c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--white);
  color: var(--retro-red);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 38px auto 0 auto;
}
.mobile-nav a {
  color: var(--retro-brown);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--white);
  padding: 14px 28px;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 #f6e27a6c;
  text-align: center;
  margin: 0 24px;
  transition: background .15s, color .14s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--retro-orange);
  color: var(--white);
}

/* FOOTER */
footer {
  margin-top: 60px;
  background: var(--primary);
  color: var(--accent);
  padding: 42px 0 24px 0;
  border-top: 8px solid var(--retro-yellow);
  box-shadow: 0 -1px 10px #86683016;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--retro-yellow);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  opacity: 0.87;
  text-decoration: underline;
  transition: color 0.13s, opacity 0.12s;
}
.footer-nav a:hover {
  color: var(--retro-red);
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.footer-brand img {
  height: 30px;
  width: auto;
}
.footer-brand span {
  color: var(--retro-yellow);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 0.03em;
}

/* MISC UTILITY AND SPECIAL ELEMENTS */
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 18px;
  list-style: disc inside;
}
ul li, ol li {
  margin-bottom: 6px;
  padding-left: 3px;
}
ol {
  list-style: decimal inside;
}

.text-section a, .content-wrapper a {
  margin-top: 14px;
}
.tips {
  background: var(--retro-yellow);
  color: var(--primary);
  border-radius: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  padding: 13px 22px;
  margin-top: 20px;
  margin-bottom: 8px;
  box-shadow: 0 1px 5px 0 #f6e27a42;
}
.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 1.09rem;
}
.contact-infos img {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: middle;
}
.contact-infos li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
}
@media (max-width: 480px) {
  .contact-infos {
    font-size: 1.01rem;
    gap: 12px;
  }
}

/* CUSTOM DECORATIVE RETRO PATTERNS */
.section {
  background-image: none;
  position: relative;
}
.section::before {
  content: "";
  display: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--retro-yellow);
  color: var(--primary);
  box-shadow: 0 -2px 28px 0 #ae723444;
  z-index: 800;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 23px 12px 18px 16px;
  flex-wrap: wrap;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  animation: cookieBannerIn 0.5s cubic-bezier(.18,.9,.32,1.1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(88px); opacity: 0; }
  to   { transform: translateY(0px); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.15s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 7px #e3a75334;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings-btn:hover {
  background: var(--retro-orange);
  color: var(--white);
}
.cookie-banner .cookie-settings-btn {
  background: var(--retro-mint);
  color: var(--primary);
  border: 2px solid var(--retro-brown);
  margin-left: 8px;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--white);
  color: var(--retro-brown);
}

/* COOKIE MODAL DIALOG */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 999;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--card-radius);
  box-shadow: 0 11px 42px 0 #ae723448;
  transform: translate(-50%,-50%) scale(1);
  width: 97vw;
  max-width: 420px;
  padding: 32px 30px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  pointer-events: all;
  animation: cookieModalIn 0.44s cubic-bezier(.24,.75,.45,1.03);
}
.cookie-modal[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  display: none;
}
@keyframes cookieModalIn {
  from { transform: translate(-50%,-38%) scale(0.97); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--retro-brown);
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--retro-orange);
  margin-right: 4px;
}
.cookie-modal .cookie-category {
  background: var(--accent);
  border-radius: 11px;
  padding: 12px 18px 12px 16px;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--primary);
  border: 1.3px solid var(--retro-yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal button {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--retro-orange);
  color: var(--white);
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 19px;
  right: 18px;
  background: var(--retro-red);
  color: var(--white);
  font-size: 1.24rem;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: var(--white);
  color: var(--retro-red);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.42rem; }
  .hero {
    min-height: 220px;
  }
  .features-grid {
    gap: 14px;
  }
}

@media (max-width: 770px) {
  .hero .container { min-height: 180px; }
  .section, .hero .content-wrapper { padding: 20px 2vw; }
  .footer-nav { gap: 14px; font-size: 0.97rem; }
  .feature-item { max-width: 100%; min-width: 186px; }
  .card-container { gap: 14px; }
  .testimonial-card { padding: 15px 10px; }
  .footer-brand img { height: 24px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
  .content-wrapper, .text-section {
    gap: 10px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .section, .hero .container, .hero .content-wrapper {
    padding: 18px 3vw 22px 3vw;
    min-height: 0;
  }
  .testimonial-card {
    max-width: 100vw;
    padding: 16px 3vw 15px 3vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 500px) {
  .container { padding: 0 3vw; }
  body { font-size: 15px; }
  .hero .container,
  .section, .hero .content-wrapper {
    padding: 12px 1vw;
  }
  h1 { font-size: 1.13rem; }
  h2 { font-size: 1.02rem; }
  .cta-btn {
    font-size: 1rem;
    padding: 8px 18px;
  }
}

/* ACCESSIBLE HIDE/SHOW FOR JS */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* SCROLLBAR FOR RETRO */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--retro-yellow);
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #f8ecd0;
}

/* MICRO-INTERACTIONS */
.card, .feature-item, .testimonial-card, .section {
  transition: box-shadow .18s, transform .14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .section:hover {
  box-shadow: 0 6px 28px 0 #ae723474;
  transform: translateY(-3px) scale(1.012);
}

/* PRINT STYLES */
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
  .container, .section { box-shadow: none !important; background: #fff !important; }
}
