/* ===================
   CSS Reset & Base
   =================== */
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #35394C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #21416F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B49C51;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}
::-webkit-input-placeholder { color: #bdbdbd; }
::-moz-placeholder { color: #bdbdbd; }
:-ms-input-placeholder { color: #bdbdbd; }
::placeholder { color: #bdbdbd; }

/* ===================
    Font Import
   =================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ===================
   Brand Variables
   =================== */
:root {
  --primary: #21416F;
  --secondary: #8fc1e3;
  --background: #F5F5F5;
  --gold: #B49C51;
  --offwhite: #fcfcfa;
  --grey: #35394C;
  --dark: #182336;
  --card-bg: #fff;
  --shadow: 0 4px 16px rgba(33, 65, 111, 0.06), 0 1.5px 8px rgba(50,50,50,0.04);
}

/* ===========================
    Container & Section Layouts
   =========================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0;
}

/* Card container and cards (for flexbox, never grid) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(33, 65, 111, 0.12), 0 2px 10px rgba(180,156,81,0.07);
  transform: translateY(-4px) scale(1.012);
  border-color: var(--gold);
}

.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #faf9f5;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(33,65,111,0.06);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 8px;
}

/* =======================
     Headings & Typography
   ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.14;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--dark);
  border-left: 5px solid var(--gold);
  padding-left: 16px;
  background-clip: padding-box;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}

p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.65;
}
p {
  margin-bottom: 16px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

/* ===================
     Logo
   =================== */
.logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(33,65,111,0.05));
  transition: filter 0.2s;
}
.logo:hover img {
  filter: drop-shadow(0 4px 8px var(--gold));
}

/* ===================
     Header & Nav
   =================== */
header {
  background: var(--offwhite);
  box-shadow: 0 2px 8px rgba(33,65,111,0.06);
  z-index: 100;
  width: 100%;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  min-height: 80px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  position: relative;
  padding: 4px 8px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
  text-shadow: 0 1px 6px #fff4ce;
}
.button.primary {
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.44;
  padding: 10px 26px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 2px 6px rgba(33,65,111,0.13);
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.15s;
  border-bottom: 3px solid #b49c5180;
}
.button.primary:hover,
.button.primary:focus {
  background: #d6bf74;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(180,156,81,0.13);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: var(--offwhite);
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--primary);
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.2s;
  z-index: 1006;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #f3efe3;
  box-shadow: 0 0 0 2px var(--gold);
}

/* ===================
     Mobile Menu Overlay
   =================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,65,111,0.88);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 0 0 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.70,0,.30,1), opacity 0.28s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 20px 12px 0;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 10px;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fff4ce30;
  color: var(--gold);
}

/* ===================
    Main > Sections
   =================== */
main {
  flex: 1 1 auto;
  width: 100%;
  padding-top: 22px;
  padding-bottom: 40px;
  background: var(--background);
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

.feature-icons, .map-placeholder {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.feature-icons div {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dark);
  background: #fffbe8;
  border-radius: 12px;
  padding: 18px 18px 8px 18px;
  box-shadow: 0 2px 10px rgba(180,156,81,0.06);
  font-size: 1rem;
  min-width: 120px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.feature-icons img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.map-placeholder {
  background: #f7f7f2;
  border-radius: 18px;
  padding: 23px 22px;
  box-shadow: 0 1px 6px rgba(33,65,111,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}

/* ===================
    Cards & Features
   =================== */
.feature-item strong {
  color: var(--gold);
  font-weight: 700;
}

/* ===================
    Testimonials
   =================== */
.testimonial-card {
  background: #fff;
  color: #222;
  border-left: 6px solid var(--gold);
  box-shadow: 0 2px 10px rgba(33,65,111,0.06);
  border-radius: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  min-width: 290px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(180,156,81,0.09), 0 1px 10px rgba(33,65,111,0.08);
}
.testimonial-card p {
  color: var(--dark);
  font-size: 1.06rem;
  font-weight: 600;
  flex: 1;
}
.testimonial-meta {
  color: var(--gold);
  font-weight: 600;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 0.98rem;
  align-self: flex-end;
}

/* ===================
     Footer
   =================== */
footer {
  background: #233659;
  color: #fff;
  padding: 42px 0 22px;
  box-shadow: 0 -2px 8px rgba(33,65,111,0.10);
}
footer .container {
  gap: 32px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 54px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  transition: color 0.15s;
  padding-left: 0;
  padding-right: 8px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--gold);
}
.footer-contact p, .footer-contact a {
  color: #e5e5e5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
}
.footer-contact a:hover {
  color: var(--gold);
}
.footer-copy {
  margin-top: 14px;
  color: #b6bfd0;
  font-size: 0.93rem;
  font-weight: 400;
}

/* CTA Banner and buttons */
section .button.primary {
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(180,156,81,0.10);
}

/* ==============
   Cookie Consent
   ==============
*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fcfaf8;
  box-shadow: 0 -2px 16px rgba(33,65,111,0.07);
  border-top: 2px solid var(--gold);
  z-index: 2020;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 32px;
  gap: 32px;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
  justify-content: space-between;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner p {
  color: #402d11;
  font-size: 1rem;
  margin: 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 8px 22px;
  border-radius: 32px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(33,65,111,0.03);
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--gold);
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #e5c35f;
  color: var(--primary);
}
.cookie-banner .cookie-btn.reject {
  background: #E2E2DB;
  color: var(--primary);
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #ede6d2;
  color: var(--gold);
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gold);
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #f7f6e3;
  color: var(--gold);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,65,111,0.67);
  z-index: 2040;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 40px 32px 28px;
  width: 98%;
  max-width: 440px;
  box-shadow: 0 10px 48px rgba(33,65,111,0.15);
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.38rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.07rem;
}
.cookie-category label {
  color: var(--primary);
  font-weight: 600;
}
.cookie-toggle {
  width: 44px;
  height: 26px;
  border-radius: 16px;
  background: #e9e6df;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"] { display: none; }
.cookie-toggle .cookie-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s, background 0.16s;
  box-shadow: 0 1px 3px rgba(33,65,111,0.13);
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-slider {
  left: 21px;
  background: var(--gold);
}
.cookie-toggle input[type="checkbox"]:checked ~ .cookie-toggle {
  background: var(--gold);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 90px;
}

/* Essential cookies (locked on) */
.cookie-category.essential label {
  opacity: 0.80;
}
.cookie-toggle.essential {
  background: #dabe81;
  cursor: not-allowed;
}
.cookie-toggle.essential .cookie-slider {
  background: var(--gold);
}

/* ===================
    Misc Elements
   =================== */
hr {
  border: none;
  border-top: 1.5px solid #EFEFE0;
  margin: 32px 0;
}

/* List override */
ul, ol {
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* ================
    Responsive
   ================ */
@media (max-width: 1100px) {
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  .container, header .container, footer .container {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
    min-height: unset;
  }
  .main-nav { gap: 12px; }
  .footer-nav { flex-direction: row; gap: 16px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: unset;
  }
  .main-nav, .button.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
    z-index: 2001;
  }
  .container, .content-wrapper {
    padding: 0 6px;
    gap: 14px;
  }
  section {
    padding: 26px 0 24px 0;
    margin-bottom: 40px;
  }
  h1 { font-size: 2rem; margin-bottom: 10px; }
  h2 { font-size: 1.36rem; padding-left: 8px; }
  .feature-icons { gap: 14px; }
  .testimonial-card { padding: 16px; font-size: 0.95rem; }
  .footer-logo img { height: 40px; margin-bottom: 6px; }
}
@media (max-width: 600px) {
  .container { padding: 0 3px; }
  .section { padding: 22px 4px; }
  .card-container, .content-grid, .feature-icons {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .card { min-width: 0; padding: 18px 10px; }
  .testimonial-card { flex-direction: column; gap: 8px; }
  footer {
    padding: 22px 0 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 15px 5px;
    font-size: 1rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-buttons { gap: 8px; }
  .cookie-modal-content { padding: 26px 8px 18px; }
}
@media (max-width: 430px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.03rem; }
  .footer-copy { font-size: 0.91rem; }
  .footer-logo img { height: 32px; }
}

/* Ensure text-image-section switches to column */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* ================
   Micro-interactions
   ================ */
.button.primary {
  transition: box-shadow 0.22s, background 0.18s, color 0.18s, transform 0.16s;
}
.card, .testimonial-card {
  transition: box-shadow 0.22s, border 0.17s;
}
.feature-icons div, .feature-item {
  transition: box-shadow 0.17s;
}
.feature-icons div:hover, .feature-icons div:focus {
  box-shadow: 0 4px 18px rgba(180,156,81,0.15);
  background: #fff9ef;
  color: var(--gold);
}

/* ================
   Z-Index layering
   ================ */
header { z-index: 100; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 2020; }
.cookie-modal { z-index: 2040; }

/* ================
   Hide elements utility
   ================ */
.hide { display: none !important; }

/* ================
   Accessibility utilities
   ================ */
:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ================
   Custom list decorations for luxury
   ================ */
ul li:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(180,156,81,0.12);
  vertical-align: middle;
}
ol li:before { display: none; }

/* ================
   Accessibility: high contrast for testimonial text
   ================ */
.testimonial-card p, .testimonial-card .testimonial-meta {
  color: #1e2538;
  background: none;
}

/* ================
   Utility Classes
   ================ */
.d-flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.gap-20 { gap: 20px; }
.m-0 { margin: 0; }
.mb-20 { margin-bottom: 20px; }
.pb-10 { padding-bottom: 10px; }

/* ================
   Spacing Consistency
   ================ */
.card-container > *, .content-grid > *, .feature-icons > *, .testimonial-card, .feature-item, section, .section {
  margin-bottom: 20px;
}

/* ================
   Prevent Overlapping
   ================ */
.card, .testimonial-card, .feature-item, .feature-icons div, .footer-logo, .footer-contact, .footer-copy, .footer-nav, .content-wrapper, .main-nav, .mobile-nav, .container {
  z-index: auto;
  position: relative;
}

/* ===================
 END OF CSS
 =================== */