/* CSS Reset and Normalize */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #FBF8F3;
  color: #17222a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #22697A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #BFA052;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.25em;
}
ul ul, ol ol {
  margin-bottom: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
}

/* Luxury Premium Variables & Fallbacks */
:root {
  --color-primary: #22697A;
  --color-secondary: #4CA476;
  --color-accent: #FBF8F3;
  --color-gold: #BFA052;
  --color-bg-dark: #202B33;
  --color-text: #17222a;
  --color-card: #fff;
  --color-muted: #6B7C87;
  --color-border: #e4dfcf;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

html, body {
  height: 100%;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 500;
}
h4 {
  font-size: 1.1rem;
  font-weight: 400;
}
p, li {
  font-family: var(--font-body);
  color: var(--color-text);
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 400;
}
strong, b {
  color: var(--color-primary);
}

/* Layout spacing (MANDATORY patterns) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(32, 43, 51, 0.13);
  padding: 32px;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32,43,51,0.18);
}
.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-radius: 16px;
  box-shadow: 0 2px 12px rgba(191,160,82,0.09);
  border-left: 4px solid var(--color-gold);
  margin-bottom: 24px;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(191,160,82,0.1);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Header & Navigation */
header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 500;
  position: relative;
  transition: background .15s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-gold);
}
.main-nav .cta-button {
  font-weight: 700;
  background: var(--color-gold);
  color: #fff;
  border-radius: 24px;
  padding: 10px 26px;
  margin-left: 18px;
  transition: background .18s, color .13s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(191,160,82,0.09);
}
.main-nav .cta-button:hover, .main-nav .cta-button:focus {
  background: var(--color-primary);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-gold);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  margin-left: 12px;
  z-index: 1200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,105,122, 0.97);
  box-shadow: 0 16px 28px 0 rgba(32,43,51,0.07);
  z-index: 1201;
  transform: translateX(-110vw);
  transition: transform .35s cubic-bezier(.77,0,.18,1);
  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 {
  align-self: flex-end;
  font-size: 2.125rem;
  color: #fff;
  background: transparent;
  margin: 18px 24px 10px 0;
  cursor: pointer;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(191,160,82, 0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 36px;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  display: block;
  padding: 13px 0 11px 0;
  border-radius: 10px;
  transition: background .12s, color .11s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: rgba(255,255,255,0.06);
}

/* Hero Section & CTA Buttons */
.hero {
  background: linear-gradient(113deg, #FBF8F3 80%, #bfa05208 100%);
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-gold);
}
.hero .content-wrapper {
  max-width: 570px;
}
.cta-button {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 28px;
  padding: 12px 36px;
  margin-top: 18px;
  margin-bottom: 4px;
  box-shadow: 0 4px 12px rgba(191,160,82,0.08);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background .19s, color .13s, transform .13s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(34,105,122, 0.09);
}

/* Features, Benefits, About, Cards */
.features ul,
.services-preview ul,
.about-preview ul,
.benefits ul,
.team ul,
.services ul,
.local-area ul {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 20px;
}
.features ul li,
.services-preview ul li,
.benefits ul li,
.team ul li,
.services ul li,
.local-area ul li {
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 345px;
  background: var(--color-card);
  border-radius: 14px;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 2px 8px 0 rgba(34,105,122,0.03);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-left: 4px solid var(--color-gold);
  transition: box-shadow .13s;
}
.features ul li:hover,
.services-preview ul li:hover {
  box-shadow: 0 6px 18px rgba(191,160,82,0.12);
}
.features ul li img,
.services-preview ul li img,
.benefits ul li img,
.team ul li img,
.services ul li img,
.local-area ul li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* General Section Styles */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Testimonials and Reviews */
.testimonials, .testimonials-preview {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.testimonial-card {
  background: #fff;
  color: #1a2430;
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 3px 14px rgba(191, 160, 82, 0.10);
}
.testimonial-meta {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-primary);
}
.testimonial-summary {
  font-size: 1.15rem;
  margin-top: 18px;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 16px 20px;
  color: #1a2430;
  border-left: 5px solid var(--color-gold);
  font-family: var(--font-display);
}

/* Cards, Content Blocks */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Footer */
footer {
  background: #202B33;
  color: #fff;
  padding: 40px 0 32px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  gap: 24px;
  flex: 1 1 320px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: #D8D2C7;
  flex: 1 1 300px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #E7E5E1;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-social {
  display: flex;
  gap: 20px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  transition: filter .18s, opacity .16s;
  opacity: 0.82;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.15) drop-shadow(0 0 4px var(--color-gold));
  opacity: 1;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -2px 16px 0 rgba(191,160,82,0.12);
  padding: 24px 20px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 2000;
  font-size: 1.03rem;
  animation: cookieBannerIn .5s cubic-bezier(.74,0,.2,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  background: var(--color-primary);
  color: #fff;
  border-radius: 24px;
  padding: 12px 28px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 4px 0 0;
  transition: background .15s, color .13s, box-shadow .17s;
  box-shadow: 0 2px 5px rgba(34,105,122,0.10);
}
.cookie-btn.accept {
  background-color: var(--color-gold);
}
.cookie-btn.settings {
  background-color: var(--color-secondary);
}
.cookie-btn.reject {
  background-color: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(34,105,122,0.15);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background-color: var(--color-gold);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background-color: var(--color-secondary);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background-color: var(--color-gold);
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translate(-50%, 60px) scale(0.98);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(34,105,122, .14);
  z-index: 2010;
  min-width: 324px;
  max-width: calc(100vw - 40px);
  padding: 36px 28px 30px 28px;
  display: none;
  flex-direction: column;
  gap: 14px;
  border: 2px solid var(--color-gold);
  animation: cookieModalIn .23s cubic-bezier(.53,.01,.2,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookieModalIn {
  0% { opacity:0; transform: translate(-50%,80px) scale(0.9); }
  100% { opacity:1; transform: translate(-50%,60px) scale(1); }
}
.cookie-modal__title {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.cookie-modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 1.45rem;
  background: transparent;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.01rem;
  margin-bottom: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #eae6d7;
  border-radius: 11px;
  position: relative;
  transition: background .17s;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-gold);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: left .17s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-category-info {
  font-size: 0.97rem;
  color: var(--color-muted);
  margin-left: 5px;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}

/* Forms, Contact Block */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--color-primary);
}
.map-location {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Confirmation Section */
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
}

/* Legal/Statics Pages */
.legal .text-section h2 {
  color: var(--color-gold);
  font-size: 1.13rem;
  margin-bottom: 9px;
  margin-top: 18px;
  font-weight: 500;
}
.legal .text-section ul li {
  list-style: disc inside;
  margin-left: 1em;
  margin-bottom: 6px;
  color: var(--color-primary);
}

/* Animations & Transitions for Micro-interactions */
.cta-button, .main-nav .cta-button, .cookie-btn {
  transition: background .17s, color .13s, transform .13s, box-shadow .17s;
}
.card, .testimonial-card, .features ul li {
  transition: box-shadow .13s;
}

/* Responsive Styles (Mobile-First) */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  section {
    padding: 32px 0 30px 0;
  }
  .footer-contact, .footer-menu {
    flex: 1 1 210px;
  }
  .features ul, .services-preview ul, .benefits ul, .team ul, .services ul, .local-area ul {
    flex-direction: column;
    gap: 20px;
  }
  .footer-social {
    margin-top: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cookie-modal {
    min-width: 98vw;
    padding: 26px 10px 20px 10px;
    left: 50%;
    transform: translate(-50%, 60px) scale(0.98);
  }
}

/* Utilities */
.mb-0 { margin-bottom: 0!important; }
.mt-0 { margin-top: 0!important; }
.mt-1 { margin-top: 1rem!important; }
.mb-1 { margin-bottom: 1rem!important; }

.hide { display: none !important; }

/* Luxurious Accents */
hr {
  border: none;
  border-top: 2px solid var(--color-gold);
  margin: 36px 0;
}

/* Focus Styles (Accessibility) */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Z-Index specific layering */
header { z-index: 1000; }
.mobile-menu { z-index: 1201; }
.cookie-banner, .cookie-modal { z-index: 2000; }

/* Prevent overlap */
section, .footer-contact, .footer-menu, .testimonial-card, .card, .features ul li, .services-preview ul li {
  margin-bottom: 20px;
}

/* End of CSS */
