/* ========== CSS RESET ========== */
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; }
body {
  line-height: 1.5;
  background: #FFE9C7;
  color: #1C3144;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
*::selection {
  background: #2A5D68;
  color: #FFE9C7;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1C3144;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,.01,.165,.99);
}
a:focus, a:hover {
  color: #2A5D68;
  text-decoration: underline dotted;
}

/* ========== FONT-FACES: Vintage/Retro style ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.015em;
  color: #1C3144;
  text-transform: uppercase;
}
h1 { font-size: 2.5rem; line-height: 1.13; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.16; margin-bottom: 16px; }
h3 { font-size: 1.35rem; line-height: 1.23; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }

p, ul, ol, li, span, label, input, textarea, button {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2A5D68;
}

strong, b { font-weight: 700; }

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,233,199,0.6);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(28,49,68,0.08);
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.map-embed {
  background: #fff7eb;
  border: 2px dashed #A9895F;
  border-radius: 9px;
  padding: 16px 20px;
  margin-top: 18px;
}

/* ========== FLEX GRIDS ========== */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
}
.feature-grid li, .card {
  flex: 1 1 250px;
  min-width: 250px;
  background: #fff7eb;
  border-radius: 11px;
  box-shadow: 0 4px 28px 0 rgba(42, 93, 104, 0.07), 0 1.5px 0 #EDD982 inset;
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: transform 0.21s cubic-bezier(.4,.01,.165,.99), box-shadow 0.18s;
  border: 1.5px solid #EAD8BD;
}
.feature-grid li:hover, .card:hover {
  transform: translateY(-7px) scale(1.01) rotate(-1deg);
  box-shadow: 0 8px 28px 0 rgba(42,93,104,0.16), 0 2px 0 #EDD982 inset;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  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: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 20px 0 rgba(38,36,18,0.12);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 6px solid #EDD982;
  max-width: 440px;
  min-width: 0;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(42,93,104,0.19);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Ensure minimum spacing between all cards */
.feature-grid li, .testimonial-card, .card {
  margin-right: 0;
}

/* ========== BUTTONS & INTERACTIONS ========== */
.cta {
  display: inline-block;
  padding: 12px 30px;
  margin-top: 12px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #EDD982;
  color: #1C3144;
  border: none;
  border-radius: 32px;
  box-shadow: 0 3px 18px 0 rgba(110,88,35,0.11);
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
  text-align: center;
  text-decoration: none;
}
.cta.primary {
  background: #1C3144;
  color: #FFE9C7;
  border: 2px solid #EDD982;
  box-shadow: 0 4px 28px 0 rgba(28,49,68,0.24);
}
.cta.primary:hover, .cta.primary:focus {
  background: #A9895F;
  color: #fff;
  outline: 2px dashed #FFE9C7;
}
.cta:not(.primary):hover, .cta:not(.primary):focus {
  background: #2A5D68;
  color: #fff;
}

button, .cta {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, outline 0.13s;
}
button:focus {
  outline: 2px solid #EDD982;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  width: 100%;
  background: #EDD982;
  padding: 0;
  border-bottom: 4px solid #1C3144;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
}
header img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
header nav a {
  padding: 7px 13px;
  border-radius: 9px;
  color: #1C3144;
  font-size: 1.08rem;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
header nav a:hover, header nav a.active {
  background: #2A5D68;
  color: #FFE9C7;
}
header .cta.primary {
  margin-left: 20px;
  margin-top: 0;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: #2A5D68;
  color: #FFE9C7;
  border: none;
  font-size: 2.2rem;
  padding: 5px 17px 2px 17px;
  border-radius: 10px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 2px 12px 0 rgba(42,93,104,0.07);
  z-index: 1101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EDD982;
  color: #1C3144;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #EDD982;
  box-shadow: 0 5px 32px 0 rgba(28,49,68,0.26);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.98,-0.01,.04,1), opacity 0.20s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #1C3144;
  color: #EDD982;
  border: none;
  font-size: 2.1rem;
  margin: 20px 16px 0 0;
  border-radius: 6px;
  padding: 2px 15px;
  cursor: pointer;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2A5D68;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  margin-top: 32px;
  align-items: flex-start;
  padding-left: 20vw;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C3144;
  padding: 9px 0;
  margin-bottom: 2px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  width: fit-content;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #EDD982;
  color: #2A5D68;
}

/* ========== MAIN & SECTION SPACING ========== */
main {
  padding-top: 18px;
  padding-bottom: 36px;
  min-height: 100vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,233,199,0.6);
  border-radius: 12px;
}
section:last-child { margin-bottom: 0; }

/* ========== LISTS, OL, UL ========== */
ul, ol {
  margin-left: 28px;
  margin-bottom: 12px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.65;
  padding-left: 7px;
}
ol {
  list-style: decimal inside;
}
ul {
  list-style: disc inside;
}

