/* --- 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,
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 { -webkit-text-size-adjust: 100%; }
body { line-height: 1; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }


/* --- FONT IMPORTS (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');


/* --- CUSTOM PROPERTIES --- */
:root {
  --color-primary: #22213A;
  --color-secondary: #3FA6C4;
  --color-accent: #F2F6FA;
  --color-gold: #C3A663;
  --color-gold-light: #ECDFA5;
  --color-dark: #181728;
  --color-white: #fff;
  --color-shadow: rgba(34,33,58,0.10);
  --section-spacing: 60px;
  --container-width: 1240px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 6px 36px rgba(34,33,58,0.11);
  --shadow-sm: 0 2px 12px rgba(34,33,58,0.08);
  --transition: all 0.3s cubic-bezier(.7,.3,.1,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}


/* --- BASE TYPOGRAPHY --- */
body {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 12px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.06rem; }
p { margin-bottom: 16px; }

strong, b { font-weight: 700; }

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


/* --- BUTTONS / CTA --- */
.cta-btn, .cta-btn:visited {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--color-primary);
  color: var(--color-gold);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 13px 36px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(34,33,58,0.11);
  margin-top: 14px;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: 2px solid var(--color-gold);
  cursor: pointer;
  text-transform: uppercase;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px 0 rgba(195,166,99,0.13);
}

/* --- GLOBAL LINKS --- */
a, a:visited {
  color: var(--color-secondary);
  text-underline-offset: 4px;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-gold);
}


/* --- LUXURY DIVIDER LINE --- */
hr {
  border: none;
  border-top: 1.5px solid var(--color-gold);
  margin: 36px 0;
}


/* --- CONTAINER & SECTION --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}


/* --- HEADER --- */
header {
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-bottom: 1.5px solid var(--color-gold-light);
  padding: 0;
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 22px;
}
header img {
  height: 44px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border 0.2s;
  letter-spacing: 0.02em;
  position: relative;
}
header nav a:hover,
header nav a:focus,
header nav a.active {
  color: var(--color-gold);
  border-bottom: 2.5px solid var(--color-gold);
}
header .cta-btn {
  margin-left: 12px;
  margin-top: 0;
  font-size: 1rem;
  padding: 10px 28px;
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 11px;
  }
  header nav {
    gap: 13px;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 130;
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  color: var(--color-primary);
  font-size: 2rem;
  box-shadow: 0 1px 10px rgba(34,33,58,0.09);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-gold-light);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-gold);
  z-index: 200;
  padding: 40px 30px 22px 32px;
  box-shadow: 2px 0 24px rgba(34,33,58,0.16);
  transform: translateX(-120%);
  transition: transform 0.36s cubic-bezier(.77,.17,.19,1.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-gold);
  margin-bottom: 32px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.21s, border 0.19s;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 1.5px solid var(--color-secondary);
  background: rgba(63,166,196,0.10);
}

@media (max-width: 960px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 961px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* --- MAIN CONTENT AREA --- */
main, .main {
  width: 100%;
  margin-top: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0;
  margin: 0 auto;
  width: 100%;
}

/* Spacing Patterns - Always enforce margins between sections/cards */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(195,166,99,0.13);
}
.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;
}

/* Responsive alignment rules */
@media (max-width: 768px) {
  .section {
    padding: 24px 4px;
    margin-bottom: 36px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 8px;
  }
}


/* --- FEATURE / SERVICE CARD DESIGN --- */
.service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  flex: 1 1 310px;
  min-width: 290px;
  max-width: 390px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px 22px 28px;
  margin-bottom: 20px;
  border: 1.5px solid var(--color-gold-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.23s, box-shadow 0.23s, transform 0.23s;
}
.service-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 36px 0 rgba(195,166,99,0.15);
  transform: translateY(-3px) scale(1.012);
}
.service-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: var(--color-primary);
  font-weight: 600;
}
.service-card p {
  color: var(--color-dark);
  font-size: 1.06rem;
  margin-bottom: 12px;
}
.service-card > div:last-child {
  margin-top: auto;
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 1.13rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .service-card {
    min-width: 210px;
  }
}
@media (max-width: 900px) {
  .service-card-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-card {
    max-width: 100%;
    width: 100%;
    padding: 22px 12px;
  }
}


/* --- LISTS (FEATURE/OVERVIEWS/VALUES) --- */
ul, ol {
  margin-left: 0;
  list-style: none;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.03rem;
  color: var(--color-dark);
  margin-bottom: 14px;
  padding-left: 0;
  min-height: 42px;
}
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 3px;
}


/* --- TESTIMONIALS / QUOTES --- */
.testimonial-card {
  background: var(--color-white);
  border-left: 6px solid var(--color-gold);
  border-radius: var(--radius) var(--radius-sm) var(--radius-sm) var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  max-width: 670px;
  color: var(--color-dark);
  font-size: 1.12rem;
  font-style: italic;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 36px 0 rgba(34,33,58,0.11);
}
.testimonial-card span {
  font-size: 0.98rem;
  font-style: normal;
  color: var(--color-secondary);
  margin-left: 8px;
  font-family: var(--font-display);
}


