/* ==== 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, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.54;
  background: #F4E9DC;
  color: #203051;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
}
button, input, select, textarea {
  font: inherit;
  margin: 0;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}
:focus {
  outline: 2px dashed #37CA9A;
  outline-offset: 2px;
}

/* ==== VINTAGE RETRO: COLOR PALETTE ==== */
:root {
  --primary: #203051;
  --secondary: #37CA9A;
  --accent: #F4E9DC;
  --retro-red: #E63C3B;
  --retro-gold: #F7B14A;
  --retro-blue: #3A64A3;
  --retro-green: #74AD72;
  --retro-brown: #825A36;
  --white: #fff;
  --black: #1D1D1D;
  --shadow-vintage: 0 2px 12px 0 rgba(32,48,81,0.13);
  --radius-vintage: 14px;
  --border-vintage: 2px solid #d1c19b;
  --pattern-stripes: repeating-linear-gradient(135deg, #F7B14A 0 8px, #F4E9DC 8px 16px);
}

/* ==== FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--primary);
  text-shadow: 1px 1px 0 #fff3ec;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.05rem; }
p, li, span, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--retro-brown);
  font-size: 1.18rem;
  margin-bottom: 20px;
}

/* ==== VINTAGE/RETRO PATTERNS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-vintage);
  box-shadow: var(--shadow-vintage);
  border: var(--border-vintage);
  position: relative;
}
.section:nth-child(odd) {
  background: var(--accent);
}
.section:nth-child(even) {
  background: #fffef8;
}

/* Decorative stripes for hero/important sections */
.section:first-of-type::before,
.section.cta-section::before {
  content: "";
  display: block;
  position: absolute;
  top: -14px; left: 0;
  width: 100%; height: 14px;
  background: var(--pattern-stripes);
  border-top-left-radius: var(--radius-vintage);
  border-top-right-radius: var(--radius-vintage);
  z-index: 1;
}


/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: #fffef8;
  box-shadow: var(--shadow-vintage);
  border: var(--border-vintage);
  border-radius: var(--radius-vintage);
  margin-bottom: 20px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 230px;
  max-width: 100%;
}
.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;
}
.text-section {
  flex: 1 1 290px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: none;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-list > div {
  background: #fffef8;
  border: var(--border-vintage);
  border-radius: var(--radius-vintage);
  padding: 24px 19px 19px 19px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 100%;
  box-shadow: var(--shadow-vintage);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-list > div:hover {
  box-shadow: 0 2px 20px 0 #e7c07280;
  transform: translateY(-5px) scale(1.025);
  z-index: 2;
}

/* ==== NAVIGATION ==== */
header {
  width: 100%;
  background: var(--primary);
  border-bottom: 4px solid var(--retro-gold);
  box-shadow: 0 10px 30px -8px #22305119;
  z-index: 30;
  position: relative;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  min-height: 74px;
}
header img {
  height: 48px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.12s;
  position: relative;
}
.main-nav a:not(.primary):hover, .main-nav a:not(.primary):focus {
  background: var(--secondary);
  color: var(--primary);
}
.main-nav .button.primary {
  background: var(--retro-gold);
  color: var(--primary);
  box-shadow: 0 2px 9px #e4ac4988;
  margin-left: 12px;
  font-size: 1rem;
}

/* BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.05rem;
  color: var(--retro-gold);
  padding: 4px 16px;
  border-radius: 8px;
  margin-left: 18px;
  z-index: 98;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--retro-gold);
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  z-index: 1020;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #203051ef;
  transition: transform 0.35s cubic-bezier(.6,.04,.4,1.03);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 36px #0007;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 18px 0;
  padding: 0 10px;
  font-size: 2rem;
  background: var(--retro-gold);
  color: var(--primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 8px #f7b14a42;
  transition: background 0.16s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  padding: 0 40px;
  margin-top: 14px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 12px 0 10px 10px;
  border-bottom: 1.5px dashed #fff3;
  width: 100%;
  transition: background 0.18s, color 0.18s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Hide burger/nav logic (handled via JS, but CSS base for mobile) */
@media (max-width: 970px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 971px) {
  .mobile-menu { display: none !important; }
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 42px 0 14px 0;
  border-top: 4px solid var(--retro-gold);
  font-size: .97rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
footer img {
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 1px #0001);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  padding: 4px 0;
  transition: color .16s, background .16s;
}
.footer-nav a:hover {
  background: var(--retro-gold);
  color: var(--primary);
  padding-left: 8px;
}
footer address, footer a[href^="mailto"] {
  color: #fff8f2;
}
footer address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.65;
}

/* ==== BUTTONS ==== */
.button, .main-nav .button, .service-list a.button, .mobile-nav .button, .newsletter-signup .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  background: var(--retro-gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 11px;
  box-shadow: 0 2px 9px #dab97f46;
  text-shadow: none;
  font-size: 1.10rem;
  letter-spacing: .02em;
  line-height: 1.0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.20s, color .16s, transform 0.1s;
  margin-top: 10px;
}
.button.primary {
  background: var(--secondary);
  color: var(--primary);
}
.button:hover, .button:focus {
  background: var(--retro-red);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px #e63c3b1e;
}
.button.primary:hover, .button.primary:focus {
  background: var(--primary);
  color: var(--retro-gold);
}

/* ==== CARD STYLES ==== */
.featured-posts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.featured-posts-list article {
  background: #fffef8;
  border: var(--border-vintage);
  border-radius: var(--radius-vintage);
  box-shadow: var(--shadow-vintage);
  padding: 23px 16px 19px 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 210px;
  flex: 1 1 220px;
  position: relative;
  margin-bottom: 18px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.featured-posts-list article:hover {
  box-shadow: 0 2px 18px #3A64A370;
  transform: scale(1.02);
  z-index: 2;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--retro-green);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  background: var(--accent);
  padding: 2px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 7px;
}

/* ==== TEXT LISTS & ICONS ==== */
ul li, ol li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  font-size: 1.09em;
  color: var(--retro-brown);
}
ul li:before {
  content: '★';
  color: var(--retro-gold);
  position: absolute;
  left: 0;
  font-size: 1.15em;
  font-family: 'Montserrat', Arial, sans-serif;
  top: 2px;
}
ul li img {
  max-width: 23px;
  height: auto;
  margin-right: 11px;
  position: absolute;
  left: 0;
  top: 2px;
}
ul li:has(img) {
  padding-left: 34px;
}
ul li:has(img):before {
  content: none;
}
ul, ol {
  margin-bottom: 0 !important;
}
ul li:last-child {
  margin-bottom: 0;
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fffdec;
  border: 2.5px solid var(--retro-gold);
  box-shadow: 0 2px 14px #e4ad4942;
  border-radius: 15px;
  margin-bottom: 24px;
  min-width: 240px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  font-weight: bold;
}
.testimonial-card span:last-child {
  margin-left: 17px;
  color: #faaf25;
  font-size: 1.12rem;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: var(--primary);
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px #7a3e1b1a;
  transform: scale(1.017);
  z-index: 1;
}

/* ==== BLOG CATEGORY SECTION ==== */
.blog-categories {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.blog-categories a {
  color: var(--retro-blue);
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 8px;
  background: #e3e0da;
  transition: background 0.18s, color 0.18s;
  border: 1.2px solid #c4b5a1;
}
.blog-categories a:hover,
.blog-categories a:focus {
  background: var(--retro-gold);
  color: var(--primary);
}

/* ==== NEWSLETTER ==== */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
  align-items: flex-end;
}
.newsletter-signup label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.05rem;
  margin-right: 8px;
}
.newsletter-signup input[type="email"] {
  border: 2px solid var(--retro-blue);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 1em;
  background: #fffef8;
  color: var(--primary);
  margin-bottom: 0;
  min-width: 190px;
  margin-right: 7px;
  transition: border 0.18s;
}
.newsletter-signup input[type="email"]:focus {
  border: 2.5px solid var(--secondary);
}

