/* ============================================== */
/* CSS 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, 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;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F5F4;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
a {
  color: #264D2D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #AD7927;
}
ul, ol {
  margin-left: 1.2em;
  padding-left: 1.2em;
}

/* ============================================== */
/* BRAND COLORS & FONTS                          */
/* ============================================== */
:root {
  --primary: #264D2D;
  --primary-dark: #1d3721;
  --secondary: #F5F5F4;
  --secondary-dark: #eadaaa;
  --accent: #AD7927;
  --accent-light: #D5BC95;
  --retro-green: #35693F;
  --retro-peach: #FFE3B3;
  --retro-brown: #99743D;
  --retro-cream: #F5EEE0;
  --retro-red: #A13828;
  --retro-blue: #3D6B99;
  --display-font: 'Montserrat', 'Arial Rounded MT', Arial, sans-serif;
  --body-font: 'Open Sans', Arial, sans-serif;
}

/* ============================================== */
/* VINTAGE RETRO TYPOGRAPHY                      */
/* ============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  letter-spacing: 1px;
  font-weight: 800;
}
h1 {
  font-size: 2.75rem;
  color: var(--primary);
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 var(--accent-light);
}
h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 var(--retro-peach);
}
h3 {
  font-size: 1.3rem;
  color: var(--retro-green);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--accent);
}
p, li, ul, ol, blockquote {
  font-family: var(--body-font);
  font-size: 1rem;
  color: #333;
}
blockquote {
  font-family: var(--display-font);
  font-size: 1.15rem;
  color: var(--primary);
  margin: 0 0 8px 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  background-color: var(--retro-cream);
  border-radius: 10px;
}
strong {
  color: var(--accent);
}

/* ============================================== */
/* LAYOUT: CONTAINERS & FLEXBOX                  */
/* ============================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--retro-cream);
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(44,34,17,0.09);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 32px 22px 24px 22px;
}
.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;
}

/* Grid for features (services, index), project-list (projects) */
.features-grid, .process-steps, .project-list, .team-list, .tips-list, .faq-list, .guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 26px;
  background: var(--retro-peach);
  border-radius: 16px;
  border: 2px solid var(--retro-brown);
  box-shadow: 0 2px 10px rgba(153,116,61,0.11);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Card & Card-like section spacing and layouts */
.feature, .process-step, .project-summary, .tip, .faq-item, .team-member {
  background: var(--retro-cream);
  border: 2px solid var(--retro-brown);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(44,34,17,0.05);
  padding: 22px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  flex: 1 1 270px;
}
.project-summary {
  min-width: 260px;
  flex: 1 1 310px;
}
/* For team, tips, faq to look retro as well */
.team-member, .tip, .faq-item {
  background: var(--retro-peach);
  border: 2px dashed var(--accent);
  border-radius: 14px;
  padding-top: 18px;
}

.team-list, .tips-list, .faq-list, .guide-list {
  gap: 20px;
}
.guide-list ul, .seasonal-tips ul {
  padding-left: 1.3em;
  margin-top: 10px;
  margin-bottom: 10px;
}

