/* ===== 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, main, 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, main, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul {
  list-style: none;
}
a { text-decoration: none; color: inherit; }
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* ===== CSS VARIABLE DEFINITIONS (WITH FALLBACKS) ===== */
:root {
  --color-primary: #213252;
  --color-secondary: #8C2C68;
  --color-accent: #FFE797;
  --color-bg: #fcfcfc;
  --color-bg-section: #f5f6fa;
  --color-text: #222223;
  --color-text-muted: #757687;
  --color-gold: #C4A04F;
  --color-border: #edeaec;
  --shadow-base: 0 4px 16px rgba(33, 50, 82, 0.10);
  --shadow-lg: 0 8px 24px rgba(33, 50, 82, 0.12);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ===== GLOBAL BODY & TYPOGRAPHY ===== */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 14px; }
h2 { font-size: 1.6rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 6px; }
p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 16px;
}
.subheadline {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 20px;
}
strong { color: var(--color-primary); font-weight: 700; }

/* --- SPACING SYSTEM --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius-lg);
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1);
  border: 1.5px solid var(--color-border);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-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;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  border-left: 4px solid var(--color-gold);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.21s cubic-bezier(.4,0,.2,1), background 0.23s;
}
.testimonial-card:hover {
  background: var(--color-bg-section);
  box-shadow: var(--shadow-lg);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-info {
  font-size: 0.98rem;
  color: var(--color-secondary);
  margin-top: 8px;
  font-family: var(--font-display);
}
.testimonial-card p {
  color: #211e19;
  font-style: italic;
  font-size: 1.07rem;
  line-height: 1.55;
}
.testimonial-card .name {
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

/* === NAVIGATION HEADER === */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(33,50,82,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 20px 16px 20px;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--color-primary);
  padding: 7px 2px;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-gold);
  outline: none;
}
.cta-btn {
  background-color: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 13px 32px;
  border: none;
  box-shadow: var(--shadow-base);
  letter-spacing: 0.02em;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, box-shadow 0.19s, color 0.17s, transform 0.19s;
  border-bottom: 3px solid var(--color-accent);
  box-sizing: border-box;
  text-shadow: none;
  position: relative;
}
.cta-btn:after {
  content: '';
  display: block;
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 2px;
  background: var(--color-gold);
  opacity: 0.38;
  border-radius: 2px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--color-gold);
}

/* --- HIDE desktop nav and show mobile on small --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1100;
  background: #fff;
  border: 2px solid var(--color-secondary);
  box-shadow: var(--shadow-base);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 2rem;
  color: var(--color-secondary);
  align-items: center;
  justify-content: center;
  transition: background 0.19s, box-shadow 0.19s, border-color 0.16s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  border-color: var(--color-gold);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(33,50,82,0.92);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.8,0,.1,1);
  pointer-events: none;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.5rem;
  background: none;
  border: none;
  padding: 15px 15px 10px 10px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s, background 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-gold);
  background: rgba(140,44,104,0.14);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 16px 28px 10px 28px;
  gap: 18px;
  margin-top: 20px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  padding: 10px 0;
  width: 100%;
  border-bottom: 2px solid transparent;
  transition: color 0.13s, border 0.13s, background 0.15s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-gold);
  background: rgba(255,231,151,0.13);
  border-bottom: 2px solid var(--color-gold);
}
/* --- Hide mobile-menu by default --- */
.mobile-menu,
.mobile-menu.open {
  display: flex;
}

/* == HERO & PROMINENT HEADERS == */
.hero {
  background: linear-gradient(120deg, rgba(33,50,82,0.99) 40%, rgba(140,44,104,0.99) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  padding: 56px 0 45px 0;
  position: relative;
}
.hero h1, .hero .subheadline {
  color: #fff;
  text-shadow: 0 2px 15px rgba(33,50,82,0.11);
}
.hero .cta-btn {
  background: var(--color-gold);
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-secondary);
}
.hero .cta-btn:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* === BUTTONS, LINKS === */
a, button {
  transition: all 0.15s cubic-bezier(.4,0,.2,1);
}
button {
  font-family: var(--font-display);
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.03rem;
  color: var(--color-text);
  line-height: 1.6;
}
ul li strong, ol li strong {
  color: var(--color-secondary);
}
li img {
  height: 1.2em;
  vertical-align: text-bottom;
  margin-right: 6px;
}

