/* =============================
   CSS RESET & NORMALIZE
============================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAFAFA;
  color: #223A5E;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* =============================
   COLOR VARIABLES & THEMING
============================= */
:root {
  --brand-primary: #223A5E;
  --brand-secondary: #3AC1CC;
  --brand-accent: #FAFAFA;
  --luxury-gold: #C8A247;
  --luxury-gold-dark: #AA8741;
  --neutral-dark: #1B263B;
  --neutral-light: #F6F6F6;
  --neutral-grey: #D7D9DD;
  --text-main: #223A5E;
  --text-contrast: #FAFAFA;
  --shadow-main: 0 4px 32px rgba(34,58,94,0.06), 0 1.5px 6px rgba(200,162,71,0.10);
}

/* =============================
   TYPOGRAPHY
============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.75em;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.15rem;
}

p, ul, ol, li, a, strong, em {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
p, ul, ol {
  margin-bottom: 1.3em;
}
strong {
  font-weight: 600;
}
a {
  color: var(--brand-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--luxury-gold);
  text-decoration: underline;
}

.subheadline {
  font-size: 1.17rem;
  font-weight: 500;
  color: var(--neutral-dark);
  margin-bottom: 1em;
}

/* =============================
   LUXURY STYLE DETAILS
============================= */
.luxury-gold {
  color: var(--luxury-gold);
}
.gold-underline {
  position: relative;
  display: inline-block;
}
.gold-underline:after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.25em;
  width: 100%;
  height: 3px;
  background: var(--luxury-gold);
  border-radius: 1.5px;
}

/* =============================
   LAYOUT CONTAINERS
============================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section,
.hero-section,
.cta-section,
.features-section,
.about-section,
.services-section,
.testimonials-section,
.legal-section,
.thankyou-section,
.contact-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.28s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 40px rgba(200,162,71,0.09), 0 1.5px 8px var(--luxury-gold-dark);
  z-index: 2;
}
.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: #fff;
  border-left: 6px solid var(--luxury-gold);
  border-radius: 10px;
  box-shadow: 0 1.5px 8px rgba(34,58,94,0.05);
  margin-bottom: 20px;
  min-width: 270px;
  color: var(--text-main);
}
.testimonial-card p {
  color: #222843;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: var(--luxury-gold-dark);
}

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

/* =============================
   HEADER & NAVIGATION
============================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 0 8px rgba(34,58,94,0.1);
  position: sticky;
  top: 0;
  z-index: 25;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
  max-width: 155px;
  margin-right: 28px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: var(--brand-primary);
  padding: 6px 0;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.18s;
  position: relative;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  color: var(--luxury-gold);
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--brand-primary);
  color: var(--text-contrast);
  border: none;
  border-radius: 38px;
  padding: 12px 34px;
  font-size: 1.08rem;
  font-weight: 600;
  margin-left: 22px;
  letter-spacing: 0.04em;
  box-shadow: 0 1.5px 9px rgba(34,58,94,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.28s;
  cursor: pointer;
  outline: none;
  text-align: center;
  border-bottom: 3px solid var(--luxury-gold);
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  background: var(--luxury-gold);
  color: var(--brand-primary);
  box-shadow: 0 4px 44px 0 var(--luxury-gold-dark, #AA8741);
}

/* Hamburger/mobile nav button */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: var(--luxury-gold);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  position: relative;
  z-index: 51;
  margin-left: 8px;
  cursor: pointer;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--luxury-gold);
  color: var(--brand-primary);
}