.seasonal-tips {
  background: var(--retro-cream);
  border-radius: 12px;
  border: 1.5px dotted var(--accent);
  padding: 16px 14px;
  margin-bottom: 18px;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 25px;
}
.contact-details img {
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ============================================== */
/* RETRO NOSTALGIC ELEMENTS & PATTERNS           */
/* ============================================== */
body {
  background: repeating-linear-gradient(135deg, var(--secondary) 0px, var(--secondary) 22px, #F5EEE0 22px, #F5EEE0 44px);
}
.section, header, footer {
  background: var(--secondary);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 40px rgba(44,34,17,0.05);
}

.hero {
  background: var(--retro-cream);
  border-bottom: 8px double var(--primary);
  padding-top: 40px;
  padding-bottom: 38px;
  margin-bottom: 54px;
  position: relative;
}
.hero:after { /* Horizontal retro lines */
  content: "";
  display: block;
  position: absolute;
  left: 60px; right: 60px;
  bottom: 0;
  height: 7px;
  background: repeating-linear-gradient(to right, var(--retro-brown), var(--retro-brown) 16px, transparent 16px, transparent 26px);
  pointer-events: none;
  opacity: 0.25;
}

.cta {
  background: var(--retro-peach);
  border-bottom: 6px dashed var(--accent);
  border-radius: 30px 30px 32px 32px;
  box-shadow: 0 3px 24px rgba(230,200,165,0.04);
}

/* ============================================== */
/* HEADER & NAVIGATION STYLES                    */
/* ============================================== */
header {
  width: 100%;
  background: var(--secondary);
  padding-top: 14px;
  border-radius: 0 0 40px 40px;
  position: relative;
  box-shadow: 0 4px 32px rgba(153,116,61,0.06);
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
a.cta-button {
  background: var(--accent);
  color: #fff;
  font-family: var(--display-font);
  font-weight: 700;
  border-radius: 28px;
  padding: 12px 36px;
  font-size: 1.13rem;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  box-shadow: 0 3px 12px rgba(44,34,17,0.07);
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.12s;
  margin-left: 8px;
  cursor: pointer;
}
a.cta-button:hover, a.cta-button:focus {
  background: var(--primary);
  color: #FFE3B3;
  border: 2px solid var(--accent);
  transform: translateY(-2px) scale(1.05);
}
nav.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav.main-nav a {
  font-family: var(--display-font);
  font-size: 1.08rem;
  text-transform: uppercase;
  color: var(--primary);
  background: none;
  padding: 8px 19px 7px 12px;
  border-radius: 23px;
  transition: background 0.2s, color 0.2s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--retro-peach);
  color: var(--accent);
}

header img, .footer-branding img {
  height: 46px;
  width: auto;
  vertical-align: middle;
}

/* ============================================== */
/* FOOTER                                        */
/* ============================================== */
footer {
  width: 100%;
  background: var(--retro-cream);
  border-radius: 50px 50px 0 0;
  box-shadow: 0 -3px 28px rgba(44,34,17,0.07);
  padding: 34px 0 18px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-branding {
  flex: 1 1 130px;
  margin-bottom: 15px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.contact-short {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
}
.contact-short img {
  width: 19px;
  vertical-align: sub;
  margin-right: 6px;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* ============================================== */
/* MOBILE MENU (Burger)                          */
/* ============================================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 80;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 42px;
  padding: 12px 17px 9px 17px;
  font-size: 2rem;
  box-shadow: 0 2px 10px rgba(44,34,17,0.15);
  cursor: pointer;
  transition: background 0.2s, transform 0.16s;
}
.mobile-menu-toggle:active {
  background: var(--primary);
  transform: scale(0.97);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--secondary);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.84,-0.17,.48,1.23);
  box-shadow: 8px 0 42px 0 rgba(153,116,61,0.11);
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 12px 26px 24px 0;
  font-size: 2.1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 29px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s;
  box-shadow: 0 2px 10px rgba(44,34,17,0.13);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  transform: scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 1.18rem;
  padding: 11px 0;
  min-width: 185px;
  border-radius: 17px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-peach);
  color: var(--accent);
}

/* ============================================== */
/* BUTTONS & MICRO-INTERACTIONS                  */
/* ============================================== */
button, .cta-button {
  outline: none;
  cursor: pointer;
  appearance: none;
}
button, .cta-button {
  transition: background 0.18s, color 0.18s, transform 0.13s, box-shadow 0.19s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* ============================================== */
/* TRANSITIONS FOR HOVER EFFECTS                  */
/* ============================================== */
.feature:hover, .process-step:hover, .project-summary:hover, .tip:hover, .team-member:hover, .faq-item:hover {
  box-shadow: 0 4px 24px rgba(44,34,17,0.12);
  border-color: var(--primary);
  background: #FFF6D8;
  transform: translateY(-2px) scale(1.012);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 50px rgba(44,34,17,0.14);
  border-color: var(--accent);
  background: #F9F4D7;
  transform: translateY(-3px) scale(1.012);
}
nav.main-nav a:active { color: var(--accent); }

/* ============================================== */
/* TESTIMONIALS                                  */
/* ============================================== */
.testimonials {
  margin-top: 30px;
}
.testimonial-meta {
  font-family: var(--body-font);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--retro-brown);
  margin-left: 1.2em;
}


/* ============================================== */
/* RESPONSIVE DESIGN (MOBILE-FIRST)              */
/* ============================================== */
@media (max-width: 1110px) {
  .container {
    max-width: 94vw;
  }
  .features-grid, .process-steps, .project-list{
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .features-grid, .process-steps, .project-list {
    gap: 17px;
  }
  .footer-branding img{
    height:34px;
  }
}
@media (max-width: 768px) {
  .container, main, body {
    padding-left: 0px;
    padding-right: 0px;
    width: 100vw;
    min-width: 0;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 26px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
    border-radius: 0 0 24px 24px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .features-grid, .process-steps, .project-list, .team-list, .tips-list, .faq-list, .guide-list {
    flex-direction: column;
    gap: 15px;
  }
  .feature, .project-summary, .process-step, .tip, .faq-item, .team-member {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 19px;
    margin-bottom:10px;
  }
  .social-links {
    margin-bottom: 13px;
  }
  .footer-branding {
    margin-bottom: 8px;
  }
}
@media (max-width:600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .mobile-nav {
    padding-left: 16px;
  }
  footer{
    padding-left:5px;padding-right:5px;
  }
}
@media (max-width: 900px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    z-index: 999;
  }
}
@media (min-width: 900px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

/* ============================================== */
/* COOKIE CONSENT BANNER & MODAL                  */
/* ============================================== */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--retro-peach);
  color: #222;
  box-shadow: 0 -6px 38px rgba(153,116,61,0.13);
  border-top: 3px double var(--accent);
  padding: 22px 10px 22px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(.87,-0.01,.31,1.13), opacity 0.22s;
}
#cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
#cookie-consent-banner .cookie-message {
  flex: 1 1 250px;
  min-width: 180px;
}
#cookie-consent-banner button {
  margin-right: 6px;
  background: var(--accent);
  color: #fff;
  font-family: var(--display-font);
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 20px;
  font-size: 1rem;
  transition: background 0.18s, transform 0.12s;
  cursor: pointer;
}
#cookie-consent-banner button:hover, #cookie-consent-banner button:focus {
  background: var(--primary);
}
#cookie-consent-banner .cookie-settings {
  background: var(--primary);
  color: var(--retro-peach);
  border: 2px solid var(--accent);
  margin-left: 5px;
}
#cookie-consent-banner .cookie-settings:hover, #cookie-consent-banner .cookie-settings:focus {
  background: #FFF9EC;
  color: var(--primary);
  border: 2px solid var(--primary);
}

