/* ------------------ CSS RESET & BASE ------------------ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F5F5;
  color: #12364C;
  min-height: 100vh;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
:focus { outline: 2px solid #DAA520; outline-offset: 2px; }

/* ----------- TYPOGRAPHY: MODERN BOLD STYLE ----------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #12364C;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
.subheadline { font-size: 1.25rem; color: #DAA520; font-weight: 600; margin-bottom: 28px; letter-spacing: 0.5px; }
p, li, th, td { font-size: 1rem;  color: #12364C; }
strong { font-weight: 700; }

/* --- Typography scale adjust for mobile --- */
@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
}

/* ------------------ LAYOUT CONTAINERS ----------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(18,54,76,0.07);
}
@media (max-width: 768px) {
  .section { padding: 24px 6px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(18,54,76,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(18,54,76,0.15);
  transform: translateY(-4px) scale(1.01);
  border: 2px solid #DAA520;
}

.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;
  }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 210px;
  min-width: 220px;
  background: #F5F5F5;
  border-radius: 14px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 8px 0 rgba(18,54,76,0.05);
  transition: box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
}
.features-grid > div:hover {
  background: #DAA52022;
  border: 2px solid #DAA520;
  box-shadow: 0 8px 22px 0 rgba(218,165,32,0.11);
}
.features-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 8px;
}

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

.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #12364C;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(18,54,76,0.09);
  padding: 20px 20px 18px 20px;
  min-width: 250px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(18,54,76,0.18);
  transform: translateY(-3px) scale(1.01);
  border: 2px solid #DAA520;
}
.testimonial-card .author {
  color: #DAA520;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.1em;
}

.location-address {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.location-address img {
  height: 32px; width: 32px;
}
.location-info {
  margin-bottom: 20px;
}
.map-placeholder {
  background: #F5F5F5;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  color: #12364C;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
}

.text-section {
  margin-bottom: 24px;
}
.confirmation-message {
  padding: 24px;
  background: #F5F5F5;
  border-radius: 14px;
  text-align: center;
  margin-bottom: 18px;
}

/* ------------------ TABLE ------------------ */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 20px 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px 0 rgba(18,54,76,0.08);
}
thead {
  background: #12364C;
}
th, td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid #F5F5F5;
}
th {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #DAA52011; }

@media (max-width: 600px) {
  table, thead, tbody, tr, th, td {
    display: block;
  }
  thead { display: none; }
  td {
    position: relative;
    padding-left: 50%;
    border-bottom: 1px solid #F5F5F5;
    min-height: 24px;
  }
  td:before {
    position: absolute;
    top: 13px; left: 16px;
    white-space: nowrap;
    font-weight: 700;
    color: #DAA520;
    font-size: 0.93rem;
    content: attr(data-label);
  }
}

/* ------------------ HEADER & NAVIGATION ------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(18,54,76,0.09);
  position: sticky;
  top: 0;
  z-index: 1010;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 14px 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #12364C;
  letter-spacing: 0.4px;
  padding: 8px 9px;
  border-radius: 6px;
  transition: background 0.19s, color 0.19s;
}
.main-nav a:hover {
  background: #DAA520;
  color: #fff;
}
.cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 26px;
  background: #DAA520;
  color: #12364C;
  border-radius: 8px;
  font-size: 1.07rem;
  font-weight: 900;
  letter-spacing: 1.1px;
  box-shadow: 0 3px 12px 0 rgba(218,165,32,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, transform 0.19s;
  border: 2px solid #DAA520;
}
.cta.primary:hover, .cta.primary:focus {
  background: #12364C;
  color: #DAA520;
  border: 2px solid #12364C;
  box-shadow: 0 6px 30px 0 rgba(218,165,32,0.22);
  transform: scale(1.03);
}

/* Burger Button */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #12364C;
  background: #fff;
  border: none;
  padding: 8px 13px;
  border-radius: 8px;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s;
  z-index: 1402;
}
.mobile-menu-toggle:hover {
  background: #DAA520;
  color: #fff;
}
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ------------------ MOBILE NAV MENU ------------------ */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,54,76,0.97);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.87,-0.01,.44,1.06), opacity 0.15s;
  z-index: 2002;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.25rem;
  background: #DAA520;
  color: #12364C;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  margin: 28px 28px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:hover {
  background: #fff;
  color: #DAA520;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
  margin: 50px 44px 0 0;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 6px 14px 18px;
  border-radius: 7px 0 0 7px;
  font-weight: 800;
  letter-spacing: 1.1px;
  transition: background 0.18s, color 0.18s;
  min-width: 180px;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DAA520;
  color: #12364C;
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ------------------ MAIN ------------------ */
main {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 42px;
  margin-top: 24px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 600px) {
  section { margin-bottom: 36px; padding: 18px 0; }
  main { margin-bottom: 20px; }
}

