/* ===== 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F6F7F9;
  color: #22313F;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
  transition: color 0.25s;
}
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* ===== BRAND & LUXURY STYLE VARIABLES ===== */
:root {
  --primary: #22313F;
  --secondary: #85B0A4;
  --accent: #FFFFFF;
  --gold: #CBA24C;
  --luxury-bg: #F6F7F9;
  --luxury-card: #FFFFFF;
  --luxury-shadow: 0 6px 36px rgba(34, 49, 63, 0.07), 0 1.2px 4px rgba(203, 162, 76, 0.10);
  --border-radius-lg: 18px;
  --border-radius-md: 12px;
  --border-radius-sm: 7px;
  --shadow-sm: 0 1px 6px rgba(34,49,63,0.06);
  --shadow-lg: 0 8px 40px rgba(34,49,63,0.13);
}

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: var(--luxury-bg);
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary);
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--primary);
}
strong, b {
  font-weight: 600;
}
.quote {
  font-style: italic;
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
  position: relative;
}
small {
  font-size: 0.9rem;
  color: var(--secondary);
}

/* ===== GENERAL CONTAINERS, SPACING, FLEX ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 12px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--border-radius-lg);
}
.section:last-child { margin-bottom: 0; }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--luxury-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--luxury-shadow);
  padding: 32px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) 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;
}
/* testimonials and features */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 28px 28px 22px 28px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--luxury-shadow);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
  border: 1.5px solid #efe2cb;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
}
.testimonial-card p {
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== HEADER & NAV ===== */
header {
  background: var(--accent);
  box-shadow: 0 3px 18px rgba(34, 49, 63, 0.07);
  z-index: 80;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.17s;
  padding: 2px 3px;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  outline: none;
}
header a.cta {
  display: inline-flex;
  align-items: center;
  padding: 0.8em 2em;
  border-radius: var(--border-radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  border: none;
  background: var(--gold);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.22s, box-shadow 0.25s;
  margin-left: 8px;
}
header a.cta.primary:hover,
header a.cta.primary:focus {
  background: #b8942e;
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(203,162,76,0.13);
  outline: none;
}
header .mobile-menu-toggle {
  background: var(--gold);
  border: none;
  color: var(--primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.7rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, color 0.18s;
  z-index: 1201;
}
header .mobile-menu-toggle:hover {
  background: #ddb656;
  color: #fff;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,63,0.80);
  z-index: 1300;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: opacity 0.32s;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  pointer-events: all;
  opacity: 1;
  animation: mobileMenuIn 0.36s cubic-bezier(.61,.71,.47,.99);
}
@keyframes mobileMenuIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
.mobile-nav {
  background: var(--luxury-card);
  width: 85vw;
  max-width: 370px;
  height: 100%;
  box-shadow: -4px 0 24px rgba(34,49,63,0.13);
  display: flex;
  flex-direction: column;
  padding: 34px 32px 24px 32px;
  gap: 18px;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.68,.15,.45,1.08);
  will-change: transform;
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 16px 0 0;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  z-index: 1;
}
.mobile-menu-close:hover {
  background: #ddb656;
  color: #fff;
}
.mobile-nav a {
  padding: 12px 6px;
  border-radius: var(--border-radius-sm);
  font-size: 1.17rem;
  font-weight: 500;
  color: var(--primary);
  transition: background 0.17s, color 0.15s;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--accent);
}

/* ===== HERO/BANNER ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius-lg);
  background: transparent;
  position: relative;
}
section .container {
  padding: 0;
}

/* ===== CARDS, FEATURES, GRIDS ===== */
.feature-grid, .usp-grid, .service-cards, .post-list, .case-study-blocks, .faq-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .usp-grid > div, .service-cards > div, .case-study-blocks > article, .faq-list > div, .testimonial-list > div, .post-list > article {
  background: var(--luxury-card);
  padding: 28px 20px 22px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--luxury-shadow);
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 350px;
  border: 1.5px solid #efe2cb;
  transition: box-shadow 0.24s, transform 0.23s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div:hover,
.u sp-grid > div:hover,
.service-cards > div:hover,
.case-study-blocks > article:hover,
.post-list > article:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img, .usp-grid img, .service-cards img {
  width: 40px;
  margin-bottom: 5px;
}

/* ===== TEAMS ===== */
.team-members-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.team-members-list li {
  background: var(--luxury-card);
  padding: 26px 24px 19px 24px;
  box-shadow: var(--luxury-shadow);
  border-radius: var(--border-radius-md);
  border: 1.5px solid #efe2cb;
}
.team-members-list h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ===== BLOG & CATEGORIES ===== */
.categories {
  margin-top: 10px;
  gap: 8px;
  display: flex;
  align-items: center;
}
.categories span {
  font-weight: 500;
  color: var(--primary);
}
.categories ul {
  display: flex;
  gap: 12px;
}
.categories li {
  font-size: 0.98rem;
  border-radius: var(--border-radius-sm);
  background: var(--secondary);
  color: #fff;
  padding: 5px 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  transition: background 0.14s, color 0.14s;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 0 0;
}
footer .container {
  padding: 0 18px;
}
.content-wrapper.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
footer img {
  margin-bottom: 14px;
}
footer p {
  font-size: 1rem;
  color: #dedede;
  margin-bottom: 10px;
}
footer small {
  color: #e9c884;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #e8e6e1;
  font-size: 1rem;
  margin-bottom: 0;
  transition: color 0.15s;
}
footer nav a:hover {
  color: var(--gold);
}
footer .content-wrapper.footer > div {
  min-width: 180px;
}

/* ===== CTA BUTTONS ===== */
.cta.primary {
  display: inline-flex;
  align-items: center;
  padding: 0.8em 2em;
  border-radius: var(--border-radius-md);
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--gold);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.17s;
  margin-top: 8px;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #b8942e;
  color: #fff;
  box-shadow: 0 4px 12px rgba(203,162,76,0.16);
  outline: none;
}

