/* ==========================================================================
   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, 
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: #F7F8FA;
  color: #21222B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.20s cubic-bezier(.4,0,.2,1);
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  color: inherit;
}
:focus-visible {
  outline: 2px solid #B9A053;
  outline-offset: 2px;
}

/* =============================================================================
   BRAND COLOR VARIABLES (with fallback)
   ============================================================================= */
:root {
  --color-primary: #1C488A;
  --color-primary-dark: #183971;
  --color-secondary: #49D49D;
  --color-accent: #F7F8FA;
  --color-gold: #B9A053;
  --color-gold-dark: #907139;
  --color-white: #FFFFFF;
  --color-black: #21222B;
  --color-grey: #F0F1F4;
  --color-grey-dark: #C9CCD5;
  --shadow-1: 0px 2px 12px 0px rgba(28,72,138,0.035), 0px 1px 4px 0px rgba(185,160,83,0.12);
  --shadow-card: 0 2px 16px 0 rgba(185,160,83,0.12), 0 1.5px 4px #bbb2  ;
}

/* =============================================================================
   TYPOGRAPHY: Luxury Display and Body Fonts
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1C488A;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 32px;
}
h2 {
  font-size: 2rem;
  line-height: 1.22;
  color: var(--color-black);
  border-left: 4px solid var(--color-gold);
  padding-left: 0.7em;
  margin-bottom: 28px;
  background: none;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.22;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h4 {
  font-size: 1.10rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
p, ul li, ol li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-black);
}

/* =============================================================================
   CONTAINER, LAYOUT STRUCTURE
   ============================================================================= */
.container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-1);
  position: relative;
}
main > section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0; /* Overriding global section for outer breathing room */
  background: none;
  box-shadow: none;
  border-radius: 0;
}
/* =============================================================================
   NAV HEADER & FOOTER
   ============================================================================= */
header {
  background: var(--color-white);
  border-bottom: 2px solid var(--color-gold);
  box-shadow: 0 2px 14px 0 rgba(28,72,138,0.06);
  padding: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 28px;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 15px;
  color: var(--color-black);
  border-radius: 6px;
  transition: background 0.20s, color 0.20s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(90deg, #B9A053 60%, #FDB931 100%);
  background: #B9A053;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  box-shadow: 0 4px 16px 0 rgba(185,160,83,0.14);
  margin-left: 18px;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: box-shadow 0.22s, background 0.18s, transform 0.13s;
  outline: none;
  display: inline-block;
  position: relative;
}
.btn-primary:active {
  background: #B59B43;
}
.btn-primary:hover, .btn-primary:focus {
  background: #907139;
  box-shadow: 0 6px 16px 0 rgba(185,160,83,0.19);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-gold);
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  box-shadow: 0 2px 9px 0 rgba(185,160,83,0.08);
  font-size: 1.03rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s, color 0.22s, transform 0.13s;
  outline: none;
  display: inline-block;
  margin-left: 10px;
  position: relative;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-white);
  color: var(--color-gold-dark);
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 3px 10px 0 #B9A05333;
}
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 32px 0 18px;
  border-top: 3px solid var(--color-gold);
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1.02rem;
}
footer nav a:hover, footer nav a:focus {
  color: #FDB931;
}
footer .text-section {
  color: var(--color-white);
  font-size: 0.98rem;
  opacity: 0.93;
  gap: 5px;
}

