/*--- CSS RESET & BASE TYPOGRAPHY ---*/
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #FAF6F1;
  color: #1e2328;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*--- IMPORT FONTS (Google Fonts CDN, fallback loaded in HTML ideally) ---*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

/*--- BRAND COLORS ---*/
:root {
  --brand-primary: #29465B;
  --brand-secondary: #E09232;
  --brand-gold: #C6A764;
  --brand-accent: #FAF6F1;
  --brand-dark: #1e2328;
  --brand-light: #fff;
  --border-radius: 20px;
  --container-width: 1200px;
}

/*--- CORE CONTAINERS & SPACING ---*/
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

@media (max-width: 768px) {
  .section, section {
    margin-bottom: 40px;
    padding: 24px 10px;
  }
  .container {
    padding: 0 10px;
  }
}

/*--- TYPOGRAPHY ---*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 18px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 14px;
}
p, ul, ol {
  font-size: 1.125rem;
  color: var(--brand-dark);
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
a {
  color: var(--brand-secondary);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: var(--brand-gold);
}

/*--- HEADER/NAV STYLES ---*/
header {
  width: 100%;
  background: var(--brand-light);
  box-shadow: 0 2px 16px rgba(41,70,91,0.05);
  position: relative;
  z-index: 20;
}
.logo {
  display: flex;
  align-items: center;
  padding: 15px 0 10px 0;
  margin-right: 32px;
}
.logo img {
  height: 48px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.main-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--brand-secondary);
  border-color: var(--brand-gold);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}
@media (max-width: 1024px) {
  header {
    padding: 0 14px;
  }
  .main-nav {
    gap: 18px;
  }
}

/*--- MOBILE NAV ---*/
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--brand-primary);
  display: none;
  margin-left: 16px;
  z-index: 99;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,70,91,0.98);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.32,.72,.51,1);
  z-index: 199;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 30px;
  opacity: 0.998;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-gold);
  align-self: flex-end;
  margin: 14px 24px 10px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--brand-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-left: 32px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  color: var(--brand-light);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--brand-secondary);
}

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

/*--- HERO SECTION ---*/
.hero {
  background: var(--brand-primary);
  color: var(--brand-light);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 8px 24px 0 rgba(41,70,91,0.05);
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero .container {
  padding-top: 46px;
  padding-bottom: 46px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--brand-light);
  font-size: 2.5rem;
}
.hero p {
  color: #f8f3e6;
  font-size: 1.25rem;
}

@media (max-width: 600px) {
  .hero {
    min-height: 180px;
    border-radius: 0 0 12px 12px;
  }
  .hero .container {
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/*--- BUTTONS ---*/
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.90em 2.4em;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: box-shadow .16s, color 0.18s, background 0.16s, border-color 0.15s;
  box-shadow: 0 4px 18px 0 rgba(41,70,91,0.04);
  margin-top: 22px;
  margin-bottom: 8px;
  text-decoration: none;
}
.cta.primary {
  background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-secondary) 100%);
  color: var(--brand-primary);
  border: 2px solid var(--brand-secondary);
  box-shadow: 0 4px 16px 0 rgba(224,146,50,0.22);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-light);
  border-color: var(--brand-gold);
}
.cta.secondary {
  background: var(--brand-primary);
  color: var(--brand-light);
  border: 2px solid var(--brand-gold);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--brand-light);
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}

/*--- CARD / GRID LAYOUTS ---*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-light);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px 0 rgba(41,70,91,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(224,146,50,0.16);
  transform: translateY(-3px) scale(1.012);
}

.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) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
  }
}

/*--- FEATURE/ LIST ITEMS ---*/
.features ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  padding-left: 0;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.125rem;
  background: var(--brand-accent);
  border-radius: 13px;
  box-shadow: 0 2px 6px 0 rgba(224,146,50,0.06);
  padding: 14px 18px;
  margin-bottom: 8px;
}
.features ul li img {
  height: 34px;
  width: 34px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Section alternative for about, services, contact */
.services ul, .features-contact ul, .about-team ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}
.services ul li, .features-contact ul li, .about-team ul li {
  padding: 14px 20px 14px 16px;
  border-radius: 13px;
  background: var(--brand-accent);
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 1.125rem;
  box-shadow: 0 2.5px 6px 0 rgba(41,70,91,0.04);
}
.features-contact ul ul {
  margin-top: 10px;
  margin-left: 17px;
  gap: 13px;
}
.features-contact ul ul li {
  background: rgba(250,246,241,0.63);
  padding: 10px 14px 10px 13px;
  font-size: 1rem;
}

