/* === VINTAGE/RETRO PALETTE EXTENSIONS === */
:root {
  --green: #265C37;
  --cream: #F6F0E2;
  --beige: #E5E2D5;
  --retro-orange: #D9712B;
  --retro-yellow: #EEDEB4;
  --retro-darkbrown: #3C3632;
  --retro-red: #B33123;
  --retro-blue: #277FA1;
  --retro-sky: #C4E2E3;
  --accent: #16506b;
  --white: #fff;
  --shadow: rgba(60, 54, 44, 0.12);
}
/* === CONTAINER & COMMON FLEX LAYOUTS === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
@media (min-width: 920px) {
  .content-wrapper {
    gap: 40px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--beige);
  border-radius: 18px;
  box-shadow: 0 5px 24px var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px var(--shadow);
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 22px var(--accent);
  transform: translateY(-2px) scale(1.03);
}
.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: var(--cream);
  border-radius: 22px;
  box-shadow: 0 3px 14px var(--shadow);
  margin-bottom: 20px;
  border-left: 8px solid var(--retro-orange);
  max-width: 720px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: var(--retro-darkbrown);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}
.testimonial-author {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: bold;
  color: var(--green);
  margin-left: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === NAVIGATION HEADER === */
header {
  width: 100%;
  background: var(--retro-yellow);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 0 0 0 0;
  z-index: 30;
  position: relative;
}
.logo-link img {
  height: 52px;
  margin: 10px 18px;
  filter: sepia(0.2) brightness(1.04);
}
.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--green);
  padding: 7px 16px;
  border-radius: 15px;
  transition: background 0.15s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: var(--retro-blue);
  color: var(--white);
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 68px;
}
/* Adjusted breakpoint from 1024px to 1275px with extra reductions */
@media (max-width: 1275px) {
  .main-nav {
    gap: 18px;
  }
  .logo-link img {
    height: 42px;
    margin: 6px 12px;
  }
  .main-nav a {
    font-size: 0.9rem;
    padding: 5px 12px;
  }
  header {
    min-height: 58px;
  }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
  }
  .main-nav {
    display: none;
  }
}

/* MOBILE MENU - OVERLAY DRAWER */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--green);
  cursor: pointer;
  margin-left: auto;
  margin-right: 10px;
  z-index: 101;
  transition: color 0.2s;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: var(--retro-yellow);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: -4px 0 12px var(--shadow);
  transition: transform 0.38s cubic-bezier(0.7,0.1,0.1,1.0);
  transform: translateX(100%);
}
.mobile-menu.open {
  left: 0;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--retro-red);
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 18px 27px 6px 0;
  cursor: pointer;
  z-index: 2020;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 35px 40px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: var(--green);
  background: var(--cream);
  padding: 8px 20px 8px 16px;
  border-radius: 17px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--white);
  background: var(--accent);
}

/* === HERO/BANNER & MAIN CTA === */
.subheadline {
  font-size: 1.14rem;
  color: var(--retro-darkbrown);
  margin-bottom: 16px;
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.2px;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--retro-orange);
  color: var(--white);
  font-weight: bold;
  font-size: 1.1rem;
  padding: 13px 36px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 10px var(--shadow);
  transition: background 0.15s, box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
  outline: none;
  margin-top: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent);
  color: var(--retro-yellow);
  box-shadow: 0 7px 30px var(--retro-orange);
  transform: translateY(-2px) scale(1.04);
}

/* === FEATURE GRID & LISTS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 13px;
  min-width: 230px;
  padding: 13px 19px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: var(--retro-darkbrown);
  position: relative;
  transition: box-shadow 0.23s, transform 0.14s;
}
.feature-grid li img {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
  filter: sepia(0.22) saturate(1.2);
}
.feature-grid li:hover {
  background: var(--retro-sky);
  color: var(--accent);
  box-shadow: 0 6px 24px var(--retro-blue);
  transform: translateY(-2px) scale(1.021);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 25px;
}
.services-list li {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 1px 6px var(--shadow);
  padding: 18px 24px 10px 20px;
}
.services-list h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: var(--accent);
  margin-bottom: 7px;
}
.services-list p {
  font-size: 0.99rem;
  color: var(--retro-darkbrown);
}

.text-section, .contact-info-list {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  margin-bottom: 12px;
}
.text-section ul,
.contact-info-list {
  margin-top: 9px;
  margin-bottom: 11px;
}
.text-section ul li,
.contact-info-list li {
  list-style: disc inside;
  margin: 6px 0 6px 13px;
  color: var(--green);
}

/* === FOOTER === */
footer {
  background: var(--green);
  color: var(--beige);
  padding: 0 0 0 0;
  box-shadow: 0 -3px 12px var(--shadow);
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 0 16px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0;
  justify-content: center;
}
.footer-nav a {
  color: var(--beige);
  font-size: 0.97rem;
  padding: 4px 14px;
  border-radius: 13px;
  background: rgba(255,255,255,0.09);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.13s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--retro-orange);
  color: var(--cream);
}
.footer-copy {
  font-size: 0.91rem;
  color: var(--retro-yellow);
  margin-bottom: 6px;
}

