/* RESET AND 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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
:root {
  --primary: #205072;
  --secondary: #F7DCB9;
  --accent: #20BFA9;
  --brand-brown: #704214;
  --brand-cream: #FAF7F0;
  --brand-mustard: #F4A259;
  --brand-orange: #E67C4F;
  --brand-dark: #22211F;
  --card-bg: #fffbe8;
  --card-border: #e2ccab;
  --shadow: 0 2px 8px 0 rgba(34,33,31,0.07), 0 1.5px 6px rgba(225,181,120,.07);
}

/* FONT IMPORTS - Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

html {
  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--brand-cream);
  /* Subtle retro dot background */
  background-image: repeating-radial-gradient(circle at 0 0, #e2ccab 1px, transparent 16px), repeating-radial-gradient(circle at 100% 100%, #e2ccab 1px, transparent 16px);
}
body {
  color: var(--brand-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 #fffbe8;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 14px; color: var(--brand-brown); font-weight: 700; }
h4, h5, h6 { font-size: 1.2rem; }

p, li, span, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-dark);
  line-height: 1.6;
}
strong { color: var(--primary); }

/* GENERAL LAYOUTS */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

main {
  flex: 1 0 auto;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 22px;
  min-width: 260px;
  max-width: 360px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 22px 0 rgba(225,181,120,0.17), 0 1.5px 16px rgba(32,80,114,0.12);
  transform: translateY(-6px) scale(1.025);
}

.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: 12px;
  padding: 24px 24px;
  background: #fffbe8;
  border: 2.5px dashed var(--brand-mustard);
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1.5px 7px rgba(32,80,114,0.08);
  min-width: 270px;
  max-width: 480px;
  font-style: italic;
}
.testimonial-card p {
  color: var(--brand-dark);
  font-size: 1.09rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: bolder;
}

.feature-item,
.features ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features ul li {
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background: var(--secondary);
  border-radius: 13px;
  padding: 16px 18px;
  box-shadow: 0 2px 5px rgba(244,162,89,0.07);
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--brand-brown);
}
.features ul li img {
  width: 32px; height: 32px; margin-right: 6px;
}

/* HERO SECTION */
.hero {
  background: var(--secondary);
  border-bottom: 6px double var(--brand-mustard);
  padding: 65px 0 56px 0;
  margin-bottom: 60px;
}
.hero h1 {
  color: var(--brand-brown);
  text-shadow: 2px 2px 0 #f7d1bc;
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
}
.hero p {
  max-width: 480px;
  margin-bottom: 30px;
  font-size: 1.18rem;
  color: var(--brand-dark);
}
.hero .button-primary {
  font-size: 1.1rem;
}

/* BUTTONS */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.22s, border 0.12s;
  padding: 13px 32px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  text-shadow: 0 1px 0 #fffbe8;
  box-shadow: 0 2px 5px rgba(32,80,114,0.07);
}
.button-primary {
  background: var(--brand-mustard);
  color: var(--brand-dark);
  border: 2px solid var(--brand-brown);
}
.button-primary:hover, .button-primary:focus {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(32,80,114,0.15);
}
.button-secondary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--brand-mustard);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--brand-orange);
  box-shadow: 0 7px 22px rgba(244,162,89,0.17);
}

/* NAVIGATION */
header {
  background: #fffbe8;
  border-bottom: 4px solid var(--brand-mustard);
  width: 100%;
  z-index: 15;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  position: relative;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: var(--brand-brown);
  padding: 7px 14px;
  border-radius: 12px;
  transition: background 0.13s, color 0.13s;
  letter-spacing: 0.02em;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
header img {
  height: 46px;
  width: auto;
  margin-right: 22px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-orange);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px; height: 48px;
  position: fixed;
  top: 20px; right: 20px;
  z-index: 101;
  border: 2.5px solid var(--brand-brown);
  box-shadow: 0 3px 10px rgba(225,181,120,0.12);
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:active {
  background: var(--brand-mustard);
  color: var(--brand-brown);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe8;
  box-shadow: 0 0 32px rgba(32,80,114, 0.19);
  z-index: 200;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.85,.12,.68,.98);
  padding: 44px 32px 32px 32px;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  margin-bottom: 22px;
  color: var(--brand-brown);
  background: var(--brand-cream);
  border-radius: 50%;
  padding: 5px 13px;
  border: 2px solid var(--brand-mustard);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-dark);
  padding: 13px 0 13px 10px;
  border-radius: 11px;
  background: transparent;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-mustard);
  color: var(--brand-brown);
}