/* ==== COOKIE CONSENT BAR ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2100;
  background: #fffddd;
  border-top: 3.5px solid var(--retro-gold);
  box-shadow: 0 -2px 24px #de93371e;
  padding: 22px 18px 18px 18px;
  font-size: 1.09em;
  color: var(--primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 19px;
  animation: cookie-slidein 0.7s cubic-bezier(.61,.17,.43,1) 1;
}
@keyframes cookie-slidein {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin: 0 6px;
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 7px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--retro-gold);
  color: var(--primary);
  cursor: pointer;
  border: none;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .primary {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--retro-red);
  color: #fff;
}

/* Cookie Preferences Modal */
#cookie-modal {
  position: fixed;
  z-index: 2200;
  left: 50%; top: 50%;
  transform: translate(-50%, -45%) scale(0.98);
  min-width: 310px;
  max-width: 89vw;
  background: #fffdec;
  border: 3px solid var(--retro-gold);
  border-radius: var(--radius-vintage);
  box-shadow: 0 7px 34px #d5a12a25;
  padding: 32px 18px 16px 18px;
  display: none;
  flex-direction: column;
  gap: 15px;
  animation: modalPop 0.38s cubic-bezier(.48,.2,.68,.98) 1;
}
@keyframes modalPop {
  0% { opacity: 0; transform: translate(-50%, -42%) scale(.71); }
  90% { opacity: 1; transform: translate(-50%, -48%) scale(1.03); }
  100% { opacity: 1; transform: translate(-50%, -45%) scale(0.98);}
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-weight: 700;
  color: var(--retro-brown);
  font-size: 1.08rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.4px solid #9b987f;
  margin-right: 7px;
}
#cookie-modal .button {
  margin-top: 10px;
}
#cookie-modal .category-disabled label {
  color: #b5aa98;
}
#cookie-modal .category-disabled input {
  filter: grayscale(.7) opacity(0.72);
}
#cookie-modal .close {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  color: var(--retro-red);
  font-size: 1.32rem;
  cursor: pointer;
}
#cookie-modal .close:hover {
  color: var(--retro-blue);
}