/*--- TESTIMONIALS ---*/
.testimonials, .testimonials-team, .testimonials-participants {
  background: var(--brand-accent);
  border-radius: var(--border-radius);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 32px;
  margin-bottom: 20px;
  background: var(--brand-light);
  border-left: 4px solid var(--brand-secondary);
  border-radius: 14px;
  box-shadow: 0 3px 20px -2px rgba(41,70,91,0.04);
  max-width: 710px;
  color: var(--brand-dark);
  font-size: 1.125rem;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.testimonial-card p {
  color: var(--brand-dark);
  font-size: 1.13rem;
}
.testimonial-card strong {
  color: var(--brand-primary);
  font-size: 1.07em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(224,146,50,0.11);
  border-color: var(--brand-gold);
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 15px 12px 15px 14px;
    font-size: 1rem;
  }
}

/*--- ABOUT, CONTACT, FOOTER & UTILITY SECTIONS ---*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact .text-section p, .about .text-section p, .about-team .text-section p {
  display: flex;
  align-items: center;
  gap: 14px;
}

footer {
  background: var(--brand-primary);
  color: var(--brand-light);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: 0 -2px 18px 0 rgba(41,70,91,0.06);
  padding: 32px 0 0 0;
}
footer .container {
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--brand-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a:hover {
  text-decoration: underline;
}
footer address {
  font-style: normal;
  font-size: 1.07rem;
  color: #e7e2dc;
  margin-top: 10px;
  line-height: 1.7;
}
footer img {
  height: 54px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}


/*--- MISC: HEADINGS INSIDE FOOTER & POLICY SECTIONS ---*/
section.footer h1, section.footer h2 {
  color: var(--brand-secondary); 
}
section.footer {
  background: var(--brand-accent);
  color: var(--brand-dark);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 46px 14px;
}
section.footer .text-section {
  max-width: 780px;
}
@media (max-width: 800px) {
  section.footer {
    padding: 22px 4px;
    margin-bottom: 30px;
    border-radius: 13px;
  }
}

/*--- CTA Newsletter Section / General CTA Section ---*/
.cta-newsletter, .cta {
  background: var(--brand-primary);
  color: var(--brand-light);
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 4px 28px 0 rgba(41,70,91,0.10);
}
.cta-newsletter h2, .cta h2 {
  color: var(--brand-gold);
  font-size: 2.1rem;
  margin-bottom: 18px;
}
.cta-newsletter p, .cta p {
  color: var(--brand-light);
  margin-bottom: 18px;
  font-size: 1.23rem;
}

/*-- SPACING BETWEEN COMPONENTS ---*/
section + section {
  margin-top: 14px;
  margin-bottom: 60px;
}

/*--- LISTS IN TEXT ---*/
.text-section ul, .text-section ol {
  padding-left: 17px;
  margin-bottom: 14px;
  list-style-type: disc;
}
.text-section li {
  margin-bottom: 6px;
}