/* RESPONSIVE NAV & HEADER */
@media (max-width: 1040px) {
  header nav {
    gap: 16px;
  }
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-contact, .footer-branding, .footer-nav, .footer-legal {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .button-primary {
    font-size: 1rem;
    padding: 11px 20px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .hero {
    padding: 36px 0 19px 0;
    margin-bottom: 38px;
  }
  .content-grid, .card-container, .features ul {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 13px 7px;
    gap: 7px;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.33rem; }
  .button-primary, .button-secondary {
    font-size: 0.99rem;
    padding: 9px 18px;
  }
  .mobile-menu {
    padding: 32px 6px 24px 6px;
  }
  .testimonial-card, .card {
    padding: 16px 9px;
    min-width: unset;
    max-width: 98vw;
  }
}

/* CARDS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ABOUT SNIPPET, QUALITY, FAQ ITEMS */
.about-snippet, .about-company, .about-team, .about-features, .services-quality,.faq-overview, .faq-pricing, .privacy-policy, .gdpr-content, .cookie-policy, .terms-of-use, .thank-you {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  border-left: 5px solid var(--brand-mustard);
  background: #fffbe8;
  padding: 18px 24px;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 4px rgba(244,162,89,0.06);
}
.faq-item h2,
.faq-item h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 7px;
}

/* SECTION CTA */
.cta-highlight, .cta-contact, .cta-services, .cta-pricing, .cta-faq, .review-invitation {
  background: repeating-linear-gradient(45deg, var(--secondary), var(--secondary) 16px, #ffe3c2 18px, #ffe3c2 30px);
  border: 3px dotted var(--brand-brown);
  border-radius: 23px;
  padding: 44px 18px;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-highlight h2, .cta-contact h2, .cta-services h2, .cta-pricing h2, .review-invitation h2 { color: var(--brand-orange); text-shadow: none; }
.cta-highlight .button-primary, .cta-contact .button-primary, .cta-services .button-primary, .review-invitation .button-primary {
  margin-top: 19px;
}

/* FOOTER */
footer {
  padding: 0;
  background: var(--primary);
  border-top: 6px double var(--brand-mustard);
  color: #fffbe8;
  font-size: 1rem;
  width: 100vw;
}
footer .container {
  padding: 32px 20px 18px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-branding {
  flex: 1 0 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-branding img {
  width: 54px;
  height: auto;
  margin-bottom: 7px;
}
.footer-nav, .footer-legal, .footer-contact {
  flex: 1 0 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.99rem;
}
.footer-nav a, .footer-legal a, .footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.17s;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-contact a:hover {
  color: var(--brand-mustard);
}
footer strong {
  color: var(--secondary);
}
@media (max-width: 890px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-branding, .footer-nav, .footer-contact, .footer-legal {
    width: 100%;
    max-width: unset;
  }
}

/* TABLES FOR SERVICES & PRICING */
table {
  width: 100%;
  margin: 22px 0 30px 0;
  border-radius: 15px;
  border: 2.5px solid var(--brand-mustard);
  box-shadow: 0 2px 7px rgba(244,162,89,0.09);
  background: #fffbe8;
  font-size: 1rem;
  overflow: hidden;
  table-layout: auto;
}
thead tr {
  background: var(--brand-mustard);
}
th, td {
  padding: 14px 15px;
  border-bottom: 1.5px solid #e5caa2;
  text-align: left;
  font-family: 'Open Sans', Arial, sans-serif;
}
th {
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
}
tbody tr:nth-child(odd) { background: #fffbe8; }
tbody tr:nth-child(even) { background: #ffe3c2; }
td {
  color: var(--brand-dark);
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { display: none; }
  td {
    position: relative;
    padding-left: 58%;
    border-bottom: 1px solid #e9e5d7;
    min-height: 43px;
  }
  td:before {
    position: absolute;
    top: 10px; left: 16px;
    width: 52%;
    white-space: nowrap;
    color: var(--brand-brown);
    font-weight: bold;
    content: attr(data-label);
    font-size: 0.98rem;
  }
}

/* MAP SNIPPET PLACEHOLDER */
.map-snippet-placeholder {
  background: repeating-linear-gradient(135deg,var(--secondary),var(--secondary) 22px,#fffbe8 30px,#fffbe8 44px);
  color: var(--brand-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  border: 2px dashed var(--brand-mustard);
  border-radius: 15px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* COOKIE BANNER FIXED BOTTOM */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 9999;
  background: #fffbe8;
  border-top: 4px solid var(--brand-mustard);
  box-shadow: 0 -3px 22px #eed7b64d;
  padding: 18px 22px;
  animation: cookieFloatIn 0.6s ease;
  font-size: 1rem;
}
@keyframes cookieFloatIn { from { transform: translateY(120%);} to { transform: translateY(0);} }
.cookie-banner p {color: var(--brand-dark); max-width: 74vw;}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 22px;
  padding: 6px 20px;
  border: 2px solid var(--brand-mustard);
}
.cookie-banner .btn-accept {
  background: var(--brand-mustard);
  color: var(--primary);
}
.cookie-banner .btn-accept:hover { background: var(--brand-orange); color: #fff;}
.cookie-banner .btn-reject {
  background: #fff;
  color: var(--brand-brown);
  border-color: var(--brand-brown);
}
.cookie-banner .btn-reject:hover { background: #ffe3c2;}
.cookie-banner .btn-settings {
  background: #fffbe8;
  color: var(--brand-dark);
  border: 2px dashed var(--brand-brown);
}
.cookie-banner .btn-settings:hover { background: #ffe3c2;}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: rgba(32,80,114,0.19);
  align-items: center;
  justify-content: center;
  animation: fadeInOut 0.22s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeInOut {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe8;
  border-radius: 20px;
  border: 2.5px solid var(--brand-mustard);
  box-shadow: 0 8px 30px rgba(32,80,114,0.22);
  padding: 32px 20px 22px 20px;
  max-width: 410px;
  min-width: 260px;
  z-index: 12001;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2, .cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.01rem;
  color: var(--brand-dark);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-brown);
  width: 19px; height: 19px;
}
.cookie-category .category-essential {
  color: var(--brand-brown);
  font-weight: bold;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  min-width: 75px;
}
@media (max-width: 600px) {
  .cookie-modal { min-width: 70vw; padding: 19px 5vw 14px 5vw; }
  .cookie-banner { flex-direction: column; gap: 15px; align-items: flex-start; }
  .cookie-banner p { max-width: 100vw; }
}

/* ANIMATIONS, INTERACTIONS */
.button-primary, .button-secondary, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a, .footer-legal a, .feature-item, .features ul li, .card, .testimonial-card, .cta-highlight, .about-snippet, .faq-item, .section {
  transition: box-shadow 0.2s, background 0.15s, color 0.15s, border 0.15s, transform 0.16s, filter 0.15s;
}
.card:hover, .testimonial-card:hover, .faq-item:hover {
  filter: brightness(0.97) saturate(1.04);
  box-shadow: 0 10px 33px -2px #b38960a3;
}
.features ul li:hover {
  background: #ffe3c2;
  color: var(--primary);
  transform: translateY(-2px) scale(1.01);
}

/* Misc Typography Tweaks for Vintage_Retro Aesthetic */
h1, h2, h3, .button-primary, .button-secondary, .footer-branding p, .testimonial-card span {
  letter-spacing: 0.04em;
  text-transform: none;
}

/* VINTAGE PATTERNS / NOSTALGIC ELEMENTS */
.section, .about-snippet, .about-company, .about-team, .about-features, .services-list, .services-quality, .pricing, .faq-overview, .review-invitation, .cta-highlight, .cookie-modal {
  background-image: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="4" height="4" rx="2" fill="%23f4a259" fill-opacity="0.13"/%3E%3C/svg%3E');
  background-repeat: repeat;
}

/* Hide patterns on xs screens for perf */
@media (max-width: 480px) {
  .section, .about-snippet, .about-company, .about-team, .about-features, .services-list, .services-quality, .pricing, .faq-overview, .review-invitation, .cta-highlight, .cookie-modal {
    background-image: none !important;
  }
}

/* --- CRITICAL: FLEX ONLY LAYOUT TESTS (No Grid, No Columns) --- */
/* All layouts above use flexbox with gap and margin for spacing, never grid/columns. */
