/* --- 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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FFF9F1;
  color: #24546C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #51792E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #37632b;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
h1, h2, h3, h4, h5, h6 {
  color: #24546C;
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; letter-spacing: 0.025em; }
h2 { font-size: 2rem; margin-bottom: 18px; letter-spacing: 0.015em; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 5px; }
p, ul, ol, li, table, th, td { font-size: 1rem; }
p, ul, ol { margin-bottom: 16px; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* --- CONTAINER AND LAYOUT --- */
.container {
  max-width: 1180px;
  width: 95%;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF9F1;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(36,84,108,0.08), 0 1.5px 4px rgba(117, 102, 68, 0.07);
}
@media (max-width: 600px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- FLEXBOX LAYOUT REQUIREMENTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(82,97,87,0.13);
  padding: 26px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(81,121,46,0.18);
  transform: translateY(-4px) scale(1.018);
}
.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) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFF6E2;
  border: 2.5px dashed #51792E;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(36,84,108,0.1);
  color: #26394D;
  transition: box-shadow 0.15s;
}
.testimonial-card strong { color: #24546C; font-family: 'Raleway', 'Open Sans', Arial, sans-serif; }
.testimonial-card:hover { box-shadow: 0 8px 48px rgba(117, 102, 68, 0.18); }

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

ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 38px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
ul.feature-grid li {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
  gap: 12px;
  padding: 12px 18px;
  background: #EDE4D3;
  border-radius: 13px;
  min-width: 220px;
  border: 1.5px solid #d6c8b1;
  box-shadow: 0 2px 8px rgba(36,84,108,0.05);
  transition: background 0.2s;
}
ul.feature-grid li:hover {
  background: #E1ECED;
}
@media (max-width: 800px) {
  ul.feature-grid {
    gap: 16px 0px;
    flex-direction: column;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
  align-items: center;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #24546C;
  font-size: 0.97rem;
}

.map-placeholder {
  background: repeating-linear-gradient(45deg,#eee 0px,#eee 12px,#e5dccf 12px,#e5dccf 24px);
  border: 2px solid #24546C;
  color: #677870;
  border-radius: 10px;
  padding: 28px 8px;
  margin: 14px 0 6px 0;
  text-align: center;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #FFF3E6;
  border-bottom: 4px solid #d7b83a;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 30;
}
header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 7px 0;
  color: #24546C;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-bottom-color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #51792E;
  border-bottom: 2px solid #51792E;
}
.main-nav .cta-button {
  background: #51792E;
  color: #FFF9F1;
  border-radius: 24px;
  padding: 7px 26px;
  margin-left: 16px;
  font-size: 1.07rem;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 2.5px solid #24546C;
  box-shadow: 0 1px 6px rgba(36,84,108,0.09);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-shadow: 1px 1px 0px #d7b83a33;
}
.main-nav .cta-button:hover, .main-nav .cta-button:focus {
  background: #E1ECED;
  color: #24546C;
  border-color: #d7b83a;
}
@media (max-width: 980px) {
  .main-nav a {
    font-size: 0.99rem;
    padding: 6px 0;
  }
  .main-nav .cta-button {
    padding: 7px 14px;
    font-size: 1rem;
  }
}

/* LOGO SIZE */
header img {
  height: 48px;
  width: auto;
}
@media (max-width: 600px) {
  header img {
    height: 37px;
  }
}

/* --- BURGER MENU (MOBILE NAV) --- */
.mobile-menu-toggle {
  background: #24546C;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 7px;
  padding: 6px 14px 7px 14px;
  cursor: pointer;
  display: none;
  margin-left: 16px;
  transition: background 0.18s;
  z-index: 1010;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #51792E;
  color: #fff7e6;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF9F1;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.72,0,0.32,1);
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  min-height: 100vh;
  width: 100vw;
  box-shadow: 12px 0 32px rgba(36,84,108,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #51792E;
  font-size: 2.2rem;
  padding: 0 18px;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2010;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #24546C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 24px 26px;
}
.mobile-nav a {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #24546C;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.17s, border-bottom-color 0.15s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #51792E;
  border-bottom: 2px solid #d7b83a;
  background: #E1ECED;
  border-radius: 9px;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- BUTTONS --- */
.cta-button {
  display: inline-block;
  padding: 12px 38px;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
  color: #FFF9F1;
  background: #24546C;
  border: 2.5px solid #51792E;
  border-radius: 25px;
  transition: background 0.17s, color 0.16s, border 0.17s, transform 0.18s;
  margin-top: 8px;
  box-shadow: 0 2px 9px rgba(36,84,108,0.09);
  letter-spacing: 0.035em;
  cursor: pointer;
  text-align: center;
  text-shadow: 1px 2px 0px #b8be8042;
}
.cta-button:hover, .cta-button:focus {
  background: #76A046;
  color: #FFF9F1;
  border-color: #d7b83a;
  transform: translateY(-2px) scale(1.04);
}
button, .button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  background: #51792E;
  color: #FFF9F1;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #24546C;
  color: #E1ECED;
}

/* --- CARDS --- */
.card {
  border: 2.5px solid #E1ECED;
  background: #FFFFFF;
  border-radius: 18px;
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fcf6ed;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 1px 7px rgba(77,53,13,0.08);
  overflow: hidden;
}
thead tr {
  background: #24546C;
  color: #fff;
}
th, td {
  padding: 14px 10px;
  border-bottom: 1px solid #ece2d0;
  text-align: left;
}
th {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.09rem;
}
tr:last-child td {
  border-bottom: none;
}

/* --- FOOTER --- */
footer {
  background: #E1ECED;
  padding: 34px 0 28px 0;
  box-shadow: 0 -2px 16px rgba(36,84,108,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF3E6;
  border-top: 3px solid #d7b83a;
  box-shadow: 0 -1.5px 32px rgba(36,84,108,0.12);
  padding: 22px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  z-index: 9001;
  animation: fadeInCookie 0.54s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes fadeInCookie {
  from { opacity:0; transform: translateY(60px); }
  to { opacity:1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 180px;
  margin: 0;
  color: #24546C;
  font-size: 1.07rem;
}
.cookie-controls {
  display: flex; flex-wrap: wrap; gap: 13px;
}
.cookie-banner button, .cookie-banner .button {
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0 0;
  border: 2px solid #51792E;
}
.cookie-banner .accept-all {
  background: #51792E;
  color: #fff;
  border-color: #51792E;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: #76A046;
  color: #fff;
}
.cookie-banner .reject-all {
  background: #fff6e2;
  color: #24546C;
  border-color: #d7b83a;
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: #e1eced;
}
.cookie-banner .settings {
  background: #24546C;
  color: #fff;
  border-color: #51792E;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E1ECED;
  color: #24546C;
}

/* --- COOKIE BANNER MODAL --- */
.cookie-modal-overlay {
  position:fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(36, 84, 108, 0.34);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFade 0.31s cubic-bezier(0.18,1,0.32,1) both;
}
@keyframes cookieModalFade {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff9f1;
  border: 3.5px solid #51792E;
  border-radius: 18px;
  min-width: 320px; max-width: 94vw;
  padding: 37px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  box-shadow: 0 4px 28px rgba(36,84,108,0.18);
  font-family: 'Open Sans', Arial, sans-serif;
  color: #24546C;
  z-index: 10020;
  animation: cookieModalPop 0.35s cubic-bezier(0.18,0.7,0.22,1.1) both;
}
@keyframes cookieModalPop {
  from { transform:scale(0.85) translateY(40px); opacity:0; }
  to { transform:scale(1) translateY(0); opacity:1; }
}
.cookie-modal .modal-close {
  position:absolute; top:16px; right:18px;
  border:none; background:none; color: #24546C;
  font-size:2.1rem; cursor:pointer; z-index:10030;
  transition: color 0.2s;
}
.cookie-modal .modal-close:hover { color: #51792E; }
.cookie-modal h2 {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.22rem;
}
.cookie-modal ul {
  margin-left: 0;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 6px 0;
  font-size: 1.05rem;
}
.cookie-modal label {
  font-weight: 600;
  font-family: 'Raleway', Arial, sans-serif;
}
.cookie-switch {
  width: 46px; height: 24px;
  background: #E1ECED;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  transition: background 0.18s;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute; left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #51792E;
  border-radius: 50%;
  transition: left 0.22s, background 0.16s;
}
.cookie-switch input:checked + .cookie-slider {
  left: 24px;
  background: #d7b83a;
}
.cookie-category-essential {
  filter: grayscale(0.65);
  opacity: 0.70;
}
.cookie-modal .cookie-actions {
  margin-top: 8px;
  display: flex;
  gap: 18px;
}
.cookie-modal .button,
.cookie-modal button {
  box-shadow: none;
  border-radius: 8px;
  border: 2.5px solid #51792E;
  background: #51792E;
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
  font-size: 1rem;
}
.cookie-modal .button:hover, .cookie-modal button:hover {
  background: #24546C;
  color: #E1ECED;
}

/* --- SPACING RULES --- */
main section {
  margin-bottom: 60px;
}
.content-wrapper > * { margin-bottom: 0; }
h1, h2, h3, h4 {
  margin-top: 0;
}
main section:last-child {
  margin-bottom: 0;
}

/* --- VINTAGE/RETRO AESTHETIC: COLORS, FONTS, PATTERNS --- */
body, .section {
  background: repeating-linear-gradient(135deg, #FFF9F1 0px, #FFF9F1 35px, #E1ECED 35px, #E1ECED 70px);
}
.section {
  border: 3.5px double #d7b83a;
  background-color: #FFF9F1;
}
.card, .content-wrapper, .footer-contact, .cookie-modal {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
h1, h2, h3 {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  text-shadow: 2px 2px 0px #e4e4da35, 1px 3px 0px #d7b83a13;
}
.cta-button, .card {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
}
ul.feature-grid li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* RETRO ACCENTS */
.cta-button, .mobile-menu-toggle,
button, .button, .cookie-banner button, .cookie-banner .button {
  box-shadow: 2px 2px 0px #d7b83a33;
}
ul.feature-grid li {
  border-style: dashed;
}
footer {
  border-top: 7px double #d7b83a;
}

/* --- MISC --- */
::-webkit-scrollbar { width: 13px; background: #E1ECED; }
::-webkit-scrollbar-thumb { background: #d7b83a; border-radius: 12px; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 700px) {
  .container { max-width: 99vw; width: 100%; padding: 0 5px; }
  .footer-links, .footer-contact, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
}

/* --- UTILITY --- */
.hide { display: none !important; }

/* --- Z-ORDER --- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 100; }

/* --- RETRO/DECORATIVE TOUCHES --- */
h1, h2 { letter-spacing: 2.5px; }
.card, .testimonial-card {
  border-radius: 15px 50px 20px 35px/20px 30px 12px 38px;
  border: 3.0px solid #d7b83a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
main section {
  border-radius: 30px 12px 41px 12px/18px 32px 19px 38px;
}

/* --- END OF FILE --- */
