/* ---------------------------- CSS RESET & NORMALIZATION ---------------------------- */
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: #f8f8f9;
  color: #1b2436;
}
ul, ol {
  list-style: inside disc;
  margin-left: 20px;
  margin-bottom: 24px;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2 }
a { color: inherit; text-decoration: none; transition: color 0.2s }
a:focus { outline: 2px solid #FFD700; outline-offset: 2px; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------------------------- LUXURY PREMIUM VARIABLES ---------------------------- */
:root {
  --primary: #173A5E;
  --secondary: #47917B;
  --accent: #F5F7FA;
  --gold: #FFD700;
  --gold-strong: #B89C3E;
  --bg: #f8f8f9;
  --white: #fff;
  --grey: #eef1f3;
  --text-dark: #102032;
  --text-medium: #344055;
  --text-light: #6A7588;
}

/* ----------------------------------- FONTS ----------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Roboto:wght@400;500;700&display=swap');
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; color: var(--secondary); }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, ul, ol { font-size: 1.06rem; color: var(--text-medium); }
strong, b { color: var(--gold-strong); font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.1rem; }
}

/* ---------------------------------- CONTAINER ---------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 850px;
  padding: 38px 0 0 0;
}

.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;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(23,58,94,0.08);
  margin-bottom: 24px;
  border-left: 6px solid var(--gold-strong);
  color: var(--text-dark);
  min-width: 0;
}
.testimonial-card p { color: var(--text-dark); font-size: 1.14rem; }
.testimonial-card strong { color: var(--secondary); font-size: 1.03rem; }

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

.features-grid, .services-grid, .pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  justify-content: space-between;
}
.features-grid > div, .services-grid > div, .pricing-table > div {
  flex: 1 1 260px;
  min-width: 230px;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(23,58,94,0.08);
  padding: 28px 20px 22px 20px;
  border-top: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.24s;
}
.features-grid > div:hover, .services-grid > div:hover, .pricing-table > div:hover {
  box-shadow: 0 8px 32px 0 rgba(23,58,94,0.11);
  z-index: 2;
}
.features-grid img {
  width: 48px; height: 48px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--accent);
  padding: 4px;
}

@media (max-width: 900px) {
  .features-grid > div, .services-grid > div, .pricing-table > div {
    flex: 1 1 100%;
    min-width: 0;
  }
  .features-grid, .services-grid, .pricing-table {
    gap: 16px;
    justify-content: flex-start;
  }
}

.pricing-table > div p {
  font-size: 1.11rem;
  color: var(--text-medium);
  margin-bottom: 10px;
}
.pricing-table > div h2, .services-grid > div h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.pricing-table > div strong, .services-grid > div strong {
  font-size: 1.10rem;
  color: var(--gold-strong);
  margin-top: 8px;
}

/* ---------------------- HEADER & NAVIGATION (DESKTOP) ---------------------- */
header {
  background: var(--white);
  border-bottom: 1px solid #ececef;
  box-shadow: 0 2px 10px 0 rgba(23,58,94,.07);
  position: sticky;
  top: 0; left: 0; right: 0; z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 50px;
  margin-right: 32px;
}
.main-nav {
  display: flex; gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 8px;
  border-radius: 4px;
  transition: color .18s, background .18s;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold-strong);
  background: var(--accent);
}
.cta-button {
  margin-left: 32px;
  background: var(--primary);
  color: var(--gold);
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 26px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(23,58,94,0.10);
  letter-spacing: .04em;
  transition: background .23s, color .23s, box-shadow .18s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 20px 0 rgba(23,58,94,0.13);
}

.button, .cookie-btn, .cookie-settings-btn {
  font-size: 1rem;
  font-family: 'Roboto',sans-serif;
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  margin-right: 16px;
  font-weight: 600;
  background: var(--gold);
  color: var(--primary);
  transition: background .21s, color .21s, box-shadow .13s;
  box-shadow: 0 2px 8px 0 rgba(184,156,62,0.09);
  display: inline-block;
}
.button:hover, .cookie-btn:hover, .cookie-btn:focus {
  background: var(--gold-strong);
  color: var(--white);
}
.cookie-settings-btn {
  background: var(--white);
  border: 1px solid var(--gold-strong);
  color: var(--gold-strong);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--accent);
  color: var(--primary);
}