/* =============================================================================
   FLEXBOX LAYOUTS, PER REQUIREMENTS
   ============================================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
  min-width: 290px;
  min-height: 180px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(185,160,83,0.21);
  transform: translateY(-4px) scale(1.025);
}
.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, .content-grid, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAFB;
  border: 1.5px solid var(--color-gold);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(185,160,83,0.09);
  margin-bottom: 20px;
  max-width: 480px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #23232b;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.45;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 18px 0 rgba(185,160,83,0.16);
}

/* =============================================================================
   TYPO, LISTS, ICONS
   ============================================================================= */
ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
li {
  position: relative;
  font-size: 1.02rem;
  padding-left: 34px;
  color: #23232b;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
}
li img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 8px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  filter: grayscale(0.15) brightness(1.07) drop-shadow(0 1px 1px #eee9);
}
ol li {
  padding-left: 0;
  list-style-type: decimal;
  margin-left: 18px;
  min-height: unset;
  font-family: 'Roboto', Arial, sans-serif;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */
@media (max-width: 1050px) {
  .container {
    max-width: 900px;
    padding: 0 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
    padding: 0 10px;
  }
  .section { padding: 30px 8px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  h1 { font-size: 1.55rem; margin-bottom: 20px; }
  h2 { font-size: 1.13rem; margin-bottom: 16px; padding-left: 12px; }
  h3 { font-size: 1.02rem; }
  .btn-primary, .btn-secondary { font-size: 0.98rem; padding: 11px 18px; }
  .section { margin-bottom: 36px; padding: 20px 7px; }
  footer { padding: 18px 0 9px; }
}
@media (max-width: 520px) {
  h1 {font-size: 1.18rem;}
  .btn-primary, .btn-secondary { font-size: 0.89rem; padding: 10px 13px; }
  .section { padding: 12px 1px; }
}

/* =============================================================================
   BURGER MENU (mobile nav)
   ============================================================================= */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 7px 0 #B9A05322;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, transform 0.16s;
  position: relative;
  z-index: 1102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #907139;
  color: #FDB931;
  transform: scale(1.08);
}
@media (max-width: 980px) {
  header nav { display: none !important; }
  .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,72,138,0.98);
  z-index: 1300;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.36,1.51,.58,1), opacity 0.27s;
  will-change: transform,opacity;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 18px 12px auto;
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, transform 0.14s;
  z-index: 1400;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #907139;
  color: #FDB931;
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  margin-top: 8vh;
  margin-bottom: 20vh;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-gold);
  background: none;
  border-radius: 8px;
  padding: 18px 32px 18px 44px;
  position: relative;
  transition: background 0.13s, color 0.18s;
  min-width: 210px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDB93122;
  color: var(--color-white);
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =============================================================================
   COOKIE CONSENT BANNER
   ============================================================================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 -4px 16px 0 rgba(185,160,83,0.08);
  padding: 26px 12px 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1450;
  transition: transform 0.28s cubic-bezier(.7,-0.04,.25,1.04), opacity 0.22s;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-content {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
@media (max-width: 700px) {
  .cookie-banner-content { flex-direction: column; gap: 18px; }
}
#cookie-banner p {
  font-size: 1.03rem;
  color: var(--color-black);
  margin-bottom: 0;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 11px;
}
#cookie-banner .btn-primary,
#cookie-banner .btn-secondary {
  min-width: 120px;
  font-size: 1rem;
  padding: 9px 18px;
  margin: 0;
  box-shadow: none;
}
#cookie-banner .btn-settings {
  border: 1.2px solid var(--color-gold);
  background: var(--color-white);
  color: var(--color-gold-dark);
  font-family: 'Montserrat',Arial,sans-serif;
  padding: 9px 15px;
  border-radius: 6px;
  margin-left: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.19s, box-shadow 0.17s;
}
#cookie-banner .btn-settings:hover, #cookie-banner .btn-settings:focus {
  background: #F7F8FA;
  color: var(--color-black);
}

/* ==== COOKIE SETTINGS MODAL POPUP ==== */
#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(33,34,43,0.55);
  z-index: 1512;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
#cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 14px 32px 0 rgba(185,160,83,0.16);
  padding: 34px 30px 22px 30px;
  min-width: 310px; max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
#cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 28px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #B9A05344;
  border-radius: 18px;
  transition: background 0.14s;
}
.cookie-switch input:checked + .slider {
  background: var(--color-gold);
}
.cookie-switch .slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 24px;
  height: 24px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 2px #b9a05333;
  transition: transform 0.13s;
}
.cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
#cookie-modal .btn-primary, #cookie-modal .btn-secondary {
  font-size: 1rem;
  min-width: 100px;
  padding: 9px 18px;
  margin: 0;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: 7px;
  width: 36px; height: 36px;
  font-size: 1.2rem;
  outline: none;
  border: none;
  box-shadow: none;
  transition: background 0.14s, color 0.16s;
  cursor: pointer;
  z-index: 2;
}
#cookie-modal .cookie-modal-close:hover, #cookie-modal .cookie-modal-close:focus {
  background: #907139;
  color: #FDB931;
}

/* =============================================================================
   SPECIALS & REFINED DETAILS (Luxury Accents)
   ============================================================================= */
.section {
  border: 1.5px solid #B9A05322;
  box-shadow: 0 4px 24px 0 #b9a05316;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 24px; top: 20px;
  width: 32px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #B9A053 50%, #FDB931 100%);
  background: #B9A053;
  opacity: 0.14;
  z-index: 0;
}
@media (max-width: 768px) {
  .section:before { display: none; }
}

.btn-primary, .btn-secondary {
  box-shadow: 0 2px 8px 0 #B9A05318, 0 0.5px 2px #b9a05310;
}

/* =============================================================================
   MISC: Selection, Scrollbar, Animations
   ============================================================================= */
::selection { background: #B9A053cc; color: #FFF; }
::-webkit-scrollbar {
  width: 10px;
  background-color: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: #B9A05377;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B9A053bb;
}

.fade-in {
  animation: fadein 0.55s cubic-bezier(.38,1.56,.35,1.01);
}
@keyframes fadein {
  from{ opacity:0; transform: translateY(22px); } to{ opacity:1; transform: none; }
}

/* =============================================================================
   FINE-GRAINED SPACING (8px, 16px, 24px, 32px)
   ============================================================================= */
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }

/* =============================================================================
   FORMS (Universal Style)
   ============================================================================= */
input, select, textarea {
  padding: 9px 16px;
  border: 1.2px solid var(--color-grey-dark);
  border-radius: 8px;
  background: var(--color-white);
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color 0.16s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-gold);
}
label {
  font-size: 0.98rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  display:inline-block;
  margin-bottom: 6px;
}

/* =============================================================================
   UTILITIES
   ============================================================================= */
.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hide { display: none !important; }

/* =============================================================================
   ENSURE WORD BREAK FOR LONG STRINGS
   ============================================================================= */
section, .card, .testimonial-card, .feature-item, .content-wrapper, .text-section {
  word-break: break-word;
  hyphens: auto;
}

/* =============================================================================
   PRINT (optional)
   ============================================================================= */
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal { display: none !important; }
  .section, .container { box-shadow: none; border: none; }
  body { background: #fff; }
}
