/* --- CSS RESET & BASE TYPOGRAPHY --- */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #ffffff;
  color: #253143;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  position: relative;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}

/* Typography scale */
h1, .h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #253143;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #253143;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
h3, .h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #253143;
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #253143;
}
p, ul, ol, li, table, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #253143;
}
p {
  margin-bottom: 16px;
}
a {
  color: #9A3D00;
  text-decoration: none;
  transition: color 0.2s; 
}
a:hover,
a:focus {
  color: #B95D1E;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 20px 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 24px 0 rgba(37,49,67,0.06);
}
thead {
  background: #253143;
}
thead th {
  color: #fff;
  padding: 18px 10px;
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
tbody td {
  padding: 15px 10px;
  border-bottom: 1px solid #e5e8f0;
  color: #253143;
  background: #F8FAFC;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* Layout Containers */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E2EAF2;
  position: sticky;
  top: 0; 
  z-index: 100;
  box-shadow: 0 2px 16px rgba(37,49,67,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 30px;
}
header img {
  height: 54px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #253143;
  border-radius: 8px;
  padding: 7px 14px;
  transition: color 0.16s, background 0.16s;
  position: relative;
}
header nav a:hover:not(.cta-button),
header nav a:focus:not(.cta-button) {
  background: #E2EAF2;
  color: #9A3D00;
}
.cta-button {
  background: linear-gradient(90deg, #9A3D00 0%, #B95D1E 100%);
  color: #fff;
  padding: 9px 28px;
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  border-radius: 35px;
  box-shadow: 0 2px 8px 0 rgba(37,49,67,0.09);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg, #B95D1E 0%, #9A3D00 100%);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(185,93,30,0.16);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #9A3D00;
  cursor: pointer;
  margin-left: 16px;
  z-index: 200;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2E4D6;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,49,67, 0.97);
  z-index: 9000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.41,.95,.59,1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
  box-shadow: -2px 0 32px 0 rgba(37,49,67,0.14);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 32px 24px 0 0;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  cursor: pointer;
  align-self: flex-end;
  z-index: 9500;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: #FFD700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 40px 40px 0 0;
  gap: 24px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  background: none;
  border-radius: 10px;
  padding: 12px 22px;
  transition: background 0.18s, color 0.22s;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  text-align: right;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #253143;
  color: #FFD700;
}

/* --- SECTIONS & SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
}
.content-wrapper.text-section {
  max-width: 720px;
}
@media (max-width: 600px) {
  section,
  .section {
    padding: 28px 7px;
    margin-bottom: 32px;
  }
  .content-wrapper.text-section {
    padding: 0 3px;
  }
  .container {
    padding: 0 8px;
  }
}

/* --- CARDS, FEATURE GRID, FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(37,49,67,0.09);
  overflow: hidden;
  padding: 32px 24px;
  flex: 1 1 320px;
  min-width: 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 24px 0 0 0;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(37,49,67,0.08);
  padding: 28px 20px 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 5px solid #FFD700; /* Gold accent */
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature:hover, .feature:focus-within {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 32px 0 rgba(185, 93, 30, 0.09);
  border-left: 5px solid #9A3D00;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F9FAFB;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(37,49,67,0.07);
  border-left: 6px solid #FFD700; /* Gold accent */
  min-width: 250px;
  max-width: 600px;
  transition: border-color 0.17s, box-shadow 0.18s;
}
.testimonial-card.highlighted {
  border-left: 6px solid #9A3D00;
  background: #fffbe8;
  box-shadow: 0 6px 32px 0 rgba(154,61,0,0.13);
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
  color: #253143;
  margin-bottom: 6px;
  margin-top: 0;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 2px;
}
.star-rating img {
  width: 22px;
  height: 22px;
}
.testimonial-card p {
  color: #253143;
  width: 100%;
  text-align: right;
  margin-bottom: 0;
}

/* --- TRUST BADGES --- */
.trust-badges {
  display: flex;
  gap: 20px;
  flex-direction: row;
  margin: 16px 0 0 0;
}
.trust-badges img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 8px #E2EAF2);
  border-radius: 10px;
}

/* --- FAQ LIST --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 12px 0 rgba(37,49,67,0.06);
  margin-bottom: 8px;
  border-left: 4px solid #FFD700;
}
.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
  filter: grayscale(0.15) contrast(1.1);
}

.map-embed {
  background: #F8F8F8;
  padding: 18px 0;
  text-align: center;
  border-radius: 11px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #AAA6A0;
  font-style: italic;
  font-size: 1em;
}

/* --- FOOTER --- */
footer {
  background: #253143;
  color: #fff;
  padding: 48px 0 26px 0;
  width: 100%;
  margin-top: 60px;
}
footer .container {
  align-items: center;
  justify-content: center;
  gap: 16px;
}
footer img {
  height: 45px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.99rem;
}
.footer-nav a {
  color: #FFD700;
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  transition: color 0.19s, text-decoration 0.19s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.contact-snippet {
  background: #212b38;
  padding: 12px 26px;
  border-radius: 20px;
  margin-bottom: 12px;
  color: #FFD700;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05em;
}
footer p {
  color: #E2EAF2;
  font-size: 0.98em;
  margin-bottom: 0;
}

/* --- COOKIE CONSENT BANNER STYLES --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #f6f1e9;
  color: #253143;
  box-shadow: 0 -4px 24px 0 rgba(154,61,0,0.05);
  z-index: 11000;
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 1em;
  opacity: 1;
  transition: opacity 0.28s cubic-bezier(.41,.95,.59,1.08);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-text {
  flex: 1 1 200px;
  min-width: 185px;
  max-width: 440px;
  font-size: 1.08em;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-btn {
  background: #FFD700;
  color: #253143;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 8px 26px;
  font-size: 1.06em;
  margin: 0 0 0 0;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(154,61,0,0.07);
  transition: background 0.15s, color 0.15s, box-shadow 0.16s;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #9A3D00;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(154,61,0,0.16);
}
.cookie-btn.secondary {
  background: none;
  border: 2px solid #FFD700;
  color: #253143;
  box-shadow: none;
  padding: 8px 18px;
}
.cookie-btn.secondary:hover,
.cookie-btn.secondary:focus {
  background: #E2EAF2;
  color: #9A3D00;
  border-color: #9A3D00;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(37,49,67,0.77);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.21,.99,.5,.98);
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #253143;
  border-radius: 20px;
  margin-top: 80px;
  padding: 36px 30px 26px 30px;
  box-shadow: 0 10px 64px rgba(37,49,67,0.12), 0 2px 10px rgba(154,61,0,0.04);
  max-width: 380px;
  width: 98vw;
  min-width: 240px;
  font-size: 1.04em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 12001;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.15em;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 13px 0 11px 0;
  width: 100%;
  border-bottom: 1px solid #E2EAF2;
  font-size: 1.08em;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  cursor: pointer;
  font-size: 1em;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #E2EAF2;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #FFD700;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.23s cubic-bezier(.6,1.43,.41,.94);
  box-shadow: 0 1px 2px rgba(37,49,67,0.06);
}
.cookie-toggle:checked:before {
  left: 23px;
  background: #9A3D00;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1.06em;
}

/* --- UTILITIES --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-24 { margin-top: 24px; } 
.mb-24 { margin-bottom: 24px; }

/* --- RESPONSIVENESS: MOBILE-FIRST --- */
@media (max-width: 1200px) {
  .container { max-width: 94vw; }
}
@media (max-width: 890px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .feature-grid {
    gap: 20px;
  }
  .card {
    min-width: 180px;
    padding: 24px 12px;
  }
}
@media (max-width: 780px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 4px; }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .testimonial-card, .faq-item, .card {
    max-width: 98vw;
  }
  .text-image-section { 
    flex-direction: column; 
    gap: 20px; 
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.65rem; margin-bottom: 18px; }
  h2, .h2 { font-size: 1.35rem; margin-bottom: 16px; }
  h3, .h3 { font-size: 1.09rem; }
  .cta-button, .cookie-btn { font-size: 1em; padding: 7px 18px; }
  .feature, .testimonial-card, .card { padding: 15px 7px; }
  .cookie-modal { padding: 9vw 6vw 8vw 6vw; }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card, .feature, .testimonial-card, .faq-item {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .card:focus-within, .faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(185,93,30,0.12);
  transform: translateY(-2px);
}
.cta-button, .cookie-btn {
  transition: background 0.21s, color 0.21s, box-shadow 0.21s, transform 0.14s;
}
.cta-button:active,
.cookie-btn:active {
  transform: scale(0.96);
}

/* --- OVERRIDE BUTTON/INPUT RESET --- */
button,
input[type="button"],
input[type="submit"] {
  font-family: inherit;
  font-size: inherit;
}

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

/* --- SPACING BETWEEN CONTENT ELEMENTS --- */
section > .container:not(:last-child),
.card-container > *,
.feature-grid > *,
.content-grid > * {
  margin-bottom: 20px;
}
section:last-of-type {
  margin-bottom: 0;
}

/* --- ENSURE NO GRID/COLUMNS APPEAR ANYWHERE --- */
/* (No display: grid, grid-* or column-* used) */