/* ================= RESET & ROOT ================= */
html { box-sizing: border-box; font-size: 100%; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
body { min-height: 100vh; background: #f8f9fa; font-family: 'Open Sans', Arial, sans-serif; color: #1c2833; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s; cursor: pointer; }
ul, ol { list-style: none; }
:root {
  --color-primary: #19506E;
  --color-secondary: #D98C28;
  --color-gold: #B18E41;
  --color-background: #f8f9fa;
  --color-white: #fff;
  --color-dark: #1c2833;
  --color-card-bg: #fff;
  --color-footer-bg: #1a2730;
  --color-footer-text: #dde0e3;
  --color-accent: #D98C28;
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ================= LUXURY PREMIUM BASE =============== */
body {
  background: var(--color-background);
  color: var(--color-dark);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(25,80,110,0.05);
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 20px; }
h3 { font-size: 1.325rem; line-height: 1.24; margin-bottom: 14px; }
h4 { font-size: 1.125rem; font-weight: 700; }
p, ul, ol { margin-bottom: 18px; }

strong { color: var(--color-primary); font-weight: 600; }
em { color: var(--color-secondary); font-style: normal; }
.text-section h2, .text-section h3 { color: var(--color-gold); }

/* ================= CONTAINER & LAYOUT =============== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(25,80,110,0.07);
  padding: 36px 24px;
  margin-bottom: 16px;
  border: 1px solid #e5e2dc;
}

/* ================= SECTION SPACING ================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(28,40,51,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  transition: box-shadow 0.3s;
  border: 1px solid #ece8e1;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 36px rgba(217,140,40,0.12), 0 3px 12px rgba(25,80,110,0.10);
}
.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: 24px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 6px solid var(--color-gold);
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(25,80,110,0.10);
  margin-bottom: 20px;
  color: #222e3a;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #222e3a;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: 12px;
  padding: 18px 16px;
}

/* ============== HEADER & NAVIGATION ================= */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(25,80,110,0.07);
  position: relative;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  min-height: 80px;
  justify-content: space-between;
  gap: 20px;
}
header a img { height: 40px; }
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 8px;
  border-radius: 6px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #f3f5f6;
  color: var(--color-secondary);
  text-decoration: none;
  outline: none;
}
header nav a.cta.primary {
  padding: 8px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 24px;
  font-size: 1.08rem;
  font-weight: 700;
  margin-left: 12px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 14px rgba(25,80,110,0.07);
  border: none;
}
header nav a.cta.primary:hover, header nav a.cta.primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 6px 22px rgba(217,140,40,0.13);
}
header nav a.cta.secondary {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  z-index: 1012;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  background: #f0e9da;
  outline: none;
}
@media (max-width: 1024px) {
  header nav { gap: 10px; }
}
@media (max-width: 900px) {
  header nav a { font-size: 0.97rem; }
  header nav { gap: 8px; }
  header .container { min-height: 68px; }
}
@media (max-width: 850px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* =============== MOBILE MENU =============== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: linear-gradient(110deg, #fff 85%, #efeadf 100%);
  box-shadow: 0 12px 36px rgba(25,80,110,0.12);
  z-index: 2000;
  transform: translateX(-110%);
  transition: transform 0.36s cubic-bezier(.78,.07,.56,.97);
  padding: 24px 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 0 100vw rgba(24, 26, 40, 0.18);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  padding: 14px 28px 0 0;
  cursor: pointer;
  z-index: 2010;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--color-primary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 28px 32px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.18rem;
  color: var(--color-primary);
  padding: 10px 8px;
  border-radius: 8px;
  background: none;
  transition: background 0.12s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f5f3ec;
  color: var(--color-secondary);
  outline: none;
}
@media (max-width: 540px) {
  .mobile-nav { padding: 16px 14px; gap: 16px; }
}

/* ================= MAIN CONTENT UTILS =============== */
main {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  gap: 0;
}

.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 850px;
}

ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  padding-left: 0;
  padding-bottom: 8px;
  margin-bottom: 0px;
  color: #353535;
}
ul li img {
  height: 25px;
  width: 25px;
  margin-right: 10px;
  vertical-align: middle;
}
ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  margin-bottom: 6px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .content-wrapper, .text-section {
    padding: 18px 4px;
  }
  .container { padding: 0 6px; }
  section, .section { padding-top: 22px; padding-bottom: 22px; }
}