/* =============================
   MOBILE MENU OVERLAY
============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,58,94,0.96);
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.86,.22,.37,.87);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--luxury-gold);
  border: none;
  font-size: 2.3rem;
  align-self: flex-end;
  padding: 16px 28px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 36px 36px 0 38px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.27rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  width: 100%;
  padding: 10px 0;
  transition: color 0.2s, border-bottom 0.23s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--luxury-gold);
  border-bottom: 2px solid var(--luxury-gold);
}

/* Hide main nav / show burger on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  header img {
    height: 36px;
    max-width: 108px;
  }
  .mobile-nav {
    font-size: 1.09rem;
    padding: 30px 18px 0 22px;
  }
  .mobile-menu-close {
    font-size: 1.7rem;
    padding-right: 16px;
  }
}

/* =============================
   HERO & CTA SECTIONS
============================= */
.hero-section {
  background: linear-gradient(130deg, #FAFAFA 56%, #F6EFE6 98%);
  border-bottom: 3px solid var(--luxury-gold);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 600px;
}
.cta-section {
  background: #fff;
  border-top: 2.5px solid var(--luxury-gold);
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(200,162,71,0.07);
  text-align: center;
  align-items: center;
}
.cta-section .cta-button {
  margin-left: 0;
  margin-bottom: 12px;
}

/* =============================
   FEATURES, SERVICES, GRIDS
============================= */
.features-section .feature-grid,
.features-section .usps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-section .feature,
.usps-grid .usp {
  background: #fff;
  border: 1.5px solid var(--neutral-grey);
  box-shadow: 0 3px 16px rgba(34,58,94,0.04);
  border-radius: 14px;
  padding: 30px 22px 24px 22px;
  flex: 1 1 290px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, border-color 0.22s;
}
.features-section .feature:hover,
.usps-grid .usp:hover {
  border-color: var(--luxury-gold);
  box-shadow: 0 7px 28px 0 rgba(200,162,71,0.13);
}
.features-section .feature img,
.usps-grid .usp img {
  height: 42px;
  width: auto;
  margin-bottom: 10px;
}

.services-section .services-list,
.services-section .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-section .service,
.services-section .service-detail {
  background: #fff;
  border-radius: 13px;
  border-left: 5px solid var(--luxury-gold);
  box-shadow: 0 3px 20px 0 rgba(34,58,94,0.04);
  padding: 28px 18px;
  min-width: 260px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.services-section .service strong,
.service-detail .price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--luxury-gold-dark);
  letter-spacing: 0.03em;
  font-weight: 600;
  font-size: 1.13rem;
}

.benefits-list {
  list-style: disc inside;
  margin-left: 1.2rem;
  color: var(--brand-primary);
  padding-left: 0.7rem;
}
.benefits-list li {
  font-size: 1.07rem;
  margin-bottom: 10px;
}

.team-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,58,94,0.04);
  border-radius: 10px;
  padding: 30px 20px 24px;
}
.brand-story, .our-values {
  margin-top: 10px;
  padding-left: 8px;
}

/* Blog Posts */
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.blog-post-list article {
  background: #fff;
  border: 1.4px solid var(--neutral-grey);
  border-radius: 13px;
  box-shadow: 0 3px 16px 0 rgba(200,162,71,0.08);
  flex: 1 1 320px;
  min-width: 228px;
  padding: 22px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.blog-post-list article h3 {
  color: var(--brand-primary);
  font-size: 1.15rem;
  margin-bottom: 0.35em;
}
.blog-post-list article a {
  color: var(--luxury-gold-dark);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
}
.blog-post-list article a:hover {
  color: var(--brand-secondary);
}

/* =============================
   TESTIMONIALS & REVIEWS
============================= */
.testimonials-section .testimonial-slider,
.testimonials-section .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}
.client-logos img {
  height: 36px;
  width: auto;
  filter: grayscale(40%) brightness(0.93);
  mix-blend-mode: multiply;
}

/* =============================
   GENERIC CARD & SECTION SPACING
============================= */
.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;
}

