/* ======================
   CSS RESET & BASE STYLES
   ====================== */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F3EF;
  color: #222;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button,
input[type="button"],
input[type="submit"] {
  font: inherit;
  outline: none;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ============
   FONT IMPORTS
   ============ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700,900&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F7F3EF;
  color: #2c2a29;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #29594B;
  font-weight: 900;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 #fff3ee, 2px 2px 0 #c1b29b;
}
h2 {
  font-size: 1.88rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/*  =====================
    VINTAGE RETRO COLORS
    ===================== */
:root {
  --primary: #29594B;
  --secondary: #73B982;
  --accent: #F7F3EF;
  --vintage-yellow: #FFBF46;
  --vintage-brown: #AF8260;
  --vintage-blue: #3B6CA8;
  --vintage-red: #E06666;
  --vintage-bg: #F7F3EF;
  --vintage-card: #FFF8F2;
  --text-dark: #222;
  --text-light: #F7F3EF;
}

/* ================
   LAYOUT & CONTAINER
   ================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--vintage-card);
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(44,32,2,0.09);
  padding: 32px 16px;
}
.text-section {
  background: var(--vintage-card);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(44,32,2,0.06);
  padding: 32px 24px;
  margin-bottom: 30px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--vintage-card);
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(44,32,2,0.07);
  padding: 24px 18px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(44,32,2,0.09);
  border-radius: 22px;
  padding: 20px 28px;
  margin-bottom: 20px;
  border: 2px dashed var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
}
.testimonial-card p {
  color: #222;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--vintage-brown);
  font-weight: 700;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--vintage-card);
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(44,32,2,0.05);
  margin-bottom: 20px;
  padding: 18px 14px;
}

/* =============
   NAVIGATION
   ============= */
header {
  background: var(--primary);
  box-shadow: 0 2px 16px 0 rgba(42,89,75,0.10);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}
.main-nav > a img {
  height: 42px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 6px;
  padding: 5px 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--vintage-yellow);
  color: var(--primary);
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--vintage-yellow);
  color: var(--primary);
  font-weight: 900;
  border-radius: 8px;
  padding: 11px 26px;
  font-size: 1rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px 0 rgba(42,89,75,.07);
  transition: background 0.2s, color 0.2s, transform 0.18s;
  margin-left: 18px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--vintage-brown);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
  box-shadow: 0 2px 6px 0 rgba(115,185,130,.08);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--primary);
  color: #fff3ee;
  transform: translateY(-2px) scale(1.04);
}

/* ================
   MOBILE NAVIGATION
   ================ */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 1101;
  font-size: 2rem;
  background: var(--vintage-yellow);
  color: var(--primary);
  border-radius: 8px;
  border: none;
  padding: 7px 18px 8px 18px;
  margin-left: auto;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 2px 6px 0 rgba(255,191,70,0.12);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vintage-brown);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  z-index: 1110;
  transform: translateX(-100%);
  transition: transform 0.30s cubic-bezier(.6,.06,.23,.98);
  box-shadow: 6px 0 24px 0 rgba(44,32,2,0.13);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  font-size: 2.2rem;
  background: var(--vintage-yellow);
  color: var(--primary);
  border-radius: 50%;
  padding: 7px 17px 9px 17px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(255,191,70,0.11);
  cursor: pointer;
  z-index: 1120;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vintage-brown);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 36px 36px 44px;
  width: 100%;
}
.mobile-nav a {
  color: var(--vintage-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 11px 0;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-brown);
  color: #fff;
}

/* == RESPONSIVE NAVIGATION == */
@media (max-width: 1024px) {
  .main-nav ul {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 8px;
  }
  .cta-primary {
    padding: 9px 12px;
    margin-left: 4px;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 10px;
  }
  .main-nav {
    padding: 8px 0;
  }
}

/* =======================
   HERO & FEATURE SECTIONS
   ======================= */
