/* ---- 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #FAF8F4;
  color: #393E6A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #393E6A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover {
  color: #EBB562;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #231F20;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
}
h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
}

/* --- UTILITIES --- */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 5px 32px rgba(51,48,68,0.08);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

/* ---------- HEADER ---------- */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(51,48,68,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px 20px;
}
header a img {
  max-height: 48px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a {
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
  color: #393E6A;
}
.main-nav a:not(.btn-primary):after {
  display: block;
  content: "";
  width: 0;
  height: 2px;
  background: #EBB562;
  transition: width .2s;
  margin-top: 4px;
}
.main-nav a:not(.btn-primary):hover:after {
  width: 28px;
}
.main-nav .btn-primary {
  margin-left: 10px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #393E6A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #f6f1ea;
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: #393E6A;
  color: #fff;
  position: relative;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 800px;
}
.hero h1 {
  color: #fff;
  font-size: 2.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0.5em;
}
.hero p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5em;
  color: #fff;
}
.hero .btn-primary {
  margin-top: 8px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #EBB562;
  color: #393E6A;
  padding: 13px 36px;
  border: none;
  border-radius: 31px;
  box-shadow: 0 2px 12px rgba(51,48,68,0.09);
  position: relative;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s, color 0.17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #daa640;
  color: #231F20;
  outline: none;
}
.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: #EBB562;
  border: 2px solid #EBB562;
  padding: 11px 32px;
  border-radius: 31px;
  transition: background 0.15s, color 0.09s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #EBB562;
  color: #393E6A;
  outline: none;
}

/* ---------- FLEX PATTERNS ---------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(51,48,68,0.08);
  padding: 32px;
  min-width: 280px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 5px 40px 0 rgba(51,48,68,0.12);
}
.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: #fff;
  color: #231F20;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 3px 22px 0 rgba(51,48,68,0.07);
  min-width: 260px;
  margin-bottom: 20px;
  border-left: 6px solid #EBB562;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(59,56,86,0.18);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fcfbf7;
  border-radius: 15px;
  padding: 26px 19px 20px 19px;
  min-width: 230px;
  flex: 1 1 235px;
  box-shadow: 0 2px 12px rgba(51,48,68,0.04);
  margin-bottom: 20px;
  border: 1.5px solid #f5ead4;
  transition: border 0.16s, box-shadow 0.12s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}
.feature-item h3 {
  color: #393E6A;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  font-size: 1.13rem;
}
.feature-item:hover,
.feature-item:focus {
  border: 1.5px solid #EBB562;
  box-shadow: 0 5px 40px 0 rgba(51,48,68,0.11);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1rem;
  line-height: 1.7;
}

.content-wrapper > .features-grid,
.content-wrapper > .testimonial-slider,
.content-wrapper > .testimonial-list {
  margin-top: 18px;
}

.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- FOOTER ---------- */
footer {
  background: #231F20;
  color: #fff;
  padding: 0;
  margin-top: 80px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 20px 36px 20px;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a, .legal-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  margin-bottom: 0;
  transition: color 0.17s, opacity 0.14s;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: #EBB562;
  opacity: 1;
}
.footer-contact {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.89;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 8px;
  vertical-align: middle;
}
footer a img {
  margin-bottom: 20px;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,31,32,0.98);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.8,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 32px 0 32px 24px;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: #EBB562;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-left: 34px;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  color: #fff;
  opacity: 0.93;
  letter-spacing: 0.01em;
  padding: 8px 0;
  transition: color 0.16s, opacity 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:active {
  color: #EBB562;
  opacity: 1;
}


/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 12000;
  background: #fff;
  color: #393E6A;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px 0 rgba(51,48,68,0.07);
  padding: 26px 18px 18px 18px;
  gap: 16px;
  opacity: 1;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(.67,0,.36,1.14), opacity 0.23s;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__text {
  font-size: 1rem;
  margin-bottom: 5px;
  text-align: center;
  color: #393E6A;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}
.cookie-btn {
  font-size: 1rem;
  padding: 10px 26px;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  background: #EBB562;
  color: #231F20;
  transition: background 0.23s, color 0.13s;
}
.cookie-btn.secondary {
  background: transparent;
  border: 2px solid #EBB562;
  color: #EBB562;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #daa640;
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #EBB562;
  color: #393E6A;
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 400px;
  background: #fff;
  color: #393E6A;
  border-radius: 18px;
  box-shadow: 0 6px 38px 0 rgba(57,62,106,0.19);
  z-index: 14001;
  transform: translate(-50%,-50%) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.29s, opacity 0.17s;
  padding: 32px 26px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  margin-bottom: 19px;
  font-size: 1.3rem;
  text-align: left;
  color: #393E6A;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-toggle {
  accent-color: #EBB562;
  width: 22px;
  height: 22px;
}
.cookie-modal__footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #EBB562;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #393E6A;
}