/* ========== FOOTER ========== */
footer {
  width: 100%;
  background: #1C3144;
  color: #FFE9C7;
  padding-top: 34px;
  padding-bottom: 28px;
  font-size: 1rem;
  border-top: 4px solid #EDD982;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}
.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #FFF7C7;
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.14s, opacity 0.14s;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  color: #EDD982;
  opacity: 1;
}
.footer-contact p,
.footer-contact p img {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFE9C7;
  font-size: 1rem;
  margin-bottom: 9px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.footer-social a img {
  filter: grayscale(30%);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: filter 0.15s, background 0.15s;
  background: #EDD982;
  padding: 3px;
  box-shadow: 0 1px 10px 0 rgba(255,233,199,0.07);
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(92%);
  background: #A9895F;
}
.footer-disclaimer {
  width: 100%;
  color: #EDD982;
  margin-top: 16px;
  font-size: 0.95rem;
  opacity: 0.93;
}

/* ========== TESTIMONIALS ACCESSIBILITY ========== */
.testimonial-card p,
.testimonial-card span {
  color: #1C3144;
  font-size: 1.03rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #A9895F;
}
.testimonial-card b {
  color: #2A5D68;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1050px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .feature-grid, .card-container, .content-grid, .testimonial-slider {
    gap: 16px;
  }
  section, .section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-brand img {
    height: 38px;
    margin-bottom: 8px;
  }
  .feature-grid, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  section, .section {
    padding: 20px 3px;
    margin-bottom: 38px;
    border-radius: 10px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 16px;
  }
  .footer-contact p {
    font-size: 0.97rem;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  header img {
    height: 29px;
  }
  .cta, .cta.primary {
    font-size: 1rem;
    padding: 10px 20px;
  }
  footer {
    padding-top: 24px;
    padding-bottom: 18px;
    font-size: 0.95rem;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 5000;
  background: #EDD982;
  color: #1C3144;
  box-shadow: 0 -2px 18px 0 rgba(42,93,104,0.18);
  padding: 22px 3vw 18px 3vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  font-size: 1rem;
}
.cookie-banner__text {
  flex: 1 1 300px;
  max-width: 530px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  background: #1C3144;
  color: #EDD982;
  border: 2px solid #EDD982;
  border-radius: 22px;
  padding: 9px 19px;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 2px 10px 0 rgba(28,49,68,0.12);
  transition: background 0.18s, color 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #A9895F;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #EDD982;
  color: #1C3144;
  border: 2px solid #1C3144;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 1vw 12px 2vw;
    font-size: 0.96rem;
    gap: 13px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 7000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,49,68,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(.4,.01,.165,.99);
}
.cookie-modal-overlay.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff7eb;
  color: #1C3144;
  border-radius: 14px;
  max-width: 410px;
  width: 94vw;
  padding: 34px 25px 24px 25px;
  box-shadow: 0 10px 40px 0 rgba(42,93,104,0.23);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeinPop 0.35s cubic-bezier(.62,.12,.29,.98);
}
@keyframes fadeinPop {
  0% { transform: translateY(48px) scale(.98); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 800;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-modal__category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1C3144;
}
.cookie-modal__category input[type=checkbox] {
  accent-color: #2A5D68;
  border-radius: 3px;
  width: 18px; height: 18px;
  margin-left: 8px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 8px;
}
.cookie-modal__close {
  background: #EDD982;
  color: #1C3144;
  border: 2px solid #1C3144;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 15px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: -9px;
  margin-top: -14px;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #A9895F;
  color: #fff;
}

/* ========== VINTAGE/RETRO ELEMENTS & ACCENTS ========== */
section, .section {
  background-image: repeating-linear-gradient(135deg, #EDD982 0px, #EDD982 1.5px, transparent 2.5px, transparent 13px), repeating-linear-gradient(45deg, #A9895F 0px, #A9895F 1.5px, transparent 2.5px, transparent 22px);
  background-blend-mode: lighten;
}
.feature-grid li, .card, .testimonial-card {
  border: 1.5px solid #EAD8BD;
  background-color: #fff7eb;
  position: relative;
}
.feature-grid li::before, .testimonial-card::before {
  content: '';
  position: absolute;
  display: block;
  top: -13px;
  left: 20px;
  width: 42px;
  height: 10px;
  background: repeating-linear-gradient(90deg, #EDD982, #EDD982 8px, #FFE9C7 8px, #FFE9C7 16px);
  border-radius: 5px 5px 15px 15px;
  opacity: 0.42;
  z-index: 1;
}
.feature-grid li img, .card img {
  max-width: 50px;
  margin-bottom: 10px;
  filter: sepia(60%) saturate(75%) hue-rotate(-12deg);
}

/* Custom classic corner ornament */
.feature-grid li::after, .testimonial-card::after {
  content: '';
  position: absolute;
  display: block;
  bottom: -11px;
  right: 21px;
  width: 36px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #EDD982, #EDD982 5px, #FFE9C7 5px, #FFE9C7 14px);
  border-radius: 1px 4px 15px 5px;
  opacity: 0.30;
  z-index: 1;
}

/* VINTAGE SHADOWS */
.feature-grid li, .card, .testimonial-card {
  box-shadow: 0 4px 22px 0 rgba(28,49,68,0.08), 0 1.5px 0 #EDD982 inset;
  border-radius: 13px;
}

/* ========== TYPOGRAPHY SCALE (RETRO-INSPIRED) ========== */
h1 { font-size: 2.5rem; letter-spacing: 0.03em; }
h2 { font-size: 2rem; letter-spacing: 0.02em; }
h3 { font-size: 1.35rem; letter-spacing: 0.01em; }
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
}

/* ========== ICON BUTTON WRAPPERS ========== */
.footer-contact img, .footer-social img, .feature-grid img, .card img {
  border-radius: 8px;
  background: #EDD982;
  box-shadow: 0 1px 6px 0 rgba(42,93,104,0.09);
}

/* ========== MISCELLANEOUS ========== */
::-webkit-scrollbar {
  width: 12px;
  background: #EDD982;
}
::-webkit-scrollbar-thumb {
  background: #A9895F;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2A5D68;
}

input, textarea {
  background: #fff7eb;
  border: 1.5px solid #A9895F;
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 11px;
  font-size: 1rem;
  color: #1C3144;
  font-family: 'Open Sans', Arial, sans-serif;
}
input:focus, textarea:focus {
  outline: 2px solid #EDD982;
  border-color: #1C3144;
  background: #fffde5;
}
label {
  font-weight: 600;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A5D68;
  font-size: 1rem;
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, main, body { background: #fff !important; color: #1C3144 !important; }
}
