/* -------------------------------------------------------------------------
   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;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #F9F6F1;
  color: #223C63;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  box-shadow: none;
}
a {
  color: #223C63;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BA9C60;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li + li {
  margin-top: 10px;
}
strong, b {
  font-weight: 700;
}

/* -------------------------------------------------------------------------
   BRAND FONTS
   Montserrat for display, Open Sans for body
 ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #223C63;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #223C63;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #2C476B;
  font-weight: 700;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #2C476B;
}
p {
  margin-bottom: 16px;
}

/* Luxury premium accent color (gold) */
:root {
  --primary: #223C63;
  --secondary: #37A6C5;
  --background: #F9F6F1;
  --accent-gold: #BA9C60;
  --accent-gold-light: #F1E6D4;
  --text-dark: #223C63;
  --text-light: #fff;
  --card-bg: #fff;
  --card-shadow: rgba(34, 60, 99, 0.06);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(.34,1.56,.64,1);
}


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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 26px var(--card-shadow);
  background: var(--card-bg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 14px 40px rgba(34,60,99,0.12);
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-gold);
}
.card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

/* Section with testimonials and reviews */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(186, 156, 96, 0.13);
  border: 1.5px solid var(--accent-gold-light);
  color: var(--text-dark);
  font-style: italic;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card span {
  font-style: normal;
  color: var(--accent-gold);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 8px 26px rgba(186, 156, 96, 0.16);
}

/* -------------------------------------------------------------------------
   HEADER, NAV, BUTTONS
 ------------------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(34,60,99,.09);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #223C63;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
  padding: 2px 0 2px 0;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.2s;
  position: absolute;
  bottom: -2px; left: 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent-gold);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 60%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--accent-gold);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 2px 10px rgba(34,60,99,0.08);
  cursor: pointer;
  letter-spacing: 0.032em;
  transition: background 0.18s, color 0.18s, transform 0.19s, box-shadow 0.19s;
  margin-left: 20px;
  text-shadow: 0 1px 0 #fff;
  position: relative;
  overflow: hidden;
}
.btn-primary:before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--accent-gold);
  opacity: 0.06;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-gold);
  color: var(--primary);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 30px rgba(186,156,96,0.21);
  outline: none;
}
.btn-primary:active {
  transform: scale(0.97);
}

/* Logo size (header) */
header img {
  height: 48px;
  width: auto;
  margin-right: 32px;
}

/* -------------------------------------------------------------------------
   HERO SECTION
 ------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(117deg, #223C63 80%, var(--accent-gold) 160%);
  color: #fff;
  padding: 56px 0 38px 0;
  margin-bottom: 38px;
  position: relative;
  box-shadow: 0 8px 38px #223C6385;
}
.hero .container {
  z-index: 1;
}
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  text-shadow: 0 2px 10px #223C6322;
  margin-bottom: 10px;
}
.hero p {
  color: #FFF9;
  font-size: 1.15rem;
  margin-bottom: 20px;
  max-width: 570px;
}
.hero .btn-primary {
  margin-left: 0;
  background: var(--accent-gold);
  color: var(--primary);
  box-shadow: 0 2px 14px #BA9C6030;
}
.hero .btn-primary:before { background: var(--primary); opacity:0.13; }
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: var(--primary);
  color: var(--accent-gold);
}

/* -------------------------------------------------------------------------
   GENERAL SPACING AND FLEX LAYOUTS
 ------------------------------------------------------------------------- */
section:not(.hero) {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper > * {
  margin-bottom: 0 !important;
}
@media (max-width: 980px) {
  .container {
    max-width: 97vw;
  }
  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 13px;
  }
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 13px 10px;
    font-size: 1.01rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.01rem;
    max-width: 100%;
  }
  header img {
    height: 39px;
  }
}

/* -------------------------------------------------------------------------
   MOBILE MENU
 ------------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent-gold);
  color: var(--primary);
  border-radius: 50%;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 16px;
  box-shadow: 0 2px 10px #223C6320;
  cursor: pointer;
  transition: box-shadow var(--transition), background var(--transition), color var(--transition);
  z-index: 1101;
  position: relative;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent-gold);
  box-shadow: 0 4px 18px #223C6333;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,60,99,0.94);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1);
  box-shadow: 0 0 40px #223C6390;
  overflow-y: auto;
  padding-top: 20px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  color: var(--accent-gold);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1212;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  margin-top: 90px;
  margin-left: 32px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--accent-gold);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 0;
  width: 100%;
  transition: color 0.17s, background 0.14s;
  border-radius: var(--radius-sm);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #fff;
  background: var(--accent-gold);
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay effect for body when menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* -------------------------------------------------------------------------
   CARD/FEATURE BLOCKS
 ------------------------------------------------------------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 600px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 0;
  }
  .card,
  .testimonial-card {
    padding: 18px 10px;
    border-radius: var(--radius-sm);
  }
}

/* ICONS inside feature blocks */
ul img, .text-section img, .content-wrapper img {
  height: 1.5em;
  width: 1.5em;
  margin-right: 10px;
  vertical-align: middle;
  filter: brightness(0.7) sepia(0.34) hue-rotate(28deg) saturate(1.2) brightness(1.18);
}

