/* =======================
   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%; vertical-align: baseline;
  box-sizing: border-box;
}

html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2B3748;
  background: #F3F6FA;
  line-height: 1.7;
  font-size: 16px;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}

/* =======================
   VARIABLES (with fallback)
   ======================= */
:root {
  --primary: #2B3748;
  --secondary: #FFFFFF;
  --bg-light: #F3F6FA;
  --accent: #5A6C83;
  --accent-contrast: #8293A6;
  --gold: #C8B06A;
  --shadow: 0 2px 20px rgba(43, 55, 72, 0.03), 0 1.5px 6px rgba(200, 176, 106, 0.07);
  --radius: 18px;
  --radius-btn: 24px;
}

/* =======================
   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, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 18px; }
p, ul, ol, li { font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 1rem; }

strong { font-weight: 700; color: var(--primary); }

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; margin-bottom: 18px; }
  h2 { font-size: 1.4rem; margin-bottom: 12px; }
}

/* =======================
   CONTAINER & LAYOUT
   ======================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.text-section {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 240px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  padding: 16px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.services-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list .text-section {
  flex: 1 1 300px;
  min-width: 280px;
}

@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 14px;
  }
  .service-list { flex-direction: column; gap: 16px; }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 10px;
  }
  .text-section, .card {
    padding: 16px 10px;
  }
  .card-container, .content-grid, .services-list, .service-list {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  background: var(--secondary);
  box-shadow: 0 2px 16px rgba(43,55,72,0.07);
  position: sticky;
  top: 0;
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 0 32px;
  min-height: 70px;
}
.main-nav img {
  height: 38px;
  margin-right: 20px;
  border-radius: 8px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 16px;
  line-height: 1.2;
  color: var(--primary);
  transition: background 0.17s, color 0.17s;
  border-radius: var(--radius-btn);
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav a.cta-btn {
  background: var(--gold);
  color: #fff;
  padding: 8px 26px;
  margin-left: auto;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(43,55,72,0.07);
  border: none !important;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #ad994d;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(200,176,106,0.15);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
  background: var(--bg-light);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  position: absolute;
  top: 14px;
  right: 24px;
  background: var(--secondary);
  border: 1px solid var(--accent-contrast);
  border-radius: 50%;
  padding: 5px 13px;
  color: var(--primary);
  cursor: pointer;
  z-index: 113;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--bg-light);
  color: var(--gold);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: rgba(43,55,72,0.96);
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0; top: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,.9,.2,1);
  z-index: 112;
  padding-top: 28px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  margin-left: auto;
  margin-right: 32px;
  font-size: 2rem;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--accent);
  border: 1px solid var(--accent-contrast);
  cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent-contrast);
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 46px 0 46px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 18px 0 10px 0;
  border-bottom: 1px solid #4a5870;
  transition: color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
}
.mobile-nav a.cta-btn {
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 15px 0;
  margin-top: 12px;
  box-shadow: 0 2px 10px 0 rgba(43,55,72,0.13);
  border: none !important;
  text-align: center;
}
.mobile-nav a.cta-btn:hover { background: #ad994d; color: #fff; }

@media (max-width: 1040px) {
  .main-nav { gap: 8px; padding: 0 12px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 5px; }
  .main-nav a { font-size: 0.95rem; padding: 3px 9px; }
  .main-nav img { margin-right: 9px; height: 28px; }
}

@media (max-width: 830px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide mobile menu on large */
@media (min-width: 831px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: var(--secondary);
  border-top: 1.5px solid var(--accent-contrast);
  padding: 30px 0 16px 0;
  margin-top: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 3px 16px;
  border-radius: 18px;
  transition: color 0.17s, background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--gold); background: var(--bg-light); }
footer address {
  font-style: normal;
  font-size: 0.98rem;
  color: var(--accent);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .footer-nav { flex-direction: column; gap: 8px; font-size:0.99rem; }
}

/* =======================
   BUTTONS & CTA
   ======================= */