/* ------------------ FOOTER ------------------ */
footer {
  width: 100%;
  background: #12364C;
  color: #fff;
  box-shadow: 0 -4px 18px 0 rgba(18,54,76,0.13);
  padding: 34px 0 16px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav, .footer-info, .footer-brand {
  display: flex; flex-direction: column;
  gap: 13px;
}
.footer-nav {
  flex: 1 1 200px;
}
.footer-nav a {
  color: #DAA520;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 8px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-info p {
  font-size: 0.98rem;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.89;
  line-height: 1.6;
}
.footer-brand img {
  height: 48px; width: auto;
}
@media (max-width: 768px) {
  footer .container { flex-direction: column; align-items: center; gap: 18px; }
  .footer-nav, .footer-info, .footer-brand { align-items: center; text-align: center; }
}

/* ------------------ COOKIE CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #12364C;
  color: #fff;
  padding: 18px 28px;
  z-index: 3000;
  box-shadow: 0 -2px 16px 0 rgba(18,54,76,0.11);
  gap: 18px;
  animation: cookieBannerSlideUp 0.34s cubic-bezier(.61,0,.8,1.22);
}
@keyframes cookieBannerSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 auto;
  font-size: 1.01rem;
  max-width: 530px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 9px 22px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.cookie-btn.accept {
  background: #DAA520;
  color: #12364C;
}
.cookie-btn.decline {
  background: #fff;
  color: #DAA520;
  border: 2px solid #DAA520;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: translateY(-2px) scale(1.03);
  background: #DAA520;
  color: #12364C;
  border-color: #DAA520;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    gap: 10px;
  }
  .cookie-banner-message { max-width: 100%; }
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(18,54,76,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #12364C;
  border-radius: 15px;
  padding: 38px 32px 28px 32px;
  min-width: 300px;
  max-width: 97vw;
  box-shadow: 0 14px 42px 0 rgba(18,54,76,0.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.32s ease-out;
}
@keyframes cookieModalIn {
  from { transform: scale(0.86) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: #DAA520;
  color: #12364C;
  font-size: 1.45rem;
  border: none;
  padding: 7px 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-close:hover { background: #12364C; color: #DAA520; }
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 17px;
  margin-bottom: 18px;
}
.cookie-category-header { font-weight: 700; color: #12364C; }
.cookie-category-essential { color: #DAA520; font-weight: bold; font-size: 1.06rem; margin-right: 7px; }
.cookie-category-toggle {
  accent-color: #DAA520;
  width: 18px; height: 18px;
  margin-right: 8px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 22px 7px 14px 12px; gap: 12px; }
}

/* --------- FORM (for possible future use) --------- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 7px;
  border: 2px solid #DAA52033;
  transition: border 0.18s, box-shadow 0.18s;
  background: #fff;
  margin-bottom: 9px;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #DAA520;
  box-shadow: 0 1px 6px 0 #DAA52033;
}

/* -------------- ICON STYLE -------------- */
li > img, .location-address img, .text-section img {
  vertical-align: middle;
  margin-right: 8px;
  height: 20px; width: 20px;
}

/* ----------- Responsive Layout Tweaks ----------- */
@media (max-width: 900px) {
  .features-grid, .testimonials-row, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div, .testimonial-card {
    min-width: 98%; flex: 1 1 98%;
  }
}
@media (max-width: 600px) {
  .footer-brand img { height: 40px; }
  .card { padding: 12px; }
  .card-container, .content-grid, .features-grid, .testimonials-row {
    flex-direction: column;
    gap: 12px;
  }
}

/* -------------- Micro-interactions & Smooth Transitions -------------- */
.card, .testimonial-card, .features-grid > div, .cta.primary, .main-nav a, .mobile-nav a, .cookie-btn {
  transition: box-shadow 0.19s, background 0.19s, color 0.19s, border 0.19s, transform 0.16s;
}
/* Hover: underline links in body */
p a, .text-section a { color: #DAA520; border-bottom: 2px solid #DAA520; transition: border 0.17s, color 0.18s; font-weight: bold; }
p a:hover, .text-section a:hover { color: #12364C; border-color: #12364C; }

/* -------------- Spacing Consistency -------------- */
section, .section { margin-bottom: 60px; }
.card, .testimonial-card, .features-grid > div, .feature-item, .location-address, .location-info, .map-placeholder, .footer-info, .footer-nav, .footer-brand {
  margin-bottom: 20px;
}

/* ------------ Utility ------------- */
.hide { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* --------- Geometric/Bold Visual Elements --------- */
hr {
  border: none;
  border-top: 3px solid #DAA520;
  border-radius: 2px;
  margin: 32px 0;
}

/* ------------- Print ------------- */
@media print { .mobile-menu, .cookie-banner, .cookie-modal-overlay, .mobile-menu-toggle { display: none !important; } }