/* -------------------------------------------------------------------------
   FOOTER
 ------------------------------------------------------------------------- */
footer {
  padding: 32px 0 24px 0;
  background: #fff;
  border-top: 2px solid var(--accent-gold-light);
  color: var(--primary);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
footer .text-section {
  gap: 7px;
  font-size: 1rem;
  color: var(--primary);
}
footer a {
  color: var(--primary);
  font-weight: 600;
  margin: 0 2px;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .footer .text-section {
    font-size: 1em;
  }
}

/* -------------------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
 ------------------------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  border-top: 2.5px solid var(--accent-gold);
  box-shadow: 0 -8px 22px #223C6320;
  color: #223C63;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  z-index: 2001;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 24px 20px 23px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  padding: 11px 30px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent-gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 6px;
  box-shadow: 0 2px 7px #BA9C6012;
  transition: background 0.19s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  outline: none;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--primary);
  color: var(--accent-gold);
  transform: scale(1.04);
  box-shadow: 0 4px 22px #223C6328;
}
.cookie-btn.cookie-settings {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--primary);
  color: var(--accent-gold);
}

@media (max-width: 620px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 15px 8px;
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,60,99,0.4);
  z-index: 2003;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s;
}
.cookie-modal-backdrop.active {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 36px 28px 24px 28px;
  width: 95vw;
  max-width: 420px;
  box-shadow: 0 12px 38px #223C6328;
  color: #223C63;
  text-align: left;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 19px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 1.05rem;
  font-weight: 600;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #eee;
  border: 1.5px solid #bababa;
  position: relative;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-indicator {
  position: absolute;
  top: 2.2px; left: 2.2px;
  width: 15.8px;
  height: 15.8px;
  border-radius: 50%;
  background: #bababa;
  transition: left 0.23s, background 0.22s;
}
.cookie-toggle input:checked + .cookie-toggle-indicator {
  left: 18.2px;
  background: var(--accent-gold);
}
.cookie-toggle input:checked ~ .cookie-toggle {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold);
}
.cookie-category .desc {
  font-size: 0.89em;
  font-weight: 400;
  color: #2C476B;
  margin-left: 0.5em;
  opacity: 0.92;
}
.cookie-modal .cookie-btn {
  width: 48%;
  min-width: 90px;
  margin-top: 13px;
}
.cookie-modal .cookie-btn:last-child {
  float: right;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: transparent;
  color: var(--accent-gold);
  font-size: 1.45rem;
  border: none;
  cursor: pointer;
  z-index: 2050;
  transition: color 0.15s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus {
  color: var(--primary);
}

/* -------------------------------------------------------------------------
   ACCESSIBILITY & FOCUS STATES
 ------------------------------------------------------------------------- */
:focus {
  outline: 2px dashed var(--accent-gold);
  outline-offset: 2px;
}
.btn-primary:focus,
.cookie-btn:focus,
.mobile-menu-close:focus,
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
  box-shadow: 0 0 8px var(--accent-gold);
}

/* -------------------------------------------------------------------------
   MICROINTERACTIONS & HOVER EFFECTS
 ------------------------------------------------------------------------- */
.card, .testimonial-card, .btn-primary, .cookie-btn {
  transition: box-shadow 0.25s, color 0.16s, border-color 0.22s, transform 0.17s;
}

a, .btn-primary, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle, .mobile-nav a {
  transition: color 0.19s, background 0.18s, transform 0.18s;
}

/* Icon tint on hover */
ul li:hover img, .text-section p:hover img, .content-wrapper img:hover {
  filter: brightness(1.2) sepia(0.51) hue-rotate(33deg) saturate(1.3) brightness(1.2);
}

/* -------------------------------------------------------------------------
   UTILITIES, MISC, MOBILE TWEAKS
 ------------------------------------------------------------------------- */
::selection {
  background: var(--accent-gold-light);
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6, p, ol, ul, li {
  word-break: break-word;
}

[tabindex="0"]:focus { outline: 2px solid var(--accent-gold); outline-offset: 2px; }

@media (max-width: 500px) {
  .hero {
    padding: 35px 0 21px 0;
  }
  .section { padding: 17px 2px; }
}

/* Guarantee no overlaps */
.section, .card, .testimonial-card, .card-container, .content-wrapper, .feature-item {
  box-sizing: border-box;
}

/* General vertical spacing for visually stacked blocks */
.content-wrapper > * + * { margin-top: 24px; }
.section > .container > h2 { margin-bottom: 26px; }
.card-container > .card + .card, .content-grid > * + * { margin-left: 0; }

/* Hide scroll bars in mobile menu, cookie modal */
.mobile-menu, .cookie-modal-backdrop { -ms-overflow-style:none; scrollbar-width:none; }
.mobile-menu::-webkit-scrollbar, .cookie-modal-backdrop::-webkit-scrollbar { display: none; }
