/* 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, 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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F3ECE7;
  color: #24313A;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* BRAND FONTS (Vintage Retro Style) */
@import url('https://fonts.googleapis.com/css?family=Oswald:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Impact, Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #24313A;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h1 { font-size: 2.75rem; margin-top: 8px; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }
p, li, .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.18rem;
  color: #9FB265;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* RETRO COLOR SCHEME */
:root {
  --primary: #24313A;
  --secondary: #9FB265;
  --accent: #F3ECE7;
  --brown: #A27C5C;
  --orange: #EA9746;
  --vintage-red: #AB534C;
  --pale-yellow: #FFECC9;
  --dark-text: #24313A;
  --white: #FFF;
}

/* VINTAGE RETRO BACKGROUND PATTERNS */
body {
  background: repeating-linear-gradient(135deg, var(--accent), var(--accent) 22px, #fbeedd 24px, #fbeedd 48px);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(36,49,58,0.07);
  position: relative;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pale-yellow);
  border: 2.5px solid var(--secondary);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(164, 135, 32, 0.1);
  padding: 28px 22px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 2px 20px 0 rgba(164, 135, 32, 0.18);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--pale-yellow);
  border-left: 5px solid var(--vintage-red);
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(164, 46, 28, 0.11);
  font-size: 1.02rem;
}
.testimonial-card strong {
  color: var(--vintage-red);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 13px;
  border: 1.5px solid #E3D1AE;
  padding: 22px 18px;
  box-shadow: 0 1px 6px 0 rgba(212,180,99,0.08);
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 220px;
}
.feature-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.faq-accordion {
  background: #fff;
  border-radius: 11px;
  border: 1px solid #E3D1AE;
  box-shadow: 0 2px 6px rgba(164, 104, 36, 0.06);
  margin-bottom: 12px;
  padding: 18px 20px;
  font-size: 1rem;
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.pricing-table > div {
  background: var(--pale-yellow);
  border-radius: 13px;
  border: 2px solid var(--secondary);
  box-shadow: 0 1px 5px rgba(164, 180, 32, 0.09);
  padding: 22px 18px;
  flex: 1 1 230px;
  min-width: 190px;
  max-width: 290px;
}
.pricing-table h3 {
  color: var(--secondary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.contact-short-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
  font-size: 1.04rem;
  color: var(--brown);
}
.contact-short-info img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
}

.map-embed {
  background: #fbeedd;
  border-radius: 8px;
  padding: 14px 19px;
  margin: 12px 0 9px 0;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  align-items: center;
}
.social-links a {
  filter: sepia(1) contrast(1.2) brightness(0.9);
  transition: filter 0.2s;
  display: inline-flex;
}
.social-links a:hover,
.social-links a:focus {
  filter: sepia(0.4) contrast(1.5) brightness(1.1);
}

/* HERO SECTION */
.hero {
  background: var(--primary);
  color: var(--white);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 80px 0 rgba(36,49,58,0.08);
  margin-bottom: 60px;
  padding: 55px 0 55px 0;
}
.hero h1,
.hero h2,
.hero .subheadline {
  color: var(--white);
  text-shadow: 0 2px 0 rgba(36, 49, 58, 0.15);
}

/* BUTTONS CTA */
.cta-button {
  background: var(--secondary);
  color: var(--primary);
  border: 0;
  border-radius: 24px;
  padding: 14px 35px;
  font-size: 1.18rem;
  font-family: 'Oswald', Impact, Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
  box-shadow: 0 3px 10px 0 rgba(107, 120, 37, 0.13);
  cursor: pointer;
  outline: none;
  transition: background 0.2s, transform 0.16s;
  position: relative;
  z-index: 1;
}
.cta-button:hover, .cta-button:focus {
  background: var(--orange);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}

/* HEADER & NAVBAR */
header {
  background: #fff;
  border-bottom: 2px solid #E3D1AE;
  box-shadow: 0 1px 7px rgba(164, 180, 32, 0.03);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  min-height: 70px;
}
header .container,
header > nav, header > a, header .cta-button {
  display: flex;
  align-items: center;
}
header > a img {
  height: 44px;
  margin: 10px 22px 10px 8px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  align-items: center;
  flex: 1 1 auto;
}
header nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--primary);
  position: relative;
  padding: 10px 6px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
header .cta-button {
  margin-left: 28px;
  margin-right: 10px;
}

/* FOOTER */
footer {
  background: #F9F6F2;
  border-top: 2px solid #E3D1AE;
  padding: 38px 0 25px 0;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  margin: 9px 0 9px 0;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 400;
  opacity: 0.87;
  transition: opacity 0.17s, color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  opacity: 1;
  color: var(--secondary);
}
footer .content-wrapper {
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 28px;
}
footer img {
  height: 40px;
  margin-bottom: 7px;
}

