/* -------------------------
   CSS RESET & BASE STYLES
-------------------------- */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F8FA;
  color: #223E53;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #223E53;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D9B300;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: 700;
}

/* --------------
   BRAND FONTS
--------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 18px;
}
p, li {
  font-size: 1rem;
  color: #223E53;
}

@media (min-width: 500px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.36rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
}

/* -------------------
   CONTAINER CLASSES
--------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

/* --------------
   HEADER STYLES
--------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 24px rgba(34,62,83,0.04);
  padding: 12px 0 12px 0;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 72px;
  flex-wrap: wrap;
}
header img[alt$="Logo"] {
  height: 44px;
  margin-right: 24px;
  margin-left: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex: 1 1 auto;
  align-items: center;
}
header nav a {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #223E53;
  padding: 7px 11px;
  border-radius: 7px;
  transition: background .2s, color .2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #D9B300;
  color: #fff;
}
.cta.primary {
  background: #223E53;
  color: #fff;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  border: 2.5px solid #223E53;
  border-radius: 12px;
  padding: 10px 28px;
  box-shadow: 0 3px 18px 0 rgba(34,62,83,.10);
  margin-left: 20px;
  transition: background .2s, color .2s, border-color .2s, transform .12s;
  display: inline-block;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #D9B300;
  color: #223E53;
  border-color: #D9B300;
  transform: translateY(-2px) scale(1.025);
}
.cta.secondary {
  background: #F6F8FA;
  color: #223E53;
  border: 2.5px solid #D9B300;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 9px 24px;
  margin-top: 12px;
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
  box-shadow: 0 2px 6px 0 rgba(34,62,83,0.10);
  cursor: pointer;
  text-align: center;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #223E53;
  color: #fff;
  box-shadow: 0 3px 18px rgba(34,62,83,.08);
  border-color: #223E53;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  background: #D9B300;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: 18px;
  cursor: pointer;
  display: none;
  z-index: 400;
  box-shadow: 0 2px 12px 0 rgba(223,179,0,.15);
  transition: background .2s, color .2s, transform .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #223E53;
  color: #D9B300;
  transform: scale(1.075);
}

@media (max-width: 900px) {
  header img[alt$="Logo"] {
    margin-right: 16px;
    margin-left: 12px;
    height: 38px;
  }
  .cta.primary {
    padding: 8px 18px;
    font-size: 1rem;
    margin-left: 8px;
  }
  header nav {
    gap: 11px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 0 8px 0;
  }
  header nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: relative;
    float: right;
  }
}

/* -------------------
   MOBILE MENU
-------------------- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  bottom: 0; left: 0;
  background: rgba(34,62,83, 0.97);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.5,1.1,0.5,1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 0;
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.7rem;
  color: #D9B300;
  background: transparent;
  border: none;
  padding: 20px 24px 8px 0;
  cursor: pointer;
  z-index: 10002;
  align-self: flex-end;
  transition: color .2s, transform .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.12) rotate(7deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding: 40px 24px 0 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color .2s, border-color .2s;
  width: 100%;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D9B300;
  border-bottom: 2px solid #D9B300;
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -----------
   MAIN LAYOUT
------------- */
main {
  width: 100%;
  min-height: 70vh;
  margin-top: 0;
  z-index: 1;
  position: relative;
  padding-bottom: 40px;
}

/* --------------
   SECTION PADS
--------------- */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(223,179,0,0.09), 0 0 0 5px #fff;
  /* slight artistic border effect */
}

@media (max-width: 600px) {
  .section {
    padding: 22px 8px;
    margin-bottom: 40px;
    border-radius: 14px;
  }
}