/* =============================
   LISTS & DETAILS & FOOTERS
============================= */
ul, ol {
  padding-left: 23px;
  margin-bottom: 1.3em;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 7px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--luxury-gold);
}
.footer-info {
  margin-top: 16px;
  color: var(--neutral-dark);
  font-size: 0.97rem;
}
footer {
  background: #fff;
  border-top: 2.5px solid var(--luxury-gold);
  margin-top: 42px;
  padding: 34px 0 18px;
  width: 100%;
  box-shadow: 0 -2px 12px rgba(34,58,94,0.04);
}
footer .container {
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* =============================
   LEGAL PAGES & THANK YOU
============================= */
.legal-section, .thankyou-section {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 3px 22px rgba(34,58,94,0.06);
  color: var(--brand-primary);
}
.legal-section .text-section {
  padding-top: 14px;
}

/* =============================
   COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(34,58,94,0.10);
  border-top: 2px solid var(--luxury-gold);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 23px 40px 19px 22px;
  gap: 18px;
  font-size: 1rem;
  color: var(--brand-primary);
  transition: transform 0.36s, opacity 0.33s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner .cookie-banner-text {
  margin-right: 23px;
  flex: 1 1 330px;
}
.cookie-banner .cookie-btn {
  background: var(--brand-primary);
  color: var(--text-contrast);
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 27px;
  margin-left: 8px;
  margin-bottom: 2px;
  letter-spacing: 0.015em;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(34,58,94,0.09);
  transition: background 0.23s, color 0.23s;
}
.cookie-banner .cookie-btn.reject {
  background: #eee;
  color: var(--brand-primary);
  border: 1.2px solid var(--luxury-gold);
}
.cookie-banner .cookie-btn.settings {
  background: var(--luxury-gold);
  color: var(--brand-primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--luxury-gold);
  color: var(--brand-primary);
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #e9e2d2;
  color: var(--brand-primary);
}

/* Cookie modal popup styling */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  z-index: 10001;
  box-shadow: 0 14px 88px 0 rgba(34,58,94,0.27);
  border-radius: 22px;
  padding: 44px 32px 32px;
  min-width: 310px;
  min-height: 275px;
  max-width: 92vw;
  transition: opacity 0.27s, transform 0.27s;
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-46%) scale(0.93);
}
.cookie-modal h2 {
  font-size: 1.31rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.cookie-modal .cookie-category-list {
  margin: 10px 0 17px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.cookie-modal .cookie-toggle {
  width: 40px;
  height: 24px;
  border-radius: 14px;
  background: var(--neutral-grey);
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal .cookie-toggle.on {
  background: var(--luxury-gold);
}
.cookie-modal .cookie-toggle-switch {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle.on .cookie-toggle-switch {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 7px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-btn.save {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-modal .cookie-btn.cancel {
  background: #eee;
  color: var(--brand-primary);
  border: 1px solid var(--luxury-gold);
}

.overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  z-index: 10000;
  width: 100vw; height: 100vh;
  background: rgba(34,58,94,0.44);
}
.overlay.active {
  display: block;
}

/* =============================
   RESPONSIVE LAYOUTS
============================= */
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .features-section .feature-grid,
  .features-section .usps-grid,
  .services-section .services-list,
  .services-section .service-list,
  .blog-post-list,
  .testimonials-section .testimonial-list,
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, .hero-section, .cta-section, .features-section, .about-section, .services-section, .testimonials-section, .legal-section, .thankyou-section, .contact-section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .hero-section .content-wrapper {
    max-width: 100%;
    gap: 11px;
  }
  .card, .features-section .feature, .usps-grid .usp, .services-section .service, .services-section .service-detail, .team-section, .blog-post-list article {
    padding: 19px 11px 15px 11px;
  }
  .footer-nav {
    gap: 13px;
    font-size: 0.99rem;
  }
  .content-grid, .testimonial-slider, .testimonial-list, .client-logos {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 13px 12px 13px;
    gap: 10px;
    font-size: 0.99rem;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .card, .features-section .feature, .usps-grid .usp, .services-section .service, .services-section .service-detail, .team-section, .blog-post-list article {
    padding: 14px 4px 10px 4px;
  }
  .cookie-modal {
    padding: 24px 7px 17px 7px;
    min-width: 99vw;
    max-width: 99vw;
  }
}

/* =============================
   MICRO-INTERACTIONS & EFFECTS
============================= */
.card, .testimonial-card, .feature, .service, .service-detail, .blog-post-list article {
  transition: box-shadow 0.26s, border-color 0.22s;
}
.card:hover, .testimonial-card:hover, .feature:hover, .service:hover, .service-detail:hover, .blog-post-list article:hover {
  box-shadow: 0 7px 22px var(--luxury-gold-dark, #AA8741, 0.11);
  border-color: var(--luxury-gold);
}

.cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
}

/* Focus style for accessibility */
a:focus, .cta-button:focus, button:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2.5px solid var(--luxury-gold-dark);
  outline-offset: 2px;
  border-radius: 5px;
}

/* =============================
   MISC & UTILITY CLASSES
============================= */
.muted {
  color: #888d9d;
}
.highlighted-articles {
  background: #F6EFE6;
  border-left: 4px solid var(--luxury-gold);
  border-radius: 6px;
  padding: 12px 20px;
  color: #223A5E;
  font-weight: 500;
  margin-top: 15px;
}
.key-results {
  font-weight: 600;
  color: var(--luxury-gold-dark);
  font-size: 1.07rem;
  margin-top: 12px;
  margin-bottom: 10px;
}

/* =============================
   PRINT & IMAGE TREATMENT
============================= */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* =============================
   HIDE ON MOBILE CLASSES
============================= */
@media (max-width: 950px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 951px) {
  .hide-desktop {
    display: none !important;
  }
}