/* === SPACING, GAPS, FLEXBOX LAYOUTS ENFORCEMENT === */
/* already defined: .section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item */
@media (max-width: 900px) {
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 40px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.01rem; }
  .cta-button { font-size: 1rem; }
}

/* === RETRO/VINTAGE ELEMENTS - DECORATIVE, TYPOGRAPHY === */
body {
  background: var(--cream);
  /* Subtle retro pattern */
  background-image: repeating-linear-gradient(135deg, rgba(239,227,189,0.33) 0px, rgba(246,240,226,0.12) 28px, transparent 34px);
}

section {
  border-top: 5px double var(--retro-yellow);
  border-bottom: 3px dotted var(--retro-orange);
  background: var(--beige);
  box-shadow: 0 7px 27px 0 var(--shadow);
}

.card, .feature-grid li, .testimonial-card {
  border: 2px solid var(--retro-yellow);
  box-shadow: 0 2px 10px var(--shadow);
  border-radius: 13px;
}

.card::before, .feature-grid li::before {
  content: '';
  display: block;
  width: 11px;
  height: 40px;
  position: absolute;
  left: -13px;
  top: 14px;
  background: var(--retro-blue);
  border-radius: 7px;
  opacity: 0.07;
  z-index: 1;
}
.card:hover::before, .feature-grid li:hover::before {
  background: var(--retro-orange);
  opacity: 0.17;
}

blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  font-style: italic;
  color: var(--retro-darkbrown);
  margin-bottom: 0;
}

/* === BUTTONS / INTERACTIVES === */
button, .cta-button {
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.16s, color 0.14s, transform 0.13s;
  outline: none;
}
button:focus-visible {
  box-shadow: 0 0 0 3px var(--accent);
}

/* === FOCUSED STATE OUTLINE === */
:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: var(--retro-yellow);
  color: #2B2821;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -4px 24px var(--shadow);
  padding: 22px 14px 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.72,0.06,0.32,1.1), opacity 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  max-width: 650px;
  font-size: 1.01rem;
  color: #2B2821;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.cookie-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 30px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-right: 4px;
  transition: background 0.19s, color 0.14s, transform 0.17s;
}
.cookie-btn.secondary {
  background: var(--retro-orange);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-blue);
  color: var(--cream);
  transform: scale(1.03);
}
@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 7px 18px 12px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5000;
  background: rgba(44,39,30,0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.27s cubic-bezier(.71,.19,.57,.81);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: var(--beige);
  max-width: 380px;
  width: 90vw;
  max-height: 80vh;
  padding: 36px 30px 29px 26px;
  border-radius: 20px;
  box-shadow: 0 9px 30px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 5010;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--accent);
}
.cookie-modal__category {
  margin-bottom: 17px;
  padding-bottom: 9px;
  border-bottom: 1px dotted var(--retro-orange);
}
.cookie-modal__category label,
.cookie-modal__category legend {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: bold;
  color: var(--green);
}
.cookie-modal__toggles {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 5px;
}
.cookie-toggle input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--retro-orange);
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  color: var(--retro-red);
  font-size: 1.7rem;
  cursor: pointer;
}

/* === MEDIA QUERIES FOR RESPONSIVE TYPOGRAPHY & FLEX ORDER === */
@media (max-width: 440px) {
  h1, h2 { text-shadow: none; font-size: 1rem; }
  .testimonial-card { font-size: 0.94rem; }
}

/* === MISC RETRO CLASSIC ACCENTS === */
hr {
  border: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--retro-orange), var(--retro-orange) 25px, var(--retro-yellow) 25px, var(--retro-yellow) 50px);
  border-radius: 2px;
  margin: 38px 0;
}

/* === SCROLLBAR VINTAGE THEME === */
::-webkit-scrollbar {
  width: 10px;
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--retro-yellow);
  border-radius: 20px;
}

/* === FORMS (if added) === */
input, select, textarea {
  background: var(--cream);
  border: 2px solid var(--retro-yellow);
  border-radius: 13px;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--retro-darkbrown);
  box-shadow: 0 1px 4px var(--shadow);
  transition: border 0.18s, box-shadow 0.13s;
}
input:focus, select:focus, textarea:focus {
  border: 2px solid var(--retro-orange);
  box-shadow: 0 2px 15px var(--retro-orange);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 5px;
}

/* === PRINT (for policy/legal pages) === */
@media print {
  * {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .main-nav,
  .footer-nav,
  .cta-button,
  header,
  footer,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal { display: none !important; }
  section, .container, .content-wrapper {
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* === Z-INDEX MANAGEMENT FOR OVERLAYS === */
header, .mobile-menu, .cookie-banner, .cookie-modal { position: relative; z-index: auto; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 4000; }
.cookie-modal { z-index: 5000; }