/* ---------------------
   FLEX UTILITIES
----------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,62,83,0.08);
  padding: 28px 21px 22px 21px;
  transition: transform .14s, box-shadow .18s;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 24px rgba(34,62,83,0.13);
  z-index: 4;
}
.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;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid {
    gap: 16px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
  margin-bottom: 15px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffbe7;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(223,179,0,0.07);
  padding: 18px 18px 15px 18px;
  min-width: 220px;
  flex: 1 1 210px;
  max-width: 320px;
  transition: box-shadow 0.16s, transform 0.13s;
  position: relative;
  border: 2px solid #f2e8bd;
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px #D9B30022);
}
.feature-item h3 {
  font-size: 1.1rem;
  color: #223E53;
  margin-bottom: 6px;
  text-shadow: 0 1px 0 #ffe29455;
}
.feature-item span {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  color: #D9B300;
  font-size: 1.16rem;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px rgba(223,179,0,0.13);
  border-color: #D9B300;
  transform: scale(1.023);
}

/* -----------------
   TESTIMONIAL CARDS
------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(34,62,83,.09);
  border-left: 7px solid #D9B300;
  margin-bottom: 28px;
  position: relative;
  min-width: 0;
  max-width: 700px;
}
.testimonial-card blockquote {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-size: 1.18rem;
  color: #223E53;
  font-style: italic;
  margin-right: 10px;
  margin-bottom: 0;
  line-height: 1.5;
}
.testimonial-card span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #223E53;
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 5px;
}
.testimonial-card img {
  height: 1.5em;
  width: auto;
  margin-left: 4px;
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 9px;
    margin-bottom: 17px;
    border-radius: 13px;
  }
  .testimonial-card blockquote {
    font-size: 1.02rem;
  }
}

/* Textual Sections, About, Contact */
.text-section {
  background: #FAF3CD;
  padding: 22px 19px;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(223,179,0,.04);
  margin-bottom: 20px;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-placeholder {
  background: #fffbe7;
  border: 2px dashed #D9B300;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  color: #A39127;
  font-style: italic;
  font-size: 1.02rem;
}

/* -------------------
   FOOTER STYLES
--------------------- */
footer {
  background: #223E53;
  color: #fff;
  width: 100%;
  padding: 34px 0 18px 0;
  margin-top: 40px;
}
footer .container {
  max-width: 1080px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #D9B300;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  transition: color .2s;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #223E53;
}
.footer-meta {
  color: #fff;
  font-size: 0.98rem;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.8;
}
.footer-meta a {
  color: #D9B300;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .footer-meta {
    flex-direction: column;
    gap: 4px;
  }
  footer {
    padding: 24px 0 14px 0;
  }
}

/* -----------------------------
   COOKIE BANNER + PREFERENCE MODAL
------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: rgba(255,249,187,0.99);
  color: #223E53;
  z-index: 21000;
  box-shadow: 0 -2px 18px rgba(34,62,83,0.07);
  padding: 22px 18px 17px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  font-size: 1rem;
}
.cookie-banner p {
  flex: 2 1 200px;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #223E53;
  color: #ffffff;
  border: none;
  padding: 9px 25px;
  border-radius: 7px;
  transition: background .19s, color .17s, transform .18s;
  box-shadow: 0 2px 10px 0 rgba(223,179,0,0.11);
  cursor: pointer;
}
.cookie-banner button.cookie-accept-all {
  background: #D9B300;
  color: #223E53;
}
.cookie-banner button.cookie-reject-all {
  background: #F6F8FA;
  color: #223E53;
  border: 2px solid #D9B300;
}
.cookie-banner button.cookie-settings {
  background: #223E53;
}
.cookie-banner button:active, .cookie-banner button:focus {
  background: #fffbe7;
  color: #D9B300;
  outline: 2px solid #D9B300;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    font-size: 0.97rem;
    align-items: stretch;
    padding: 18px 8px 13px 8px;
  }
  .cookie-banner .cookie-btns {
    justify-content: flex-start;
    gap: 8px;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: #fffbe7;
  color: #223E53;
  z-index: 22001;
  border-radius: 18px;
  box-shadow: 0 10px 34px 1px #D9B30044;
  padding: 34px 30px 24px 30px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 90vh;
  overflow:auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s, transform .28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.0);
}
.cookie-modal h2 {
  color: #223E53;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  font-size: 1.27rem;
}
.cookie-modal ul {
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px 0;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  color: #223E53;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #ddd;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background .19s;
}
.cookie-toggle:checked {
  background: #D9B300;
}
.cookie-toggle:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 2.5px;
  transition: left .18s;
  box-shadow: 0 2px 4px #D9B30022;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-pref-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 17px;
}
.cookie-modal button {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: #223E53;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 7px;
  margin-right: 9px;
  cursor: pointer;
  transition: background .17s;
}
.cookie-modal button.cookie-pref-save {
  background: #D9B300;
  color: #223E53;
}
.cookie-modal button:focus {
  outline: 2px solid #D9B300;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 7px 12px 7px;
    min-width: 0;
  }
  .cookie-modal h2 {
    font-size: 1.08rem;
  }
}

/* --------------
   UNIQUE ARTISTIC ACCENTS
--------------- */
h1, h2, h3 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 6px;
  border-radius: 4px;
  background: #D9B300;
  margin-top: 7px;
  margin-bottom: 2px;
  opacity: 0.72;
}
h2::after {
  width: 48px;
  height: 4px;
  background: #D9B300;
  margin-top: 4px;
}
@media (max-width: 700px) {
  h1::after, h2::after {
    width: 37px;
    height: 3px;
  }
}