/* ===== FAQ ===== */
.faq-list > div h3 {
  color: var(--gold);
  font-size: 1.16rem;
  margin-bottom: 8px;
}

/* ===== CLIENT SHORT FEEDBACK ===== */
.client-feedback-short {
  font-style: italic;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  margin-top: 8px;
}

/* ===== MISC ===== */
hr {
  border: none;
  height: 1px;
  background: #efe2cb;
  margin: 32px 0;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  list-style-type: disc;
  color: var(--primary);
}

/* ===== LUXURY ACCENTS & DECORATIVE ===== */
.card, .feature-grid > div, .service-cards > div, .usp-grid > div, .testimonial-card {
  border-top: 4px solid var(--gold);
}

/* ===== MICRO-INTERACTIONS ===== */
a, .cta, button, .card, .feature-grid > div, .service-cards > div, .testimonial-card {
  transition: background 0.2s, color 0.18s, box-shadow 0.16s, border 0.18s;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .cta, .card, .feature-grid > div, .testimonial-card {
    transition-property: box-shadow, transform, background, color;
    transition-duration: 0.19s, 0.19s, 0.21s, 0.15s;
    transition-timing-function: cubic-bezier(.47,.83,.41,1);
  }
}

/* ===== RESPONSIVE ADAPTATIONS ===== */
@media (max-width: 980px) {
  .content-wrapper.footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .usp-grid, .post-list, .testimonial-list, .case-study-blocks, .faq-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.1rem; }
  body { font-size: 15px; }
  header nav, header a.cta {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 96vw;
  }
  .content-wrapper, .text-section, .content-grid {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  section {
    padding: 27px 6px;
    margin-bottom: 40px;
  }
  .card,
  .feature-grid > div,
  .usp-grid > div,
  .service-cards > div,
  .faq-list > div,
  .testimonial-card,
  .case-study-blocks > article {
    padding: 19px 10px 16px 10px;
    min-width: unset;
    max-width: unset;
  }
}
@media (max-width: 600px) {
  .card,
  .feature-grid > div,
  .usp-grid > div,
  .service-cards > div,
  .testimonial-card,
  .case-study-blocks > article {
    margin-bottom: 16px;
  }
  .footer nav {
    flex-direction: column;
    gap: 7px;
  }
}

/* ===== ACCESSIBLE TRANSITIONS ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--luxury-card);
  color: var(--primary);
  padding: 24px 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 -3px 18px rgba(34, 49, 63, 0.12);
  z-index: 1400;
  border-top: 2px solid var(--gold);
  transition: transform 0.33s cubic-bezier(.57,.27,.53,1), opacity 0.22s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0%);
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 0px;
}
.cookie-banner button {
  padding: 0.7em 1.4em;
  border-radius: var(--border-radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--gold);
  color: #fff;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-banner button.settings {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-banner button.reject {
  background: #BBC5BD;
  color: var(--primary);
}
.cookie-banner button:focus {
  outline: 2px solid var(--gold);
}
.cookie-banner button:hover {
  background: #af8f36;
}

/* ==== Cookie Preferences Modal ==== */
.cookie-modal {
  position: fixed;
  left: 50vw;
  top: 52vh;
  min-width: 340px;
  max-width: 95vw;
  background: var(--luxury-card);
  color: var(--primary);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 48px rgba(34,49,63,0.18);
  z-index: 1500;
  padding: 40px 30px 30px 30px;
  transform: translate(-50%, -50%) scale(0.91);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 17px;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F7F9;
  border-radius: var(--border-radius-sm);
  padding: 12px 19px;
  margin-bottom: 7px;
  min-width: 220px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 41px;
  height: 24px;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #BBC5BD;
  border-radius: 20px;
  transition: background 0.18s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: var(--gold);
}
.cookie-toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 4px rgba(34,49,63,0.10);
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider:before {
  transform: translateX(17px);
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cookie-modal .cookie-btns button {
  padding: 0.7em 1.4em;
  border-radius: var(--border-radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--gold);
  color: #fff;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal .cookie-btns button.cancel {
  background: #BBC5BD;
  color: var(--primary);
}
.cookie-modal .cookie-btns button:hover {
  background: #b8942e;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 23px 10px 18px 10px;
    min-width: unset;
  }
}

/* ==== Helpers ==== */
.hidden { display: none !important; }
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ===== END ===== */