/* LISTS */
ul {
  padding-left: 19px;
  margin-bottom: 18px;
}
ul li {
  margin-bottom: 9px;
  line-height: 1.65;
  position: relative;
  padding-left: 15px;
}
ul li::before {
  content: '\2022';
  font-size: 1.17em;
  color: var(--secondary);
  position: absolute;
  left: 0;
  top: 1px;
}

/* RETRO/NOSTALGIC ELEMENTS */
.section {
  border: 2.5px dashed #A27C5C;
  box-shadow: 0 8px 30px 0 rgba(164,124,92, 0.07);
}
hr {
  border: none;
  border-top: 1.5px dashed #E3D1AE;
  margin: 28px 0;
}

/******* MOBILE MENU ******/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.05rem;
  color: var(--primary);
  cursor: pointer;
  padding: 9px 14px;
  margin-left: auto;
  z-index: 201;
  border-radius: 7px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E3D1AE;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F3ECE7;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.76,0.09,0.26,1.15);
  z-index: 210;
  padding: 32px 24px;
  box-shadow: 4px 0 60px 0 rgba(36,49,58,0.06);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 21px;
  border-radius: 50%;
  transition: background 0.12s;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #E3D1AE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 11px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.29rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 0 8px 0;
  border-bottom: 1.5px solid #E3D1AE;
  transition: color 0.14s, background 0.1s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #E3D1AE;
}

/******** COOKIE CONSENT BANNER *********/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #24313A;
  color: #FFF;
  padding: 25px 20px 18px 20px;
  z-index: 3000;
  box-shadow: 0 -3px 36px 0 rgba(36,49,58,0.17);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 16px 16px 0 0;
  animation: cookieBannerIn 0.7s cubic-bezier(0.6,0.3,0.3,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner button {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  margin: 0 6px;
  border-radius: 13px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 1px 2px rgba(140,150,100,.10);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--orange);
  color: var(--white);
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: var(--accent);
  border: 2px solid #FFF;
  font-weight: 500;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  color: var(--orange);
  background: #FFF;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,49,58,0.73);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.6s cubic-bezier(0.68,0.45,0.3,1) 1;
}
@keyframes cookieModalIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal-content {
  background: #FFF;
  border-radius: 17px;
  padding: 36px 32px 32px 32px;
  min-width: 300px;
  max-width: 95vw;
  box-shadow: 0 8px 32px 0 rgba(36,49,58,0.15);
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.cookie-modal-content h3 {
  font-family: 'Oswald', Impact, Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 21px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  font-size: 1.02rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #E3D1AE;
  border-radius: 15px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-right: 8px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #c48b53;
  border-radius: 50%;
  transition: left 0.24s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 21px;
  background: var(--secondary);
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E3D1AE;
}


/* RESPONSIVE & FLEX MOBILE-FIRST */
@media (max-width: 1070px) {
  .container { max-width: 92vw; }
  .card-container, .feature-grid, .content-grid, .pricing-table {
    gap: 16px;
  }
  .footer-nav { gap: 13px; }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    margin-bottom: 15px;
  }
  .contact-short-info {
    margin-top: 14px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 32px 7px;
    margin-bottom: 38px;
  }
  header nav {
    display: none;
  }
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .contact-short-info {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid, .content-grid, .pricing-table, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-item, .pricing-table > div, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero {
    padding: 28px 0 32px 0;
    border-radius: 0 0 18px 18px;
  }
  .map-embed {
    padding: 7px 8px;
  }
  .cookie-modal-content {
    padding: 19px 7px 22px 7px;
    min-width: 0;
    font-size: 0.97rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 4vw 10px 4vw;
    border-radius: 12px 12px 0 0;
    font-size: 0.97rem;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.12rem; }
  .hero { padding: 17px 0 12px 0; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-button, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .footer-nav a {
  transition: background 0.15s, color 0.15s, transform 0.2s;
}
.cta-button:active,
.mobile-menu-toggle:active,
.mobile-menu-close:active,
.cookie-banner button:active {
  transform: scale(0.96);
}
.card:active {
  transform: scale(0.98);
}

/* Z-INDEX LAYERING */
header { z-index: 100; }
.mobile-menu {z-index: 210;}
.cookie-modal {z-index: 4000;}
.cookie-banner {z-index: 3000;}

/**** THANK-YOU PAGE STYLES ****/
.thank-you .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.thank-you h1 {
  color: var(--secondary);
  font-size: 2.1rem;
  margin-top: 20px;
  margin-bottom: 18px;
}
.thank-you p {
  font-size: 1.17rem;
  color: var(--primary);
}

/* ACCORDION (basic, open by default) */
.faq-accordion strong { color: var(--secondary); display:block; margin-top:10px; }

/**** Additional retro? Add some retro borders for titles (just a touch) ****/
h1, h2 {
  border-bottom: 3px double #E3D1AE;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 14px;
}

/**** Accessibility: high contrast for testimonials & key info blocks ****/
.testimonials .testimonial-card {
  background: var(--pale-yellow);
  color: var(--dark-text);
}

/**** Hide visually (for interactions, can be used by JS) ****/
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