/* --- NEWS TAGS --- */
.tag {
  display: inline-block;
  background: var(--color-gold-light);
  color: var(--color-primary);
  border-radius: 50px;
  padding: 4px 15px;
  font-size: 0.94rem;
  font-family: var(--font-display);
  font-weight: 500;
  margin-right: 7px;
  margin-top: 4px;
  margin-bottom: 6px;
  border: 1.2px solid var(--color-gold);
}


/* --- CARDS GENERIC --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px 20px 20px;
}


/* --- CONTACT DETAILS --- */
.text-section {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section a {
  color: var(--color-secondary);
  font-weight: 500;
  word-break: break-all;
  transition: color .16s;
}
.text-section a:hover,
.text-section a:focus {
  color: var(--color-gold);
  text-decoration: underline;
}


/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-gold);
  padding: 32px 0 14px 0;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
footer nav a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.95;
  transition: color 0.17s, opacity 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
footer p {
  font-size: 1rem;
  opacity: 0.78;
  font-family: var(--font-body);
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  footer nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}


/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 -4px 32px rgba(34,33,58,0.13);
  border-top: 1.5px solid var(--color-gold);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 26px 27px 22px 20px;
  font-size: 1.02rem;
  gap: 22px;
  transition: transform 0.3s cubic-bezier(.7,.3,.1,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.btn-cookie {
  background: var(--color-primary);
  color: var(--color-gold);
  border: 1.7px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 1rem;
  font-family: var(--font-display);
  cursor: pointer;
  margin: 0 2px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.20s, color 0.17s, border 0.17s;
}
.btn-cookie:hover,
.btn-cookie:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border: 1.7px solid var(--color-primary);
}
.btn-cookie.settings {
  background: var(--color-white);
  color: var(--color-gold);
  border: 1.7px solid var(--color-gold);
  margin-left: 7px;
}
.btn-cookie.settings:hover {
  background: var(--color-gold-light);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 18px 6px 12px 6px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10005;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,33,58,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(.77,.3,.13,.95);
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 16px 60px 0 rgba(34,33,58,0.17);
  padding: 40px 30px 28px 30px;
  max-width: 410px;
  min-width: 280px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  margin: 24px;
}
.cookie-modal h2 {
  margin-bottom: 7px;
  font-size: 1.27rem;
  color: var(--color-primary);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  font-size: 1.07rem;
}
.category .toggle {
  accent-color: var(--color-gold);
  width: 19px;
  height: 19px;
  margin-right: 4px;
  cursor: pointer;
}
.category.essential .toggle {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 5px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.73rem;
  color: var(--color-primary);
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: var(--color-gold);
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 28px 8px 18px 12px;
    min-width: 0;
  }
}


/* --- MICRO-INTERACTIONS / HOVER ANIMATIONS --- */
.cta-btn, .btn-cookie {
  box-shadow: var(--shadow-sm);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, border 0.16s;
}
.card, .service-card {
  transition: border 0.18s, box-shadow 0.17s, transform 0.13s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 10px 24px 0 rgba(195,166,99,0.12);
  transform: translateY(-1.5px) scale(1.01);
}


/* --- UTILITIES --- */
.hide { display: none !important; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-40 { margin-bottom: 40px !important; }
.rounded { border-radius: var(--radius-sm); }


/* --- HIGH CONTRAST ON TESTIMONIALS/REVIEWS --- */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #1a1a23;
  background: #fff;
}

/* Blockquote (optional) */
blockquote {
  color: var(--color-primary);
  font-size: 1.13rem;
  background: var(--color-accent);
  border-left: 4px solid var(--color-gold);
  padding: 14px 18px;
  margin: 22px 0;
  border-radius: var(--radius-sm);
}


/* --- FORM ELEMENTS (minimal for contact) --- */
input, textarea, select {
  font-family: var(--font-body);
  border: 1.5px solid var(--color-gold-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 1rem;
  background: var(--color-white);
  margin-bottom: 16px;
  transition: border 0.15s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-gold);
  outline: none;
}
button, input[type="submit"] {
  font-family: var(--font-display);
  font-size: 1rem;
}


/* --- MEDIA QUERIES: Major breakpoints --- */
@media (max-width: 540px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.00rem; }
  .section { padding: 18px 2px; }
  .content-wrapper { gap: 11px; }
}

/* --- Luxury detail pseudo elements for sections/cards --- */
.section, .card, .service-card {
  position: relative;
}
.section:after, .card:after, .service-card:after {
  content: "";
  position: absolute;
  left: 38px;
  top: 15px;
  width: 32px;
  height: 3px;
  border-radius: 1.7px;
  background: var(--color-gold-light);
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 600px) {
  .section:after, .card:after, .service-card:after {
    left: 12px;
    top: 6px;
    width: 16px;
  }
}


/* --- Accessibility: focus indicators --- */
a:focus, button:focus, .cta-btn:focus, input:focus, .btn-cookie:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

section {
  padding: 15px;
}
/* --- Hide decorative pseudo line on last section/card (optional) --- */
.section:last-of-type:after, .card:last-of-type:after, .service-card:last-of-type:after { display: none; }