#cookie-preference-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  min-width: 320px;
  max-width: 90vw;
  z-index: 2010;
  background: var(--secondary);
  padding: 32px 24px 26px 24px;
  border-radius: 22px;
  box-shadow: 0 8px 44px rgba(153,116,61,0.19);
  border: 4px double var(--accent);
  font-family: var(--body-font);
  font-size: 1rem;
  color: #262626;
  opacity: 1;
  transition: opacity 0.18s, transform 0.17s;
}
#cookie-preference-modal.open {
  display: block;
  animation: showCookieModal 0.3s cubic-bezier(.84,-0.17,.48,1.23) both;
}
@keyframes showCookieModal {
  from { opacity:0; transform: translate(-50%,-60%) scale(0.9); }
  to { opacity:1; transform: translate(-50%,-50%) scale(1); }
}
#cookie-preference-modal h2 {
  font-size: 1.18rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: var(--display-font);
  text-shadow: 1px 1px 0 #FFE3B3;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.cookie-category label {
  font-weight: 700;
  color: var(--primary);
}
.cookie-toggle {
  appearance: none;
  width: 41px;
  height: 24px;
  background: var(--accent-light);
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.13s;
  margin-right: 7px;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle::before {
  content: "";
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-locked {
  filter: grayscale(0.8) opacity(0.7) !important;
}
#cookie-preference-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 20px;
}
#cookie-preference-modal button {
  background: var(--accent);
  color: #fff;
  font-family: var(--display-font);
  border: none;
  border-radius: 18px;
  padding: 8px 20px;
  font-weight: 700;
  transition: background 0.2s;
}
#cookie-preference-modal button:hover, #cookie-preference-modal button:focus {
  background: var(--primary);
}
#cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2005;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(230, 200, 150, 0.56);
  transition: opacity 0.15s;
}
#cookie-modal-overlay.open{
  display: block;
}

@media(max-width:500px){
  #cookie-consent-banner{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 9px 17px 8px;
    font-size: 0.92rem;
  }
  #cookie-preference-modal{
    padding: 18px 8px 13px 8px;
    font-size: 0.97rem;
  }
}

/* === Remove unwanted scroll on body if modal/menu active === */
body.menu-open,
body.modal-open {
  overflow: hidden !important;
  position: relative;
}

/* ============================================== */
/* LIST STYLE VINTAGE PATTERN                    */
/* ============================================== */
ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 6px;
  padding-left: 5px;
  list-style-position: inside;
}
ul li::marker {
  color: var(--accent);
  font-weight: 900;
}
ol li::marker {
  color: var(--primary);
  font-weight: 900;
}

/* ============================================== */
/* MISC: FORMS, FOCUSED INPUTS/ACCESSIBILITY     */
/* ============================================== */
input, textarea, select {
  font-family: var(--body-font);
  font-size: 1rem;
  border-radius: 9px;
  padding: 8px 10px;
  border: 1.5px solid var(--accent-light);
  outline: none;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(44,34,17,0.06);
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  background: #FFF9EC;
}

/* FOR ACCESSIBILITY: focus visible in forms */
button:focus, a:focus, input:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================== */
/* RETRO SHAPES, BADGES, DETAILS                 */
/* ============================================== */
.badge-cta {
  display: inline-block;
  background: var(--retro-red);
  color: #fff;
  font-family: var(--display-font);
  font-size: 0.92rem;
  padding: 6px 15px;
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 1px 6px rgba(161, 56, 40, 0.13);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  top: -3px;
  left: 8px;
  margin-bottom: 6px;
}

/* ============================================== */
/* PRINT STYLES (optional, retro header/footer)  */
/* ============================================== */
@media print {
  header, footer, .mobile-menu, #cookie-consent-banner { display: none !important; }
  body { background: #fff !important; }
}