/* ------------------- Burger Menu (Mobile Only) ------------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  display: none;
  cursor: pointer;
  margin-left: 24px;
  transition: color .15s;
  z-index: 25;
}
.mobile-menu-toggle:focus {
  color: var(--gold);
  outline: 2px solid var(--gold);
  border-radius: 4px;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-button { margin-left: 0; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---------- MOBILE MENU STYLING & ANIMATION ----------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,58,94,0.97);
  color: var(--gold);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.77,.2,.05,1.0);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  transition: color .18s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 46px 0 0 42px;
}
.mobile-nav a {
  font-family: 'Merriweather',serif;
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-radius: 4px;
  transition: background .17s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--white);
  color: var(--primary);
}
@media (max-width: 540px) {
  .mobile-nav {
    margin-left: 24px;
  }
}

/* Overlay scroll block for menu open */
body.menu-open {
  overflow: hidden;
}

/* ---------------------------- SECTIONS & LAYOUTS ---------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
@media (max-width:768px) {
  .section, section {
    margin-bottom: 32px;
    padding: 26px 8px;
  }
  .features-grid, .services-grid, .pricing-table {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

.text-section {
  margin-bottom: 14px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.faq-accordion > div {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 12px 0 rgba(23,58,94,.05);
  border-left: 5px solid var(--secondary);
  transition: box-shadow .2s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 20px 0 rgba(71,145,123,.08);
  border-left: 5px solid var(--gold-strong);
}

/* ----------------------------------- FOOTER ----------------------------------- */
footer {
  background: var(--primary);
  color: var(--gold);
  padding: 34px 0 23px 0;
  margin-top: 40px;
}
.footer-menu {
  display: flex;
  gap: 32px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: var(--gold);
  font-family: 'Roboto',sans-serif;
  font-size: 1.01rem;
  opacity: .96;
  transition: text-decoration .17s, color .17s;
  text-decoration: underline 0.12em #FFD70000;
  text-decoration-thickness: 2px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
  text-decoration: underline 0.12em var(--gold);
}
.footer-info {
  font-family: 'Roboto',sans-serif;
  color: var(--gold);
  font-size: 0.95rem;
  opacity: 0.86;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .footer-menu { gap: 16px; flex-direction: column; }
  .footer-info span { display: block; margin-bottom: 4px; }
}

/* -------------------------- BUTTONS, LINKS, HOVER -------------------------- */
a.cta-button, .cta-button {
  display: inline-block;
  margin-top: 16px;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 3px 24px 0 rgba(23,58,94,0.13);
}
a.cta-button:active { box-shadow: 0 0px 8px 0 rgba(23,58,94,0.12); }

button:focus, .cta-button:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ----------------------------------- FORMS ----------------------------------- */
input, textarea, select {
  border: 1px solid #c6d0de;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 1rem;
  margin-top: 6px;
  margin-bottom: 14px;
  transition: border .15s;
  width: 100%;
  background: var(--white);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--gold-strong);
  outline: none;
}

