/* ================== CSS RESET & NORMALIZE BEGIN ================== */
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #fff;
  color: #222;
  min-height: 100vh;
}
img, picture, video, canvas, svg { display: inline-block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 100%; }
ul, ol { list-style: none; }
:root {
  --primary: #17415e;
  --secondary: #e4b92e;
  --accent: #ffffff;
  --dark: #191c22;
  --grey-1: #f4f5f8;
  --grey-2: #eaf0f6;
  --grey-3: #ccd3db;
  --contrast: #11131A;
  --error: #ea5252;
  --success: #2ecc40;
}
/* ================== CSS RESET & NORMALIZE END ================== */

/* ================== BASE TYPOGRAPHY ================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--primary);
  background: var(--grey-1);
  min-height: 100vh;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, li, label { font-size: 1.05em; line-height: 1.6; }
p { margin-bottom: 14px; }
strong, b { font-weight: 700; }
blockquote {
  font-style: italic;
  color: var(--primary);
  border-left: 4px solid var(--secondary);
  margin: 0 0 12px 0;
  padding: 4px 0 4px 18px;
  font-size: 1.08em;
}
/* Artistic, creative accent for heading underline */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1:after, h2:after {
  content: '';
  display: block;
  height: 5px;
  width: 50px;
  background: var(--secondary);
  border-radius: 16px;
  margin-top: 9px;
  position: relative;
}

/* ================== LAYOUT ================== */
.container {
  width: 100%;
  max-width: 1088px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  padding: 32px 26px 32px 26px;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(23, 65, 94, 0.07), 0 0.5px 1.5px var(--secondary);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--primary);
  border-left: 5px solid var(--secondary);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { padding: 30px 8px; margin-bottom: 36px; }
  .text-section { padding: 14px 10px; }
}

/* ================== HEADER & NAVIGATION ================== */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 4px 24px rgba(23,65,94,0.07);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
header a img {
  max-height: 46px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 0 8px;
  font-size: 1.04em;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--secondary);
  color: var(--primary) !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04em;
  border-radius: 36px;
  font-weight: 900;
  letter-spacing: 1px;
  transition: background 0.16s, transform 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(36,30,10,0.08);
  border: none;
  cursor: pointer;
  margin-left: 20px;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--secondary) !important;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 22px rgba(23,65,94,0.09), 0 0.5px 1.5px var(--secondary);
}
@media (max-width: 992px) {
  nav { gap: 13px; }
  .cta-button { padding: 10px 14px; margin-left: 10px; }
}

/* ================== MOBILE MENU ================== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.1em;
  border: none;
  border-radius: 14px;
  padding: 6px 16px;
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
@media (max-width: 900px) {
  nav, .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}
.mobile-menu {
  position: fixed;
  z-index: 1600;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(23,65,94, 0.98);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
  padding: 36px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  font-size: 2em;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: #fff695; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.32em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: none;
  border-radius: 10px;
  padding: 10px 0 10px 8px;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width:901px) {
  .mobile-menu { display: none !important; }
}

/* ================== HERO/SECTION LAYOUTS ================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: var(--accent);
  box-shadow: 0 5px 22px rgba(23,65,94,0.11);
  padding: 28px;
  min-width: 270px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 16px 36px 0 rgba(44,50,90,0.15);
  transform: translateY(-4px) scale(1.02);
}
.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; }
  .content-grid { flex-direction: column; gap: 20px; }
  .card-container { flex-direction: column; gap: 18px; }
}

/* ================== FEATURE LISTS ================== */
.feature-grid,
.filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  flex-direction: row;
}
.feature-grid > div, .feature-grid > li {
  flex: 1 1 min(200px, 46vw);
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(23,65,94,0.06);
  border-radius: 15px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-left: 4px solid var(--secondary);
  font-size: 1.03em;
  margin-bottom: 0;
  min-width: 180px;
  max-width: 270px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-grid > div:hover, .feature-grid > li:hover {
  box-shadow: 0 10px 28px 0 rgba(23,65,94,0.10);
  transform: translateY(-2px) scale(1.03);
}
.filters-list > li {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 8px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02em;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(68,58,0,0.07);
  margin-bottom: 0;
}
@media (max-width: 960px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-grid > div, .feature-grid > li { max-width: 100%; min-width: unset; }
  .filters-list { flex-direction: column; gap: 12px; }
}

/* ============== TESTIMONIALS & REVIEW CARDS ============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin: 20px 0 30px 0;
  background: #fffbe8;
  border: 1.5px solid var(--secondary);
  border-radius: 16px;
  box-shadow: 0 1.5px 13px rgba(24,18,1,0.06);
  min-width: 220px;
  max-width: 600px;
}
.testimonial-card blockquote {
  color: var(--contrast);
  border-left: 5px solid var(--secondary);
  padding-left: 15px;
  font-size: 1.13em;
  font-family: 'Open Sans', Arial, sans-serif;
  background: transparent;
}
.testimonial-card p {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01em;
}
.testimonial-card strong {
  color: var(--dark);
  font-weight: bold;
}
@media (max-width:560px) {
  .testimonial-card { padding: 10px 6px; }
}

/* ============== FOOTER ========================= */
footer {
  background: var(--primary);
  color: var(--accent);
  font-size: 0.96em;
  padding: 36px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--accent);
  opacity: .92;
  transition: color 0.18s, text-decoration 0.13s;
  text-decoration: underline 1.5px dotted var(--secondary);
  text-underline-offset: 4px;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--secondary); text-decoration: underline 2.5px solid var(--secondary); }