/* ==== RESPONISVE DESIGN/MOBILE-FIRST ==== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.02rem; }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .main-nav {
    display: none !important;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .card-container, .service-list, .featured-posts-list, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .section {
    padding: 22px 6px;
    margin-bottom: 32px;
  }
  .card, .service-list > div, .testimonial-card, .featured-posts-list article {
    min-width: 0;
    width: 100%;
    margin-bottom: 14px;
    padding-left: 10px; padding-right: 10px;
  }
  .newsletter-signup {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .blog-categories ul {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-banner {
    padding: 18px 5px 14px 5px;
    font-size: 1em;
    flex-direction: column;
    gap: 9px;
  }
  #cookie-modal {
    padding: 14px 6px 13px 8px;
  }
  .testimonial-card {
    font-size: .98em;
    min-width: 0;
  }
}

@media (max-width: 540px) {
  .section {
    padding: 13px 2px;
  }
  .card, .service-list > div, .testimonial-card, .featured-posts-list article {
    padding: 10px 4px;
    font-size: .97em;
  }
  .blog-categories ul {
    flex-direction: column;
    gap: 7px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 5px;
  }
  footer .container {
    gap: 7px;
  }
}

/* ==== UTILITY ==== */
.flex {
  display: flex !important;
}
.flex-col {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.flex-center {
  align-items: center !important;
  justify-content: center !important;
}
.gap-20 {
  gap: 20px !important;
}

/* ==== ANIMATION INTERACTIONS ==== */
.button, .main-nav a, .service-list > div, .card, .testimonial-card, .featured-posts-list article {
  transition: box-shadow 0.21s, transform 0.17s, background 0.16s, color 0.16s;
}

/* ==== MISC (FORMS, ETC) ==== */
input, textarea {
  border-radius: 7px;
  border: 1.5px solid #bda976;
  padding: 7px 12px;
  margin-bottom: 6px;
  font-size: 1.09rem;
  background: #fdfbf6;
  transition: border .19s;
}
input:focus, textarea:focus {
  border-color: var(--retro-blue);
}
/* Newsletter specifics in section above */

/* ==== PRINT FRIENDLY ==== */
@media print {
  * { background: #fff !important; color: #1a1a1a !important; box-shadow: none !important; }
  .mobile-menu, .mobile-menu-toggle, header, footer, .cookie-banner, #cookie-modal { display: none !important; }
}