.hero {
  background: repeating-linear-gradient(135deg, var(--vintage-yellow) 0 16px, var(--vintage-bg) 16px 32px);
  border-bottom: 7px double var(--vintage-brown);
  padding-bottom: 44px;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  background: rgba(255,248,242,.89);
  border: 2px solid var(--primary);
  max-width: 500px;
  align-items: center;
  box-shadow: 0 6px 32px 0 rgba(42,89,75,.10);
}
.hero h1 {
  color: var(--primary);
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.hero p {
  color: var(--primary);
  text-align: center;
  margin-bottom: 14px;
  font-size: 1.15rem;
}
.hero .cta-primary {
  margin-top: 8px;
}

.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 16px;
}
.features li {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 2px dotted var(--secondary);
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(44,32,2,0.07);
  padding: 20px 14px 16px 20px;
  font-size: 1rem;
  min-width: 203px;
  transition: box-shadow 0.18s, border 0.15s;
}
.features li img {
  height: 34px;
  margin-bottom: 14px;
}
.features li strong {
  margin-bottom: 3px;
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.features li:hover {
  box-shadow: 0 4px 20px 0 rgba(42,89,75,0.16);
  border: 2px solid var(--vintage-yellow);
  background: #f6edda;
}

.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.services ul li {
  flex: 1 1 240px;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(44,32,2,0.07);
  padding: 17px 10px 14px 18px;
  color: var(--primary);
  border-left: 7px solid var(--secondary);
  position: relative;
  margin-bottom: 20px;
}
.services ul li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.07rem;
}
.service-price {
  color: var(--vintage-brown);
  background: var(--vintage-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 3px 14px;
  margin-top: 3px;
  font-size: 0.97rem;
  display: inline-block;
}

/* ===============
   CONTACT DETAILS
   =============== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 20px 0;
}
.contact-details a {
  color: var(--primary);
  border-bottom: 1px dashed var(--vintage-yellow);
  transition: color 0.17s;
}
.contact-details a:hover {
  color: var(--vintage-brown);
}
.map-placeholder {
  margin-top: 18px;
  border: 2px dashed var(--secondary);
  border-radius: 13px;
  padding: 20px;
  background: var(--accent);
  color: var(--primary);
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ================
   LEGAL SECTIONS
   =============== */
.legal-section {
  background: var(--vintage-bg);
  border: 2px dashed var(--vintage-yellow);
  border-radius: 17px;
  margin-bottom: 60px;
}
.legal-section h1,
.legal-section h2,
.legal-section h3 {
  color: var(--primary);
}

/* ================
   FOOTER STYLES
   ================ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 24px 0 0 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 16px 20px 16px;
}
.footer-content nav {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.02rem;
  padding: 12px 0 8px 0;
}
.footer-content nav a {
  color: #fff;
  margin: 0 7px;
  padding-bottom: 1px;
  border-bottom: 1px dotted #FFBF46;
  transition: color 0.12s, border 0.12s;
}
.footer-content nav a:hover {
  color: var(--vintage-yellow);
  border-bottom: 1px solid var(--vintage-yellow);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #f6f5ed;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
}
.footer-contact a {
  color: var(--vintage-yellow);
  transition: color 0.13s;
}
.footer-contact a:hover {
  color: #fff;
}

/* ==============
   THANK YOU PAGE
   =============*/
.thank-you-section .content-wrapper {
  align-items: center;
  background: var(--vintage-card);
  border: 2px solid var(--vintage-yellow);
  box-shadow: 0 2px 16px 0 rgba(255,191,70,0.09);
}
.thank-you-section ul {
  margin-top: 8px;
  margin-bottom: 13px;
  padding-left: 18px;
  text-align: left;
  list-style: disc;
}
.thank-you-section a.cta-primary {
  margin-top: 12px;
}

/* ===========
   QUOTES
   =========== */
blockquote {
  font-style: italic;
  color: var(--vintage-blue);
  border-left: 4px solid var(--vintage-yellow);
  padding-left: 22px;
  margin: 14px 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: #f5fceb;
  border-radius: 5px;
}

/* ================
   BUTTONS GENERAL
   ================ */
button, .cta-primary, .cta-secondary {
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.12s;
}

/* ================
   COOKIE CONSENT
   ================ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: var(--vintage-yellow);
  color: var(--primary);
  box-shadow: 0 -4px 20px 0 rgba(42,89,75,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 12px 18px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  border-top: 3px double var(--vintage-brown);
  outline: 2px solid var(--vintage-yellow);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.32s cubic-bezier(.54,.06,.23,.99);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-btn {
  margin-left: 10px;
  margin-right: 5px;
  padding: 6px 20px;
  border-radius: 5px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.17s, color 0.14s, box-shadow 0.16s;
  box-shadow: 0 2px 6px 0 rgba(44,32,2,0.09);
}
.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn-accept:hover,
.cookie-btn-accept:focus {
  background: var(--secondary);
  color: var(--vintage-yellow);
}
.cookie-btn-reject {
  background: var(--vintage-brown);
  color: #fff;
}
.cookie-btn-reject:hover,
.cookie-btn-reject:focus {
  background: var(--vintage-red);
  color: #fff;
}
.cookie-btn-settings {
  background: var(--vintage-yellow);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: var(--vintage-brown);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 44px 0 rgba(42,89,75,0.14);
  z-index: 1600;
  min-width: 92vw;
  max-width: 420px;
  padding: 26px 18px 22px 18px;
  opacity: 1;
  transition: opacity 0.3s, transform 0.32s cubic-bezier(.54,.06,.23,.99);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 60%) scale(0.92);
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 14px;
  font-weight: 900;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  background: var(--vintage-card);
  border-radius: 8px;
}
.cookie-modal label input[type="checkbox"]:disabled + span {
  opacity: 0.6;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  min-width: 112px;
}
.cookie-modal .modal-close {
  background: none;
  color: var(--vintage-brown);
  border: none;
  padding: 0 12px;
  font-size: 1.8rem;
  position: absolute;
  top: 12px;
  right: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.09s, color 0.09s;
}
.cookie-modal .modal-close:hover {
  background: var(--vintage-yellow);
  color: var(--primary);
}

/* =================
   MISC RETRO DETAILS
   ================= */
::-webkit-scrollbar {
  width: 10px;
  background: #e9e2cd;
}
::-webkit-scrollbar-thumb {
  background: #d6bb93;
  border-radius: 9px;
}

hr {
  border: 0;
  border-top: 2px dashed var(--vintage-yellow);
  margin: 22px 0;
}

/* Decorative borders for retro personality */
section {
  border-bottom: 3px double #e6d3b3;
}
/* Avoid on ".hero" and last section in main */
.hero, section:last-of-type {
  border-bottom: none !important;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 4vw;
  }
  .content-wrapper,
  .text-section {
    padding: 20px 9px;
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section,
  section {
    padding: 28px 6px;
  }
  .features ul, .services ul {
    gap: 11px;
  }
  .footer-content {
    padding: 22px 7px 10px 7px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .content-wrapper,
  .text-section {
    padding: 12px 5px;
    gap: 14px;
  }
  .hero .content-wrapper {
    max-width: 98vw;
    padding: 22px 8px;
  }
  .features ul, .services ul, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px 9px;
  }
  .footer-contact {
    gap: 4px;
    font-size: 0.95rem;
  }
  .cookie-modal {
    min-width: 92vw;
    max-width: 98vw;
    padding: 18px 3vw 12px 3vw;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.3rem;
  }
  .content-wrapper,
  .text-section {
    padding: 5px 3px;
    gap: 9px;
  }
  .cookie-modal {
    max-width: 99vw;
    padding: 10px 2vw 7px 2vw;
  }
  .footer-content {
    gap: 8px;
    padding: 12px 2vw 8px 2vw;
  }
}

/* ===============
   ACCESSIBILITY
   =============== */
:focus {
  outline: 2px solid var(--vintage-blue);
  outline-offset: 2px;
}

/* =======
   PRINT
   ======= */
@media print {
  header, .mobile-menu, .cookie-consent-banner, .cookie-modal, footer {
    display: none !important;
  }
  body, .container, .content-wrapper, section {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border: none !important;
  }
}