/* ---------- TYPOGRAPHY SCALE ---------- */
:root {
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-24: 24px;
  --fs-32: 32px;
  --fs-48: 48px;
}
h1 {
  font-size: var(--fs-32);
}
h2 {
  font-size: var(--fs-24);
}
@media (min-width: 600px) {
  h1 {
    font-size: var(--fs-48);
  }
  h2 {
    font-size: var(--fs-32);
  }
}

/* ---------- SPACING OVERRIDES ---------- */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ---------- PAGE-SPECIFIC ---------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 12px;
}
.contact-details img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- RESPONSIVENESS ---------- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 18px;
  }
  .card-container, .features-grid {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 0 0 28px 28px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .feature-item, .card {
    min-width: unset;
    padding: 18px 10px 16px 10px;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 10px 22px 10px;
    gap: 14px;
  }
  .text-image-section, .content-grid, .features-grid, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
    border-radius: 15px;
  }
}

@media (max-width: 500px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .hero {
    margin-bottom: 34px;
  }
}

/* ---------- MICRO-INTERACTIONS ---------- */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.22s, border 0.17s, transform 0.15s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 6px 36px 0 rgba(57,62,106,0.13);
}
.btn-primary, .btn-secondary {
  transition: background 0.29s, color 0.17s, transform 0.13s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}
.main-nav a:active, .mobile-nav a:active {
  opacity: 0.65;
}

/* --- Miscellaneous Details --- */
::-webkit-scrollbar { width: 10px; background: #232027; }
::-webkit-scrollbar-thumb { background: #EBB562; border-radius: 8px; }
::-webkit-input-placeholder { color: #393E6A; opacity: 0.4; }
::-moz-placeholder { color: #393E6A; opacity: 0.4; }
:-ms-input-placeholder { color: #393E6A; opacity: 0.4; }
::placeholder { color: #393E6A; opacity: 0.4; }

/* --- Accessibility --- */
:focus {
  outline: 2px solid #EBB562;
  outline-offset: 2px;
}

/*---------- LUXURY STYLE DETAILS ----------*/
.section {
  box-shadow: 0 4px 24px 0 rgba(235,181,98,0.10);
  border: 1.4px solid #F9E7C4;
  background: #fff;
}
.card, .feature-item, .testimonial-card {
  background: #fff;
  border-radius: 18px;
  border: 1.4px solid #f5ead4;
  box-shadow: 0 2px 30px 0 rgba(57,62,106,0.08);
}
.card:before, .feature-item:before, .testimonial-card:before {
  content: '';
  display: none;
}

/* Gold accent (underline) for h2 */
h2 {
  position: relative;
}
h2:after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: #EBB562;
  border-radius: 3px;
  margin-top: 13px;
  margin-bottom: 6px;
}

/* Gold accent bullet for li in .features-grid or .text-section */
.text-section ul li::marker {
  color: #EBB562;
  font-size: 1.1em;
  font-weight: bold;
}
.text-section ol li::marker {
  color: #EBB562;
  font-size: 1.07em;
  font-weight: bold;
}

/* Horizontal rules with gold accent */
hr {
  border: 0;
  border-top: 1.5px solid #EBB562;
  margin: 32px 0;
}

/* --- Testimonial Avatar/Deco (optional) --- */
.testimonial-card strong {
  color: #EBB562;
  font-weight: 700;
}

/* --- Inputs & Forms (for contact/other forms, non-present but future proof) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #231F20;
  border: 1.4px solid #EBB562;
  padding: 13px 16px;
  border-radius: 9px;
  margin-bottom: 18px;
  background: #fcfbf7;
  transition: border 0.15s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border: 1.4px solid #393E6A;
}


/* --- Loader Spinner (for async UI, future proof) --- */
.spinner {
  border: 4px solid #F9E7C4;
  border-top: 4px solid #EBB562;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Hide elements for a11y --- */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* --- Z-Index --- */
header {
  z-index: 30;
}
.mobile-menu {
  z-index: 9999;
}
.cookie-banner {
  z-index: 12000;
}
.cookie-modal {
  z-index: 14001;
}

/* --- END --- */