.feature-item {
  border-left: 6px solid #D9B300;
  border-right: 2px solid #D9B30011;
  background-image: repeating-linear-gradient(-45deg,#fffbe722 0 18px,#fff 18px 38px);
}

.card {
  border-left: 6px solid #223E53;
  background-image: radial-gradient(circle at 24px 12px,#D9B30022 0 16px,#fff 30px);
}

/* Decorative confetti for CTA */
.cta.primary::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 50%;
  background: #D9B300;
  box-shadow: 0 -6px 0 #F6F8FA, 8px 0 0 #D9B30044;
  vertical-align: middle;
  opacity: 0.7;
}

/* -------------
   MEDIA QUERIES
-------------- */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: row;
    gap: 15px;
  }
  .feature-item {
    min-width: 160px;
    padding: 14px 4vw 12px 12px;
    font-size: 0.97rem;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 10px;
  }
  .footer-meta {
    font-size: 0.87rem;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 3px;
    padding-right: 3px;
  }
}

/* ---------------
   FORM and INPUTS
------------------ */
input[type=text], input[type=email], textarea, select {
  border: 2px solid #D9B300;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 1rem;
  margin-bottom: 12px;
  width: 100%;
  box-shadow: 0 2px 7px #D9B30009;
  background: #fff;
  color: #223E53;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus, select:focus {
  outline: 2px solid #D9B300;
  background: #fffbe7;
}

button, input[type=submit] {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #D9B300;
  color: #223E53;
  border: none;
  border-radius: 7px;
  padding: 10px 23px;
  margin: 7px 0;
  box-shadow: 0 2px 8px #D9B30033;
  transition: background .17s, color .17s;
}
button:hover, button:focus {
  background: #223E53;
  color: #fff;
}

/* --------------
   UTILITIES
--------------- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.rounded { border-radius: 12px; }
.shadow {
  box-shadow: 0 4px 20px 0 rgba(34,62,83,0.09);
}

/* ---------------
   MICRO-ANIMATIONS
------------------- */
a, button, .feature-item, .card, .cta {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, border-color 0.18s, transform 0.14s;
}
.card:hover, .feature-item:hover, .card:focus-within, .feature-item:focus-within {
  box-shadow: 0 16px 38px 0 rgba(34,62,83,0.14);
  transform: scale(1.018);
}

/* ---------
   OVERRIDES
---------- */
::-webkit-scrollbar {
  width: 12px;
  background: #F6F8FA;
}
::-webkit-scrollbar-thumb {
  background: #D9B300;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A39127;
}

/* -------------
   ACCESSIBILITY
-------------- */
:focus {
  outline-color: #D9B300;
  outline-style: solid;
}

/* -------------
   Z-INDEX
-------------- */
header { z-index: 101; }
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 21000; }
.cookie-modal { z-index: 22001; }

/* --------------
   SPACING RULES
--------------- */
section, .section {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .text-image-section {
  gap: 20px;
}

@media (max-width: 500px) {
  section, .section {
    padding-top: 22px;
    padding-bottom: 22px;
    margin-bottom: 40px;
  }
}