.cta-btn, .btn {
  background: var(--gold);
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 13px 33px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.20s, box-shadow 0.17s;
  box-shadow: 0 3px 16px 0 rgba(200,176,106,0.09);
  display: inline-block;
  margin-top: 14px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  position: relative;
}
.cta-btn:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 2px;
  background: #fff9d3;
  border-radius: 15px;
  transition: width 0.17s, left 0.17s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #ad994d;
  color: #fff !important;
  box-shadow: 0 7px 26px 0 rgba(200,176,106,0.16);
}
.cta-btn:hover:after,
.cta-btn:focus:after {
  width: 56%;
  left: 22%;
}
.btn {
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  font-size: 1em;
  box-shadow: 0 2px 9px 0 rgba(43,55,72,0.11);
}
.btn:hover, .btn:focus { background: #ad994d; color: #fff; }

/* =======================
   ICONS (in LI/UL)
   ======================= */
ul li img, .feature-item img {
  margin-right: 12px;
  vertical-align: middle;
  height: 23px;
  width: 23px;
  object-fit: contain;
  display: inline-block;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: var(--primary);
  background: none;
}

/* =======================
   TESTIMONIALS CARD
   ======================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 24px 0 rgba(43,55,72,0.06);
  color: #1C2533;
  margin-bottom: 20px;
  max-width: 620px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #2B3748;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--accent);
  font-weight: 500;
  margin-left: 14px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 16px 10px;
    font-size: 1rem;
  }
}

/* =======================
   SECTION SPACING & GENERAL LAYOUT
   ======================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
section:last-child { margin-bottom: 0; }

/* =======================
   CARDS
   ======================= */
.card {
  border: 1px solid var(--accent-contrast);
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 3px 16px 0 rgba(43,55,72,0.03);
  background: #fff;
  cursor: pointer;
}
.card:hover, .card:focus {
  border-color: var(--gold);
  box-shadow: 0 8px 24px 0 rgba(200,176,106,0.10);
}

/* Decorative gold corner for luxury effect */
.card:before {
  content: "";
  display: block;
  width: 28px; height: 4px;
  background: var(--gold);
  border-radius: 2.5px;
  position: absolute;
  top: 18px; left: 18px;
  opacity: 0.12;
}

/* =======================
   SPECIAL FLEX CLASSES (MANDATORY)
   ======================= */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =======================
   MICRO-INTERACTIONS & ANIMATIONS
   ======================= */
.cta-btn, .btn, .card, .main-nav a, .footer-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, border-color 0.18s;
}

/* Section heading accent underline */
h2 {
  position: relative;
  display: inline-block;
}
h2:after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 7px;
  opacity: 0.23;
}

/* =======================
   RESPONSIVE TYPOGRAPHY & SPACING
   ======================= */
@media (max-width: 600px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.02rem; }
  .section { margin-bottom: 22px; padding: 19px 3px; }
  .testimonial-card { padding: 11px 5px; }
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1060;
  background: #232832;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  box-shadow: 0 0 18px 0 rgba(43, 55, 72, 0.13);
  font-size: 1rem;
  min-height: 60px;
  flex-wrap: wrap;
  transition: transform 0.33s cubic-bezier(0.5,1,0.4,1), opacity 0.22s;
  gap: 20px;
}
.cookie-consent-banner.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-consent-banner .cookie-btn {
  background: var(--gold);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 28px;
  font-family: 'Montserrat',Arial,sans-serif;
  margin: 0 10px;
  cursor: pointer;
  border: none;
  font-size: 1.03em;
  font-weight: 600;
  box-shadow: 0 1px 3px 0 rgba(43,55,72,0.09);
  transition: background 0.14s;
}
.cookie-consent-banner .cookie-btn:hover {
  background: #ad994d;
}
.cookie-consent-banner .cookie-btn.secondary {
  background: var(--accent);
  color: #fff;
}
.cookie-consent-banner .cookie-btn.secondary:hover {
  background: var(--accent-contrast);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(43, 55, 72, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1085;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 6px 38px 0 rgba(43,55,72,0.13);
  min-width: 340px;
  max-width: 95vw;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px; right: 15px;
  background: #eee;
  color: var(--primary);
  border-radius: 30px;
  width: 35px;
  height: 35px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  font-size: 1.35em;
  cursor: pointer;
  transition: background 0.13s, color 0.12s;
}
.cookie-modal .modal-close:hover {
  background: var(--gold); color: #fff;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.35em;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0 7px 0;
}
.cookie-modal label {
  font-size: 1.08em;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  background: #F3F6FA;
  border: 1.5px solid var(--accent-contrast);
  width: 22px;
  height: 22px;
  border-radius: 5px;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
  transition: border 0.14s, background 0.14s;
}
.cookie-modal input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.cookie-modal input[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
}
@media (max-width: 500px) {
  .cookie-modal .cookie-modal-content {
    min-width: 90vw;
    padding: 19px 7px 19px 7px;
  }
}

/* =======================
   SELECTION EFFECTS
   ======================= */
::selection {
  background: var(--gold);
  color: #fff;
}

/* ============
   SCROLLBAR
   ============ */
::-webkit-scrollbar {
  width: 11px;
  background: var(--bg-light);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent-contrast);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ============
   FORMS (if any)
   ============ */
input, textarea, select {
  background: #fff;
  border: 1.5px solid var(--accent-contrast);
  padding: 8px 11px;
  border-radius: 7px;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  outline: none;
}

/* ============
   MODAL z-index/UI layering fixes
   ============ */
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ===============
   PRINT OPTIMIZATION
   =============== */
@media print {
  header, footer, .cta-btn, .main-nav, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  section, .container, .content-wrapper, h1, h2, h3, p { color: #000; background: #fff !important; }
}
