/* =====================
   CSS RESET & BASE STYLES
========================*/
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: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F5F5;
  color: #1A2534;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #17375E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B89646;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}

/* ===============
   BRAND VARIABLES
    (with fallbacks)
================ */
:root {
  --color-primary: #17375E;
  --color-secondary: #6AA2D6;
  --color-accent: #F5F5F5;
  --color-bg-dark: #1A2534;
  --color-premium-gold: #B89646;
  --color-premium-gold-rgba: rgba(184,150,70,0.14);
  --color-premium-gold-dark: #8C7533;
  --color-premium-cream: #faf7f2;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}

/* ===================
    TYPOGRAPHY & HEADINGS
===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.18;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1rem;
  color: #222;
}
.text-section {
  max-width: 750px;
  margin: 0 auto;
}

/* ===================
    GENERAL CONTAINERS
===================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.content-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(23,55,94,0.08);
  padding: 38px 22px 38px 22px;
  margin-bottom: 32px;
  border: 1px solid #ece9e3;
}

/* Section Spacing: Mandatory CSS spacing */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

/* ====================
       HEADER / NAV
====================== */
header {
  background: #fff;
  border-bottom: 1px solid #ece9e3;
  box-shadow: 0 4px 14px rgba(23,55,94,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 0;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 13px;
  border-radius: 24px;
  transition: background 0.18s, color 0.18s;
  color: #17375E;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--color-premium-gold-rgba);
  color: var(--color-premium-gold-dark);
}
nav a img {
  height: 42px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid var(--color-premium-gold);
  color: var(--color-premium-gold);
  border-radius: 50%;
  font-size: 30px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 10px;
  cursor: pointer;
  z-index: 120;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-premium-gold);
  color: #FFF;
  border-color: var(--color-premium-gold-dark);
}


/* =====================
   MOBILE MENU OVERLAY
====================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 55, 94, 0.87);
  z-index: 200;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform 0.36s cubic-bezier(.87,.06,.12,1.17);
  transform: translateX(100vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-premium-gold);
  font-size: 2.2rem;
  cursor: pointer;
  margin: 20px 24px 0 0;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: #FFF;
}
.mobile-nav {
  margin: 40px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 34px;
  border-radius: 28px 0 0 28px;
  display: flex;
  align-items: center;
  transition: background 0.18s, color 0.18s;
  margin-right: 12px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-premium-gold);
  color: var(--color-bg-dark);
}


/* ===================
   HERO SECTION
=================== */
.hero {
  background: linear-gradient(135deg, #f3f0e4 0%, #f6f6fa 90%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 8px 36px rgba(23,55,94,0.06);
  margin-bottom: 60px;
  padding-top: 52px;
  padding-bottom: 32px;
}
.hero .container {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  border: none;
  text-align: center;
  padding: 0;
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 26px;
}


/* =======================
      BUTTONS & CTA
========================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  background: var(--color-premium-gold);
  color: #fff;
  font-weight: 700;
  font-size: 1.16rem;
  padding: 14px 34px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 3px 14px rgba(184,150,70,0.19);
  margin: 10px 0;
  text-shadow: 0 1px 5px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
  outline: none;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-premium-gold-dark);
  color: #fff;
  box-shadow: 0 6px 24px rgba(184,150,70,0.2);
  filter: brightness(1.02);
  outline: 2px solid var(--color-premium-gold-dark);
}
.button-secondary {
  background: var(--color-secondary);
  color: #fff;
}
.button-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}


/* =============================
   FLEXBOX CARD & SECTION PATTERNS
=============================== */
/* General Card Container */
.card-container, .services-list, .features-grid, .testimonial-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 17px rgba(23,55,94,0.08);
  padding: 28px 22px;
  flex: 1 1 310px;
  min-width: 270px;
  max-width: 380px;
  position: relative;
  transition: box-shadow 0.18s;
  border: 1px solid #ede8de;
}
.card:hover, .feature:hover, .service-item:hover {
  box-shadow: 0 7px 24px rgba(184,150,70,0.08), 0 2px 10px rgba(184,150,70,0.07);
  border-color: var(--color-premium-gold-dark);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fcfbf8;
  padding: 26px 24px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(23,55,94,0.08);
  border-left: 6px solid var(--color-premium-gold);
  color: #222;
  font-size: 1.05rem;
}
/* Testimonial section, ensure contrast */
.testimonial-card p {
  color: #232323;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--color-primary);
}

.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 21px 18px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23,55,94,0.07);
  position: relative;
  border: 1px solid #f0eee9;
  min-width: 230px;
  max-width: 316px;
  flex: 1 1 235px;
}
.feature img, .service-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
}
.feature h3, .service-item h2 {
  font-size: 1.15rem;
  color: var(--color-premium-gold-dark);
  margin-bottom: 6px;
}