/* -------------------------------- LUXURY PREMIUM CARD -------------------------------- */
.card {
  background: var(--white);
  box-shadow: 0 2px 16px 0 rgba(23,58,94,.08);
  border-radius: 18px;
  padding: 28px 22px 18px 22px;
  border-top: 4px solid var(--gold);
  margin-bottom: 20px;
  transition: box-shadow .24s;
}
.card:hover {
  box-shadow: 0 5px 32px 0 rgba(23,58,94,0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ----------------------------- CUSTOM VISUAL DETAILS ----------------------------- */
.features-grid > div::after, .services-grid > div::after, .pricing-table > div::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; right: 16px; width: 48px; height: 5px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.17;
}

/* ---------------------------- COOKIE CONSENT BANNER ---------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 -4px 28px rgba(23,58,94,0.11);
  display: flex;
  flex-direction: row;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px;
  font-size: 1rem;
  color: var(--text-medium);
  animation: cookieBannerIn .6s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(120px); opacity: 0; }
  80% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn,
.cookie-banner .cookie-settings-btn {
  margin-right: 6px;
  min-width: 124px;
}
@media (max-width: 770px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 12px;
    font-size: .98rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,58,94,0.30);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 48px 0 rgba(23,58,94,.20);
  padding: 34px 38px 27px 38px;
  max-width: 420px;
  min-width: 290px;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  animation: modalIn .45s cubic-bezier(.65,-0.14,.31,1.44);
  position: relative;
}
@keyframes modalIn {
  from {transform: scale(0.92) translateY(50px); opacity:0.3; }
  to {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: var(--gold-strong);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 3px 6px;
  opacity: .93;
}
.cookie-modal h3 {
  font-size: 1.19rem;
  color: var(--primary);
  margin-bottom: 14px;
  font-family: 'Merriweather',serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.cookie-modal input[type='checkbox'] {
  width: 20px; height: 20px;
  accent-color: var(--gold-strong);
}
.cookie-modal .cookie-category {
  background: var(--grey);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 9px;
  font-size: .99rem;
}

.cookie-modal .cookie-btn {
  margin-right: 12px;
  min-width: 112px;
  font-size: 1rem;
}
.cookie-modal .cookie-settings-btn {
  font-size: 1rem;
}

/* Hide modal and banner by default (JS toggles display: flex/block) */
.cookie-banner[hidden], .cookie-modal-overlay[hidden] { display: none !important; }

/* ----------------------------------- TABLES ----------------------------------- */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 40px;
  background: var(--white);
  box-shadow: 0 2px 16px 0 rgba(23,58,94,0.05);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 15px 12px;
  text-align: left;
}
th {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
}
tr:not(:last-child) {
  border-bottom: 1px solid #e1e8ef;
}

/* --------------------------------- UTILITIES --------------------------------- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ------------- HORIZONTAL RULE (for luxury accent) ------------- */
hr { border: 0; height: 2px; background: var(--gold); opacity:.22; border-radius: 2px; margin:32px 0;}

/* --------------- ADDITIONAL MEDIA QUERIES FOR RESPONSIVENESS --------------- */
@media (max-width: 1180px) {
  .container { max-width: 1000px; }
}
@media (max-width:900px){
  .container { max-width: 96vw; padding: 0 2vw; }
  .content-wrapper { max-width: 99vw; }
}

@media (max-width: 600px) {
  .container, .content-wrapper {
    padding: 0 6px;
    max-width: 100vw;
  }
  .section, section { padding:18px 2px; }
}

/* ---------------------------------- LUXURY DETAILS ---------------------------------- */
.card, .testimonial-card, .faq-accordion > div {
  border-radius: 14px;
  border-top: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 1.5px 12px 0 rgba(184,156,62,0.05);
}
.features-grid > div, .services-grid > div, .pricing-table > div {
  border-top: 4px solid var(--gold);
}

/* ---------------------------------- MISC ---------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent)
}
::-webkit-scrollbar-thumb {
  background: var(--gold-strong);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

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

/* -------------- ICON ACCENT -------------- */
.features-grid img, .services-grid img, .pricing-table img {
  filter: drop-shadow(0 1px 6px #ffd70024);
  background: var(--accent);
  border-radius: 8px;
}

/* ------------- Luxurious micro-interaction for primary buttons ------------- */
.cta-button, .button, .cookie-btn, .cookie-settings-btn {
  position: relative;
}
.cta-button:after, .cookie-btn:after {
  position: absolute;
  content: '';
  left: 12px; right: 12px; bottom: 5px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0;
  transition: opacity .22s;
}
.cta-button:hover:after, .cookie-btn:hover:after { opacity: .35; }

/* -------------- Accessibility: focus ring for all clickable elements -------------- */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--gold-strong);
  outline-offset: 1.5px;
}

/* ===================================== END ===================================== */