.footer-contact p { margin-bottom: 2px; }
@media (max-width:600px) {
  .footer-nav, .footer-contact { flex-direction: column; gap: 10px; }
}

/* Artistic footer accent */
footer::before {
  content: '';
  display: block;
  width: 110px;
  height: 9px;
  background: var(--secondary);
  border-radius: 24px;
  margin: -18px 0 14px 0;
  opacity: 0.15;
}

/* ===================== Forms & Buttons ===================== */
input, select, textarea {
  border-radius: 7px;
  border: 1.2px solid var(--grey-3);
  padding: 10px 12px;
  font-size: 1.02em;
  background: #fff;
  color: var(--primary);
  box-shadow: none;
  transition: border 0.14s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
}
button, .btn {
  padding: 10px 28px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s, transform 0.14s;
  box-shadow: 0 2px 9px rgba(23,65,94,0.04);
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 6px 24px rgba(44,44,44,0.09);
  transform: translateY(-1.5px) scale(1.03);
}
.cta-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline 2px solid var(--secondary);
  transition: color 0.14s, text-decoration-thickness 0.12s;
  padding-bottom: 1.5px;
}
.cta-link:hover, .cta-link:focus { color: var(--secondary); text-decoration-thickness: 3px; }

/* ================== MISC UTILS ================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.map-placeholder {
  background: var(--grey-2);
  border: 2px dashed var(--secondary);
  border-radius: 16px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 8px 0;
  padding: 24px;
}
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* Artistic icons in lists */
ul li img, ul li svg, ol li img, ol li svg {
  height: 22px;
  width: 22px;
  margin-right: 7px;
  display: inline-block;
  filter: grayscale(0.1);
}