/* ================= BUTTONS & CTAs =================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 34px;
  margin-top: 12px;
  background: var(--color-secondary);
  color: #fff;
  text-shadow: 0 1px 3px rgba(25,80,110,0.03);
  box-shadow: 0 2px 12px rgba(217,140,40,.08);
  border: none;
  cursor: pointer;
  transition: background 0.23s, color 0.2s, box-shadow 0.2s;
  outline: none;
  gap: 8px;
}
.cta.primary { background: var(--color-primary); color: #fff; }
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 22px rgba(217,140,40,0.16);
}
.cta.secondary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(217,140,40,.11);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
button.cta, button.cta.primary, button.cta.secondary {
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
}

/* =================== FOOTER ========================= */
footer {
  width: 100%;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 56px 0 48px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 24px rgba(25,80,110,0.06);
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 950px;
}
footer a {
  color: var(--color-gold);
  opacity: 0.85;
  font-size: 1.01rem;
  margin-right: 18px;
  margin-bottom: 4px;
  transition: color 0.13s, opacity 0.19s;
}
footer a:hover, footer a:focus {
  color: var(--color-secondary); opacity: 1.0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer img { height: 32px; }
footer ul {
  color: #d5c497;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 8px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.18s;
}
.footer-socials a:hover, .footer-socials a:focus { opacity: 1; }

@media (max-width: 750px) {
  footer .content-wrapper { align-items: flex-start; gap: 20px; }
  footer nav { gap: 10px; }
  footer img { height: 28px; }
}
@media (max-width: 600px) {
  footer { padding: 32px 0 32px 0; }
  .footer-socials { gap: 14px; }
}

/* ================= CARDS & CAROUSELS ================ */
.card {
  border: 1px solid #ece8e1;
  box-shadow: 0 2px 12px rgba(217,140,40,.03); /* subtle premium shadow */
}

.card .card-title {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card .card-description { color: #4c5157; font-size: 1.03rem; margin-bottom: 8px; }

/* ================= ANIMATIONS & MICRO-INTERACTIONS ================ */
.cta, button.cta, .card, .testimonial-card, .feature-item {
  transition: box-shadow .24s, background .22s, color 0.18s;
}
.cta:active {
  transform: translateY(2px);
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 10px 30px rgba(217,140,40,0.06), 0 2px 10px rgba(25,80,110,0.04);
  z-index: 2;
}

/* =================== COOKIE BANNER ================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-footer-bg);
  color: #fff;
  box-shadow: 0 -4px 22px rgba(25,80,110,0.13);
  padding: 24px 12px 22px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 3000;
  animation: cookie-slidein .42s cubic-bezier(0.65,0,.35,1);
}
@keyframes cookie-slidein { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-banner-content {
  flex: 1 1 320px;
  max-width: 820px;
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.08rem;
  color: #ffeede;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s, color 0.18s, box-shadow 0.23s;
}
.cookie-accept {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(217,140,40,0.08);
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: var(--color-gold);
}
.cookie-reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #f5ead7;
  color: var(--color-primary);
}
.cookie-settings-btn {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid #bfa654;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #fffde7;
}

@media (max-width: 750px) {
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .cookie-banner-actions { gap: 8px; }
}

/* ================ COOKIE MODAL ======================= */
.cookie-modal-overlay {
  position: fixed; z-index: 3100;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(25,80,110,0.35);
  display: flex; align-items: center; justify-content: center;
  animation: fadein-dialog 0.2s;
}
@keyframes fadein-dialog { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 80px rgba(50,44,24,0.22);
  max-width: 400px;
  width: 94vw;
  padding: 36px 26px 32px 26px;
  color: var(--color-primary);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.cookie-modal h2 { margin-bottom: 12px; color: var(--color-gold); font-size: 1.38rem; }
.cookie-modal label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-categories {
  margin: 16px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal .cookie-locked {
  color: #ccc5a6;
  font-size: 0.99rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.01rem;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  background: var(--color-primary);
  color: #fff;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  color: var(--color-secondary);
  font-size: 1.41rem;
  border: none;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus { color: var(--color-gold); background: #faf6ef; outline: none; }

/* =================== UTILS =================== */
::-webkit-scrollbar-thumb {
  background: #e6e1d7;
  border-radius: 7px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #faf6ef;
}

@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.13rem; }
}

/* =============== MEDIA QUERIES (RESPONSIVE) =========== */
@media (max-width: 900px) {
  .container { max-width: 99vw; }
}
@media (max-width: 600px) {
  .container { max-width: 100vw; padding: 0 4px; }
  main { margin-bottom: 28px; }
  section, .section { padding: 18px 0 16px 0; margin-bottom: 38px; }
}
@media (max-width: 430px) {
  .testimonial-card, .card { padding: 12px 9px; border-radius: 10px; }
  .text-section { padding: 8px 2px; border-radius: 9px; }
  .footer-socials { gap: 8px; }
  .cookie-modal { padding: 18px 5px; }
}

/* ============= ACCESSIBILITY ENHANCEMENTS ============= */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Prevent overlap by default */
.card, .testimonial-card, .feature-item, .section, section, .content-wrapper {
  margin-bottom: 20px;
}

/* =========== UTILITARIAN FLEX CLASSES FOR CUSTOM USE =========== */
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-start { display: flex; align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* ========== REMOVE GRID/COLUMNS USE, ONLY FLEXBOX ========== */
/* No display: grid nor any columns usage anywhere! */
