/* --- 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 {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background-color: #F9F6F0;
  color: #2C2C28;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* --- BRAND COLORS & VINTAGE RETRO PALETTE --- */
:root {
  --primary: #12416C;
  --secondary: #8FA5BE;
  --accent: #F6F8FA;
  --card-bg: #FFF6EC;
  --vintage-yellow: #FBEC5D;
  --vintage-red: #B74E3A;
  --vintage-orange: #F7B267;
  --vintage-teal: #3A9188;
  --vintage-brown: #4E392F;
  --shadow: 0 4px 20px rgba(78, 57, 47, 0.11), 0 1.5px 8px rgba(136, 94, 63, 0.06);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 0 #FBEC5D, 0 0px 4px #fff8e370;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 700;
}
p, ul, ol, li, blockquote, cite {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--vintage-brown);
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary);
  background: var(--vintage-yellow);
  padding: 20px 28px;
  border-radius: 18px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0px 1.5px 12px #fbec5d37;
  border-left: 6px solid var(--vintage-red);
}
cite {
  font-size: 1rem;
  color: var(--vintage-brown);
  opacity: 0.7;
  margin-left: 18px;
  font-style: normal;
}
/* --- BASE CONTAINERS & LAYOUT --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
section {
  background: var(--card-bg);
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow);
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 28px 6.5vw;
    margin-bottom: 36px;
  }
}

/* --- FLEX UTILITY CLASSES (MANDATORY PATTERNS) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.23s;
  min-width: 265px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 32px;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(186, 94, 63, 0.14), 0 3px 16px rgba(186, 94, 63, 0.10);
  background: #fffefa;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff9e8;
  box-shadow: 0 1px 8px #b74e3a13;
  border-radius: 16px;
  margin-bottom: 20px;
  min-width: 250px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}

/* --- LIST STYLES --- */
ul {
  margin-bottom: 16px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
ul li {
  position: relative;
  font-size: 1rem;
  padding-left: 36px;
  min-height: 32px;
  display: flex;
  align-items: center;
  color: var(--vintage-brown);
}
ul li img {
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 10px;
}
@media (max-width: 600px) {
  ul li {
    padding-left: 28px;
    font-size: 0.96rem;
  }
  ul li img {
    width: 18px;
    height: 18px;
  }
}

/* --- HEADER & NAVIGATION BAR --- */
header {
  background: var(--primary);
  padding: 0;
  border-bottom: 5px solid var(--vintage-yellow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 14px;
}
header img {
  height: 48px;
  width: auto;
  filter: drop-shadow(2px 2px 0 #fff9e4);
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--vintage-yellow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--vintage-yellow);
  color: var(--primary);
}
.cta.primary {
  background: var(--vintage-red);
  color: #fff9eb;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 10px 26px;
  border-radius: 32px;
  box-shadow: 0 2px 12px #b74e3a24;
  letter-spacing: 1.1px;
  margin-left: 18px;
  font-size: 1.13rem;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, color 0.13s;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--vintage-orange);
  color: var(--primary);
  box-shadow: 0 4px 20px #f7b2673b;
}
.cta.secondary {
  background: var(--vintage-teal);
  color: #fff;
  border: 2px solid var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 32px;
  margin-top: 18px;
  font-size: 1.09rem;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, border 0.18s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #f6f8fa;
  color: var(--primary);
  border: 2px solid var(--vintage-orange);
}
/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 20px;
  background: var(--vintage-brown);
  color: var(--vintage-yellow);
  border-radius: 50%;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  z-index: 22;
  border: 2px solid var(--vintage-yellow);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--vintage-yellow);
  color: var(--primary);
}
@media (max-width: 1024px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.6, 0.01, 0.41, 0.99), opacity 0.25s cubic-bezier(0.68,0.03,0.22,0.94);
  box-shadow: 0 6px 32px var(--vintage-brown);
  padding: 28px 8vw 0 8vw;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  right: 30px;
  top: 28px;
  background: var(--vintage-yellow);
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--vintage-red);
  cursor: pointer;
  z-index: 101;
  box-shadow: 0 2px 5px #b74e3a21;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vintage-red);
  color: #fff9eb;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 900;
  color: var(--vintage-yellow);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 11px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.15s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-yellow);
  color: var(--primary);
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  background: #19160c;
  padding: 32px 1vw 20px 1vw;
  color: #fff8e9;
  font-size: 1rem;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.footer-nav a {
  color: var(--vintage-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  padding: 3.5px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: var(--vintage-yellow);
  color: var(--primary);
}
.footer-contact p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  opacity: 0.72;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 8px;
  }
}