/* ================== COOKIE CONSENT BANNER ================== */
#cookie-banner {
  position: fixed;
  z-index: 2500;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 8vw 24px 8vw;
  box-shadow: 0 -3px 44px 0 rgba(20, 34, 58, 0.12);
  font-size: 1.09em;
  animation: cookie-slide-up 0.6s cubic-bezier(.46,1.14,.59,.99);
}
@keyframes cookie-slide-up {
  from { transform: translateY(130%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#cookie-banner .cookie-text {
  flex-grow: 1;
  max-width: 650px;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
#cookie-banner button {
  font-size: 1em;
  border-radius: 18px;
  border: none;
  outline: none;
  background: var(--secondary);
  color: var(--primary);
  padding: 8px 22px;
  margin: 0 0 0 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: background 0.18s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 10px rgba(216,184,50,.10);
  cursor: pointer;
}
#cookie-banner button.settings {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
#cookie-banner button:hover {
  background: var(--primary);
  color: var(--secondary);
}
#cookie-banner button.settings:hover {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width:600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 17px 5vw 14px 5vw; font-size: 0.97em; }
  #cookie-banner .cookie-actions { flex-direction: column; align-items: flex-start; gap: 9px; }
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  z-index: 2700;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,65,94, 0.91);
  display: none;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.4s cubic-bezier(.65,.1,.48,.93);
}
#cookie-modal.open {
  display: flex;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal .cookie-modal-content {
  background: var(--accent);
  color: var(--primary);
  min-width: 340px;
  max-width: 96vw;
  padding: 34px 30px 24px 30px;
  border-radius: 20px;
  box-shadow: 0 6px 50px rgba(20,34,58,0.16);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
#cookie-modal .cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.18em;
  margin-bottom: 15px;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  font-size: 1.6em;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
#cookie-modal .cookie-modal-close:hover { color: var(--secondary); }
#cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01em;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-category.required label,
.cookie-category.required input[type="checkbox"] {
  color: var(--grey-3);
  pointer-events: none;
  opacity: 0.72;
}
#cookie-modal .cookie-buttons {
  display: flex;
  gap: 11px;
  margin-top: 12px;
}
#cookie-modal .cookie-buttons button {
  min-width: 100px;
  padding: 8px 12px;
}
@media (max-width:540px) {
  #cookie-modal .cookie-modal-content { padding: 20px 8px; min-width: 99vw; }
}

/* ================== ARTISTIC STYLE ACCENTS ================== */
/* Vibrant artistic corners on cards */
.card, .feature-grid > div, .feature-grid > li, .testimonial-card {
  position: relative;
}
.card:before, .feature-grid > div:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  width: 46px;
  height: 46px;
  background: radial-gradient(circle at 65% 35%, var(--secondary) 60%, transparent 82%);
  top: -14px;
  right: -14px;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
  border-radius: 50%;
}

.card:after, .feature-grid > div:after, .testimonial-card:after {
  content: '';
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle at 60% 80%, var(--primary) 65%, transparent 90%);
  bottom: -11px;
  left: -11px;
  z-index: 0;
  opacity: 0.11;
  border-radius: 50%;
}

/* ============== RESPONSIVE =============== */
@media (max-width: 420px) {
  .container { padding: 0 4px; }
  h1 { font-size: 1.41rem; }
  h2 { font-size: 1.17rem; }
}

/* ============== MICRO-INTERACTIONS =============== */
a, button, .cta-button, .btn, nav a {
  transition: background 0.19s, color 0.16s, transform 0.12s, box-shadow 0.16s;
}
.card, .feature-grid > div, .feature-grid > li {
  transition: box-shadow 0.19s, transform 0.12s;
}

/* ================== INTERNAL PAGE VARIANTS ================== */
.content-wrapper > a, .text-section > a, .content-wrapper a.cta-link {
  margin-top: 12px;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: underline 1.5px solid var(--secondary);
  text-underline-offset: 6px;
  transition: color 0.17s;
}
.content-wrapper > a:hover, .text-section > a:hover, .content-wrapper a.cta-link:hover {
  color: var(--primary);
  text-decoration-thickness: 2.5px;
}

/* =============== PRINT FRIENDLY =============== */
@media print {
  header, nav, footer, .mobile-menu, #cookie-banner, #cookie-modal { display:none !important; }
  main { padding: 0; }
  .section, .container, .content-wrapper, .text-section { box-shadow:none; border:none !important; background:none !important; }
}

/* Ensuring min. 20px gap between items in cards and sections */
.section > * + * { margin-top: 24px; }
.card-container > * + *, .content-grid > * + *, .feature-grid > * + *, .testimonial-card + .testimonial-card { margin-left: 0; margin-top: 24px; }

/* Avoiding unwanted absolute for content - only for deco! */
.card *, .feature-grid > div *, .testimonial-card * {
  position: relative;
  z-index: 1;
}

/* =============== SCROLLBAR CUSTOM (subtle, artistic) =============== */
::-webkit-scrollbar {
  width: 11px; background: var(--grey-2); border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary); border-radius: 15px;
}
