/* ========== CSS RESET & NORMALIZATION ========== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
body {
  line-height: 1.5;
  background: #F4E9DB;
  color: #1C1612;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
}
*, *:before, *:after { box-sizing: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: local('Montserrat Bold'), url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  src: local('Montserrat Regular'), url('https://fonts.googleapis.com/css?family=Montserrat:400&display=swap');
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  background: #F4E9DB;
  color: #372d23;
}

/* ========== RETRO/VINTAGE COLOR PALETTE ========== */
:root {
  --primary: #1C3556;
  --secondary: #2D7DD2;
  --accent: #F7F7FF;
  --vintage-yellow: #FAE29A;
  --vintage-blue: #5986A8;
  --vintage-orange: #E38343;
  --vintage-brown: #B97A57;
  --vintage-bg: #F4E9DB;
  --vintage-dark-bg: #E4CAA8;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1C3556;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #2D7DD2;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #B97A57;
}
p, ul, ol {
  font-size: 1rem;
  color: #372d23;
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: #E38343;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* ========== CONTAINER & SPACING LAYOUTS ========== */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-bg);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(28, 53, 86, 0.06);
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: 28px 8px; }
  .container { padding-left: 10px; padding-right: 10px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #F7F7FF;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(44, 34, 0, 0.08);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 240px;
  min-width: 250px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(28,53,86,0.19);
}
.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: 16px;
  margin-bottom: 20px;
  background: #FFFAEC;
  border: 1.5px dashed #B97A57;
  padding: 20px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(44, 34, 0, 0.05);
  color: #222220;
  max-width: 540px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #1C1612;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card strong {
  color: #B97A57;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.service-list > div {
  background: #FFF8EC;
  border-radius: 13px;
  box-shadow: 0 3px 10px rgba(70,67,43,.09);
  flex: 1 1 270px;
  min-width: 220px;
  padding: 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list > div:hover {
  box-shadow: 0 12px 32px rgba(227,131,67,0.13);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #F7F7FF;
  border-left: 5px solid #E38343;
  border-radius: 9px;
  flex: 1 1 230px;
  min-width: 200px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(44, 34, 0, 0.06);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: #FFF1C1;
  padding: 22px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 9px rgba(28,53,86,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.location-map {
  margin-top: 14px;
  max-width: 350px;
}
.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.faq-list > div {
  flex: 1 1 230px;
  background: #F7F7FF;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1.5px solid #FAE29A;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px rgba(44,34,0,0.04);
}

@media (max-width: 992px) {
  .feature-grid, .service-list, .card-container, .content-grid, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div, .faq-list > div {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .compliance-badges { gap: 10px; }
  .location-map { max-width: 100%; }
}

/* Checklist with icon: ul.checklist */
ul.checklist, ul.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
ul.checklist li, ul.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

/* ========== RETRO BUTTONS ========== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #E38343 70%, #B97A57 100%);
  color: #FFF5E3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 7px;
  padding: 13px 30px;
  border: 2px solid #B97A57;
  box-shadow: 0 4px 0 #B97A57;
  text-shadow: 1px 1px 0px #9c6441;
  margin-top: 16px;
  margin-bottom: 16px;
  transition: background 0.14s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(180deg, #FAE29A 80%, #E38343 100%);
  color: #1C3556;
  box-shadow: 0 2px 12px #e3834366;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
}

/* ========== HEADER & FOOTER ========== */
header {
  background: #FFF6DE url('assets/vintage-pattern-top.svg') repeat-x top center;
  padding: 0;
  border-bottom: 6px solid #E38343;
  box-shadow: 0 2px 8px #b97a5710;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #B97A57;
  padding: 5px 12px;
  border-radius: 6px;
  position: relative;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #FAE29A;
  color: #1C3556;
}
header img {
  height: 47px;
  margin-right: 14px;
}

footer {
  background: #E4CAA8 url('assets/vintage-pattern-bottom.svg') repeat-x bottom center;
  border-top: 7px solid #E38343;
  padding-top: 22px;
  padding-bottom: 18px;
  color: #372d23;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 15px;
}
footer nav a {
  color: #B97A57;
  border-bottom: 1.5px dashed #b97a57;
  transition: border-color 0.2s, color 0.18s;
  padding-bottom: 2px;
}
footer nav a:hover {
  color: #2D7DD2;
  border-color: #FAE29A;
}
footer .contact-footer {
  color: #736064;
  font-size: 0.9rem;
  letter-spacing: .01em;
}
footer img {
  height: 38px;
  filter: sepia(0.5) saturate(1.4);
  margin-bottom: 7px;
}

@media (max-width: 768px) {
  header .container { flex-direction: column; gap: 8px; }
  header img { margin-right: 0; }
  header nav { flex-wrap: wrap; }
  footer .container { padding-top: 8px; padding-bottom: 8px; }
  footer nav { flex-wrap: wrap; gap: 10px; }
}

/* ========== BLOG ========== */
.search-bar {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.search-bar input[type="text"] {
  width: 100%;
  max-width: 350px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid #E38343;
  background: #FFFDEC;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.category-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 0.98rem;
}
.category-filter a {
  background: #FAE29A;
  color: #B97A57;
  border-radius: 6px;
  padding: 3px 12px;
  font-weight: 700;
  transition: background 0.19s, color 0.18s;
}
.category-filter a:hover {
  background: #E38343;
  color: #fff;
}
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-post-card {
  background: #FFF8EC;
  border: 2px solid #FAE29A;
  border-radius: 10px;
  box-shadow: 0 2px 7px #e3834330;
  flex: 1 1 260px;
  min-width: 220px;
  padding: 20px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.18s, border 0.19s;
}
.blog-post-card:hover {
  box-shadow: 0 8px 26px -2px #2D7DD226;
  border-color: #E38343;
}
.blog-post-card h3 {
  margin-bottom: 5px;
  font-size: 1.11rem;
  color: #2D7DD2;
  font-weight: 700;
}
.blog-post-card p {
  margin-bottom: 8px;
  color: #372d23;
  font-size: 1rem;
}
.blog-post-card span {
  font-size: .94rem;
  color: #B97A57;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 992px) {
  .blog-list { flex-direction: column; gap: 16px; }
  .blog-post-card { min-width: 0; }
}

/* ========== PRICING TABLE ========== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFAEC;
  border-radius: 12px;
  overflow: hidden;
  margin: 22px 0 18px 0;
  box-shadow: 0 2px 9px #b97a5712;
}
.pricing-table th, .pricing-table td {
  padding: 16px 12px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1.5px solid #FAE29A;
}
.pricing-table th {
  background: #FAE29A;
  color: #1C3556;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-bottom: 2.7px solid #E38343;
}
.pricing-table tbody tr:nth-child(even) {
  background: #FFF8EC;
}
.pricing-table td:last-child {
  color: #B97A57;
  font-weight: 700;
}
@media (max-width: 768px) {
  .pricing-table th, .pricing-table td { font-size: 0.95rem; padding: 10px 6px; }
}

/* ========== MOBILE BURGER MENU ========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 888;
  width: 45px;
  height: 45px;
  background: #B97A57;
  color: #FAE29A;
  border-radius: 10px;
  font-size: 2.15rem;
  box-shadow: 0 4px 14px #b97a5733;
  border: 2px solid #FAE29A;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E38343;
  color: #1C3556;
  transform: scale(1.08) rotate(-3deg);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #FFF6DE;
  box-shadow: 0 4px 32px #1c355644;
  z-index: 9999;
  transform: translateX(100vw);
  transition: transform .35s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #FAE29A;
  border-radius: 8px;
  font-size: 2.2rem;
  color: #B97A57;
  margin: 18px 24px 6px 0;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, transform .12s;
  width: 45px; height: 45px;
  box-shadow: 0 2px 10px #b97a5721;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E38343;
  color: #fff;
  transform: scale(1.12) rotate(3deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 36px 0 0 28px;
}
.mobile-nav a {
  color: #B97A57;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 7px 0;
  border-radius: 7px;
  transition: background 0.12s, color 0.12s;
  width: 88vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FAE29A;
  color: #1C3556;
}
@media (max-width: 1200px) {
  .mobile-menu-toggle { display: block; }
  header nav, .cta-btn {
    display: none;
  }
}
@media (min-width: 1201px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  z-index: 9998;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #E4CAA8;
  color: #372d23;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: 24px 18px 16px 18px;
  box-shadow: 0 -2px 22px #e3834344;
  border-top: 4.5px solid #E38343;
  transition: transform 0.34s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(160px);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 0;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 9px 19px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background .16s, color .13s, box-shadow 0.1s;
  margin-right: 2px;
}
.cookie-banner .cookie-accept {
  background: #E38343;
  color: #FFFBEA;
  border: 2px solid #FAE29A;
  box-shadow: 0 2px 7px #b97a5715;
}
.cookie-banner .cookie-accept:hover {
  background: #FAE29A;
  color: #B97A57;
}
.cookie-banner .cookie-reject {
  background: #FAE29A;
  color: #B97A57;
  border: 2px solid #E38343;
  box-shadow: none;
}
.cookie-banner .cookie-reject:hover {
  background: #B97A57;
  color: #FFF5E3;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #2D7DD2;
  border: 2px dashed #2D7DD2;
}
.cookie-banner .cookie-settings:hover {
  background: #F7F7FF;
  color: #1C3556;
}
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; gap: 7px; font-size: .97rem; align-items: flex-start; padding: 19px 8px 13px 8px; }
  .cookie-banner .cookie-buttons { gap: 9px; margin-top: 5px; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: #1c355695;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFF8EC;
  border-radius: 16px;
  box-shadow: 0 8px 36px #e383434d;
  max-width: 400px;
  width: 93vw;
  padding: 34px 24px 19px 24px;
  color: #1C3556;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 1rem;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #B97A57;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 8px 0;
  border-bottom: 1.4px dotted #fae29a;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  width: 38px; height: 21px;
  background: #FAE29A;
  border: 1.5px solid #E38343;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: background 0.12s;
}
.cookie-modal .cookie-toggle[data-checked="true"] {
  background: #B97A57;
}
.cookie-modal .cookie-toggle:after {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 17px; height: 17px;
  background: #faf5ee;
  border-radius: 50%;
  transition: left 0.14s, background .11s;
}
.cookie-modal .cookie-toggle[data-checked="true"]:after {
  left: 18px;
  background: #fff7e5;
}
.cookie-modal .cookie-toggle[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.7;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  align-self: flex-end;
}
.cookie-modal .cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 8px 17px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: #E38343;
  color: #fff7e5;
  transition: background .16s, color .13s, box-shadow 0.1s;
}
.cookie-modal .cookie-actions button:last-child {
  background: #FAE29A;
  color: #B97A57;
}
.cookie-modal .cookie-actions button:hover {
  background: #B97A57;
  color: #FFFDE7;
}
.cookie-modal .cookie-actions button:last-child:hover {
  background: #E38343;
  color: #fff7e5;
}

@media (max-width: 480px) {
  .cookie-modal { padding: 22px 10px 13px 10px; }
}

/* ========== RETRO/NOSTALGIC DECORATIVE ELEMENTS ========== */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -8px; right: 15px;
  width: 70px; height: 23px;
  background: url('assets/vintage-deco-flash.svg') no-repeat center / contain;
  opacity: 0.09;
  z-index: 1;
}
.section:nth-child(even):before {
  left: 18px; right: auto;
  transform: scaleX(-1);
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  left: 18px; bottom: -13px;
  width: 77px; height: 26px;
  background: url('assets/vintage-deco-base.svg') no-repeat center / contain;
  opacity: 0.08;
  z-index: 1;
}
.section:nth-child(odd):after {
  right: 18px; left: auto;
  transform: scaleX(-1);
}
@media (max-width: 600px) {
  .section:before, .section:after { display: none; }
}

/* ========== RETRO SCROLLBAR ========== */
body::-webkit-scrollbar {
  width: 10px;
  background: #FAE29A;
}
body::-webkit-scrollbar-thumb {
  background: #E38343;
  border-radius: 8px;
  border: 2px solid #FAE29A;
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta-btn, .cookie-banner button, .cookie-modal .cookie-actions button, .mobile-menu-toggle, .mobile-menu-close, .feature-grid > div, .service-list > div, .card, .blog-post-card {
  transition: box-shadow 0.18s, background 0.16s, color 0.15s, border 0.14s, transform 0.18s;
}
.testimonial-card {
  transition: box-shadow 0.17s, border-color 0.13s, transform 0.13s;
}
.testimonial-card:hover {
  border-color: #E38343;
  box-shadow: 0 8px 19px #e3834322;
  transform: translateY(-2px) scale(1.02);
}

/* ========== GENERAL UTILS ========== */
.text-center { text-align: center; }
.hide { display: none !important; }

/* ========== END OF STYLES ========== */