/* --- SPECIAL ELEMENTS --- */
.map-placeholder {
  background: #fff9d6;
  border-radius: 15px;
  padding: 18px 18px;
  margin: 12px 0 0 0;
  box-shadow: 0 1px 8px #fbec5d24;
  font-size: 1.04rem;
  color: var(--vintage-brown);
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.blog-list li {
  font-size: 1.09rem;
  position: relative;
  padding-left: 0;
  background: var(--accent);
  border-left: 6px solid var(--primary);
  margin-bottom: 10px;
  border-radius: 12px;
  padding: 11px 20px 11px 18px;
  transition: background 0.18s;
}
.blog-list li:hover {
  background: #FFF9E8;
}

/* --- SPACING HELPERS --- */
.mb-20 {margin-bottom:20px;}
.mb-32 {margin-bottom:32px;}
.mb-48 {margin-bottom:48px;}
.mt-20 {margin-top:20px;}
.pt-32 {padding-top:32px;}
.gap-20 {gap:20px;}

/* --- TABLE, FORMS, ETC. --- */
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
  background: #fff5dc;
  box-shadow: var(--shadow);
  border-radius: 13px;
  overflow: hidden;
}
th, td {
  padding: 14px 9px;
  text-align: left;
}
th {
  background: var(--vintage-orange);
  color: var(--primary);
  font-weight: 700;
}
tr:nth-child(even) {background: #f6f8fa;}
tr:not(:last-child) td {
  border-bottom: 1px solid #F5D88C;
}

input, textarea, select {
  border: 2px solid var(--vintage-orange);
  background: #fff9e7;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 18px;
  padding: 14px 13px;
  color: var(--primary);
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  background: #fffde4;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 990px) {
  .container {
    padding: 0 14px;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.37rem;}
}
@media (max-width: 768px) {
  h1 {font-size:1.42rem;margin-bottom:16px;}
  h2 {font-size:1.11rem;margin-bottom:10px;}
  h3 {font-size:1rem;}
  .content-wrapper {
    gap: 12px;
  }
  .card-content {
    padding: 18px 10vw;
  }
}
@media (max-width: 540px) {
  .container {padding: 0 2.5vw;}
  section {border-radius: 13px;}
  .card {border-radius: 9px;}
  .card-content {padding: 11px 6vw;}
}

/* --- BUTTONS, INTERACTIONS --- */
button, .cta.primary, .cta.secondary {
  outline: none;
  border: none;
  cursor: pointer;
  transition: filter 0.23s, background 0.23s, color 0.14s;
}
button:active {filter: brightness(0.89);}

/* --- ICONS FOR VINTAGE TOUCH --- */
.testimonial-card::before {
  content: '\2728';
  font-size: 1.3em;
  color: var(--vintage-red);
  margin-right: 13px;
  opacity: 0.44;
  display: inline-block;
}

/* --- CARD/BOX PATTERNS FOR VINTAGE LOOK --- */
.card, .testimonial-card, section {
  border: 1.5px solid #ead3b3;
  background: linear-gradient(135deg, #FFF6EC 78%, #F7B267 130%);
}

/* --- COOKIES BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 20000;
  background: var(--vintage-yellow);
  box-shadow: 0 2px 16px #4e392f38;
  color: var(--primary);
  padding: 20px 26px 20px 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 23px;
  transition: transform 0.38s cubic-bezier(0.52, 0, 0.44, 1);
}
.cookie-banner-hide {
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1rem;
  margin: 0 0 0 0;
  color: var(--vintage-brown);
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  background: var(--vintage-teal);
  color: #fffcf6;
  border-radius: 20px;
  padding: 8px 17px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  margin-left: 8px;
  font-size: 1rem;
  box-shadow: 0 1px 6px #3a918827;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .cookie-settings-btn {
  background: var(--vintage-orange);
  color: var(--primary);
  margin-left: 16px;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings-btn:hover {
  background: var(--vintage-red);
  color: #fff9e4;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 6vw;
    gap: 13px;
  }
  .cookie-banner .cookie-settings-btn {
    margin-left: 0;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 40000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,65,108,0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(.95,.07,.27,.93);
}
.cookie-modal-open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #FFF9E8;
  border-radius: 13px;
  box-shadow: 0 14px 48px #b74e3a3b;
  padding: 40px 32px 32px 32px;
  min-width: 310px;
  max-width: 95vw;
  color: var(--vintage-brown);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  font-size: 2.1rem;
  color: var(--vintage-red);
  background: #fff9e7;
  border-radius: 50%;
  border: 2px solid var(--vintage-brown);
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0.8;
  transition: background .13s, color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--vintage-red);
  color: #fff9e4;
}
.cookie-category {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.cookie-toggle {
  margin-right: 10px;
  width: 22px;
  height: 22px;
  accent-color: var(--vintage-teal);
  cursor: pointer;
}
.category-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal-actions button {
  padding: 8px 20px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--vintage-teal);
  color: #fff9e4;
  transition: background 0.16s;
}
.cookie-modal-actions button.secondary {
  background: var(--vintage-orange);
  color: var(--primary);
}
.cookie-modal-actions button:hover {
  background: var(--vintage-red);
  color: #fff9e4;
}
.cookie-modal-actions button.secondary:hover {
  background: var(--vintage-yellow);
  color: var(--primary);
}

/* --- TABLET & MOBILE TWEAKS --- */
@media (max-width: 600px) {
  .cookie-modal-content {padding: 24px 7vw 24px 7vw;}
  .cookie-modal-close {
    top: 11px; right: 10px; font-size: 1.5rem; width: 29px; height: 29px;
  }
}

/* --- ANIMATIONS (SLIDE, FADE) --- */
@keyframes fadeInUp {
  0% {transform: translateY(40px); opacity:0;}
  100% {transform: translateY(0); opacity:1;}
}
header, section, footer, .card, .testimonial-card {
  animation: fadeInUp 0.6s cubic-bezier(.85,.07,.24,.93) both;
}

/* --- MICRO-INTERACTIONS --- */
.card:active, .testimonial-card:active, section:active {
  filter: brightness(0.95);
  box-shadow: 0 6px 24px #bf8d6642;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px dashed var(--vintage-red);
  outline-offset: 2px;
  background: #fffbe7;
}

/* --- SCROLLBAR FOR VINTAGE FLAIR --- */
body::-webkit-scrollbar {
  width: 9px;
  background: var(--card-bg);
}
body::-webkit-scrollbar-thumb {
  background: var(--vintage-teal);
  border-radius: 13px;
}

/* --- Z-INDEX LAYERING ---*/
header {z-index: 30; position: relative;}
.mobile-menu {z-index: 9999;}
.cookie-banner {z-index: 20000;}
.cookie-modal {z-index: 40000;}

/* --- MISC ADJUSTMENTS --- */
::-webkit-input-placeholder { color: #bfa679; }
::-moz-placeholder { color: #bfa679; }
:-ms-input-placeholder { color: #bfa679; }
::placeholder { color: #bfa679; }

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