/* == FAQ == */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-item {
  background: #fff;
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  padding: 20px 22px;
  margin-bottom: 10px;
  transition: box-shadow 0.18s, border-color 0.17s;
}
.faq-item:hover { box-shadow: var(--shadow-lg); border-color: var(--color-gold); }
.faq-item h3 {
  font-size: 1.14rem;
  color: var(--color-primary);
  margin-bottom: 7px;
  font-family: var(--font-display);
}
.faq-item p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* == FOOTER == */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 44px 0 36px 0;
  box-shadow: 0 -2px 18px rgba(33,50,82,0.07);
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  flex-direction: row;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  min-width: 100px;
}
.footer-logo img {
  height: 43px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing:0.01em;
  position: relative;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
  outline: none;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-contact img {
  height: 1.15em;
}

/* == SPECIAL SPACING FOR PAGE SECTIONS == */
main > section {
  margin-bottom: 60px;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  border-radius: 0;
}

/* == CARDS AND MODULAR ELEMENTS == */
/* Already covered above in .card, .testimonial-card, .faq-item */

/* == COOKIE CONSENT BANNER & MODAL == */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -4px 24px rgba(33,50,82,0.16);
  z-index: 1900;
  padding: 24px 22px 20px 22px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInCookie 0.45s ease;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-text {
  flex: 1 1 220px;
  font-size: 1.03rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, box-shadow 0.17s;
  box-shadow: var(--shadow-base);
}
.cookie-btn.cookie-settings {
  background: var(--color-primary);
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-gold);
}
.cookie-btn.cookie-accept {
  background: var(--color-gold);
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
}
.cookie-btn.cookie-reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  outline: none;
}
.cookie-btn.cookie-settings:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.cookie-accept:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.cookie-reject:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-gold);
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(33,50,82,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie .32s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  min-width: 320px; max-width: 440px;
  box-shadow: 0 8px 36px rgba(33,50,82,0.16);
  padding: 35px 36px 27px 36px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover { color: var(--color-gold); }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin: 18px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 1rem;
}
.cookie-category label {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

/* == RESPONSIVE DESIGN == */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 990px) {
  .main-nav { gap: 18px; }
  .footer-nav { gap: 8px; }
  .container { max-width: 98vw; }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 820px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .hero { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }
  .header .container {
    gap: 8px;
    padding: 15px 8px 10px 8px;
  }
  .section { padding: 28px 6px; margin-bottom: 32px; }
  .content-wrapper { gap: 12px; }
  .card-container, .testimonial-list {
    gap: 15px;
  }
  .content-grid {
    gap: 12px;
  }
  .hero {
    padding: 42px 2vw 30px 2vw;
    margin-bottom: 16px;
    font-size: 0.96em;
  }
  .footer-logo img { height: 36px; }
  .footer-nav a { font-size: 0.98em; }
  .footer-contact p { font-size: 0.91em; }
  .card, .faq-item, .testimonial-card {
    padding: 15px 9px;
    font-size: 0.97em;
  }
}
@media (max-width: 630px) {
  .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.16rem; }
  section { margin-bottom: 32px; }
  .testimonial-list { flex-direction: column; gap: 12px; }
  .section { padding: 20px 2px; margin-bottom: 20px; }
  .footer-logo { min-width: 60px; }
}
@media (max-width: 540px) {
  main > section { margin-bottom: 18px; }
  .container { padding: 0 3px; }
}
@media (max-width: 768px) {
  .container, .footer .container { flex-direction: column; gap: 15px; }
  .content-grid, .card-container, .testimonial-list { flex-direction: column; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-2 { margin-top: 14px; }
.mb-2 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 18px; }
.gap-2 { gap: 16px; }

/* ===== ANIMATIONS & EFFECTS ===== */
.card, .testimonial-card, .faq-item, .cta-btn, .main-nav a, .footer-nav a, .cookie-btn {
  transition: box-shadow 0.18s, border-color 0.18s, color 0.13s, background 0.18s, transform 0.18s;
}

/* ===== VISUAL TOUCHES FOR LUXURY_PREMIUM ===== */
.card, .faq-item, .testimonial-card {
  box-shadow: var(--shadow-base);
  border: 1.5px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-md);
  position: relative;
}
.card:before, .faq-item:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  left: 14px; top: 12px;
  width: 32px; height: 2.7px;
  border-radius: 2px;
  background: var(--color-gold);
  opacity: 0.11;
}
.card:hover:before, .faq-item:hover:before, .testimonial-card:hover:before {
  opacity: 0.19;
}

/* === SELECTION COLOR FOR ELEGANCE === */
::selection {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--color-gold) !important;
}

/* ===== PRINT ===== */
@media print {
  header, nav, .mobile-menu, .mobile-menu-toggle, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  html, body { background: #fff !important; }
  main { padding-top: 0; }
}