/*--- COOKIES: CONSENT BANNER & MODAL ---*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: var(--brand-primary);
  color: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 18px 24px;
  z-index: 299;
  box-shadow: 0 -2px 18px 0 rgba(41,70,91,0.11);
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: fadein-bottom .6s;
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--brand-secondary);
  color: var(--brand-light);
  border: none;
  border-radius: 100px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px 0 rgba(224,146,50,0.14);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--brand-gold);
  color: var(--brand-primary);
}
.cookie-banner .btn-settings {
  background: var(--brand-light);
  color: var(--brand-secondary);
  border: 2px solid var(--brand-secondary);
  padding: 8px 18px;
  margin-left: 8px;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: var(--brand-secondary);
  color: var(--brand-light);
}

/*--- COOKIES MODAL ---*/
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,70,91,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 20px;
  width: 100%;
  max-width: 410px;
  padding: 36px 28px 28px 28px;
  position: relative;
  box-shadow: 0px 8px 48px 6px rgba(41,70,91,0.20);
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: modal-in .35s;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: none;
  background: none;
  font-size: 1.7rem;
  color: var(--brand-secondary);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .modal-close:hover {
  color: var(--brand-gold);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--brand-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
}
.cookie-modal .cookie-category input[type=checkbox],
.cookie-modal .cookie-category input[type=radio] {
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category .always-on {
  color: var(--brand-secondary);
  font-size: 0.98rem;
  margin-left: 6px;
}
.cookie-modal .cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-modal .cookie-buttons button {
  background: var(--brand-secondary);
  color: var(--brand-light);
  border: none;
  border-radius: 100px;
  padding: 7px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .cookie-buttons button:hover,
.cookie-modal .cookie-buttons button:focus {
  background: var(--brand-gold);
  color: var(--brand-primary);
}

@keyframes fadein-bottom {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/*--- IMG ---*/
img {
  display: block;
  max-width: 100%;
  border-radius: 10px;
}
section img, .features img, .services img, .about img, .testimonials img {
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(41,70,91,0.04);
}

/*--- FORM ELEMENTS (if forms are present later) ---*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 13px;
  border: 1px solid #ede7df;
  border-radius: 11px;
  margin-bottom: 14px;
  background: var(--brand-light);
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
  outline: none;
}

/*--- TABLES (if present) ---*/
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 10px 12px;
  border: 1px solid #ede7df;
}
th {
  background: var(--brand-accent);
  color: var(--brand-dark);
}

/*--- RESPONSIVE ---*/
@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
}
@media (max-width: 900px) {
  header, .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 14px;
    gap: 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .container {
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
    min-width: 0;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
  .section, section { padding: 13px 6px; }
}

/*--- CUSTOM LUXURY EFFECTS ---*/
h1, h2, h3, h4 {
  text-shadow: 0 1.5px 5px rgba(198,167,100,0.10);
}
.cta.primary, .cta.secondary, .cookie-banner button, .cookie-modal .cookie-buttons button {
  box-shadow: 0 4px 14px 0 rgba(224,146,50,0.09);
}

.card, .testimonial-card, .features ul li, .services ul li {
  border: 1.5px solid #f2e7cb;
}
.card {
  border-left: 6px solid var(--brand-gold);
}

/*--- MICRO-INTERACTIONS ---*/
.cta, .card, .testimonial-card, .cookie-banner button {
  transition: box-shadow .19s, background-color .18s, color .19s, border-color .18s, transform .13s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.009);
  box-shadow: 0 8px 36px 0 rgba(198,167,100,0.13);
  border-color: var(--brand-gold);
}

/*--- SCROLLBAR ---*/
body::-webkit-scrollbar {
  width: 11px;
}
body::-webkit-scrollbar-thumb {
  background: var(--brand-accent);
  border-radius: 6px;
  border: 2px solid var(--brand-light);
}
body::-webkit-scrollbar-track {
  background: var(--brand-light);
}

/*--- FOCUS ---*/
a:focus, button:focus, input:focus, .cta:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

/*--- MINIMUM MARGINS BETWEEN ALL MAJOR BLOCKS ---*/
.card, .testimonial-card, .about, .services, .section, .features, .cta-newsletter, .cta, .features-contact, .about-team, .contact, .testimonials, .testimonials-team, .testimonials-participants {
  margin-bottom: 24px;
}
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/*--- CRITICAL FLEX WRAPPING FOR REPEATED COMPONENTS ---*/
.card-container, .content-grid, .features ul, .services ul, .footer-nav, .testimonials, .testimonials-team, .testimonials-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* Set flex-direction to column on mobile if many items */
@media (max-width: 700px) {
  .card-container, .content-grid, .features ul, .services ul, .footer-nav {
    flex-direction: column;
  }
}

/*--- ENSURE NO GRID or ABSOLUTE POSITIONING on content elements ---*/
/* Only allow absolute for modal close or icons */

/*--- Z-INDEX MANAGEMENT FOR OVERLAYS ---*/
.mobile-menu, .cookie-modal {
  z-index: 9000 !important;
}

/*--- END CSS ---*/