.service-item {
  background: #fafdff;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(23,55,94,0.08);
  padding: 20px 20px 18px 20px;
  min-width: 260px;
  max-width: 420px;
  border: 1px solid #e3e0d7;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.service-item .price {
  font-family: var(--font-display);
  color: var(--color-premium-gold-dark);
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: 10px;
}

/***** FAQ Items *****/
.faq-list {
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(23,55,94,0.07);
  padding: 20px 18px 18px 18px;
}

/***** Table Styles (e.g. pricing tables) *****/
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(23,55,94,0.08);
  font-size: 1rem;
}
thead {
  background: var(--color-premium-gold);
  color: #fff;
}
th, td {
  padding: 16px 14px;
  border-bottom: 1px solid #ede8de;
  text-align: left;
}
th {
  font-family: var(--font-display);
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* ================
   FORM CONTROLS (if needed for forms)
================== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid #c8c2b8;
  border-radius: 10px;
  margin-bottom: 16px;
  background: #f7f6f2;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-premium-gold);
  outline: none;
}
label {
  font-size: 1rem;
  font-family: var(--font-display);
}

/* ====================
   FOOTER
==================== */
footer {
  background: #fff;
  border-top: 1px solid #ece9e3;
  padding: 24px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
footer a {
  color: var(--color-premium-gold-dark);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0 3px;
  transition: color 0.16s;
}
footer a:hover, footer a:focus {
  color: var(--color-primary);
}

/* =========================
   COOKIE CONSENT BANNER
=========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fffdfa;
  box-shadow: 0 -2px 16px rgba(23,55,94,0.10);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 24px 18px;
  transition: transform 0.34s cubic-bezier(.87,.06,.12,1.17), opacity 0.19s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: #17375E;
  flex: 1 1 220px;
}
.cookie-btn {
  font-family: var(--font-display);
  background: var(--color-premium-gold);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  margin: 0 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s;
  box-shadow: 0 1px 5px rgba(184,150,70,0.14);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-premium-gold-dark);
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--color-premium-gold-dark);
  border: 1.5px solid var(--color-premium-gold);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--color-premium-gold-rgba);
  color: var(--color-premium-gold-dark);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,55,94,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 28px 28px 28px;
  box-shadow: 0 8px 32px rgba(23,55,94,0.13);
  width: 94vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category .toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: #c6b98e;
  border-radius: 9px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
  border: none;
}
.cookie-category .toggle:checked {
  background: var(--color-premium-gold);
}
.cookie-category .toggle::before {
  content: '';
  position: absolute;
  left: 2.3px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.cookie-category .toggle:checked::before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}

/***** Hide all visually on modal/overlay close *****/
.cookie-modal-overlay.hide, .cookie-modal.hide {
  display: none !important;
}

/* ===================
  RESPONSIVE STYLES
=================== */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-wrapper { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .content-wrapper, .hero .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .features-grid, .card-container, .testimonial-list, .services-list, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p, p, ul, ol { font-size: 1rem; }
  .card, .feature, .service-item {
    min-width: 0;
    max-width: 98vw;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .content-wrapper, .hero .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* ================================
       LUXURY PREMIUM MICRO-EFFECTS
================================== */
.card, .feature, .service-item {
  transition: transform 0.15s cubic-bezier(0.15,0.8,0.5,1), box-shadow 0.19s;
}
.card:hover, .feature:hover, .service-item:hover {
  transform: translateY(-2px) scale(1.013);
  box-shadow: 0 12px 28px rgba(184,150,70,0.11), 0 1px 6px rgba(23,55,94,0.09);
  border-color: var(--color-premium-gold);
}
.cta-btn:active, .cookie-btn:active {
  filter: brightness(0.93);
}
.faq-item {
  transition: box-shadow 0.19s;
}
.faq-item:hover {
  box-shadow: 0 6px 22px rgba(23,55,94,0.15);
}

/***** Accessibility focus outlines *****/
:focus-visible {
  outline: 2px solid var(--color-premium-gold-dark);
  outline-offset: 2px;
}

/***** Misc *****/
hr {
  border: 0;
  border-top: 1px solid #ece9e3;
  margin: 32px 0;
}
address {
  font-style: normal;
  color: #443B2E;
  background: #f8f6f1;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0;
  font-size: 1rem;
}

/***** Utility Classes *****/
.hide { display: none !important; }
.visible-on-desktop { display: block; }
.visible-on-mobile { display: none; }

@media (max-width: 768px) {
  .visible-on-desktop { display: none !important; }
  .visible-on-mobile { display: block !important; }
}

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