/* ---------------------------------------
   CSS RESET & NORMALIZE
---------------------------------------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  background: #F9F9F9;
  color: #204060;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}
body {
  min-height: 100vh;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #204060;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol { margin-bottom: 18px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 8px; }
a { color: #204060; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #E5A022; outline: none; } 

/* ---------------------------------------
   BRANDED, 'CREATIVE_ARTISTIC' LAYOUT
---------------------------------------- */
:root {
  --color-primary: #204060; /* deep blue */
  --color-secondary: #F9F9F9; /* off-white */
  --color-accent: #E5A022; /* warm gold */
  --color-light: #fff;
  --color-dark: #1a2536;
  --color-shadow: rgba(32,64,96,0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px 0 var(--color-shadow);
  --transition: 0.22s cubic-bezier(.56,0,.21,1);
}

body {
  background: linear-gradient(120deg, #f4ede2 0%, #f9f9f9 50%, #e6ecf4 100%);
  min-height: 100vh;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------------------------------------
   HEADER & NAVIGATION
---------------------------------------- */
header {
  background: var(--color-primary);
  color: var(--color-light);
  box-shadow: 0 4px 28px 0 rgba(32,64,96,0.12);
  position: sticky;
  top: 0;
  z-index: 70;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 48px;
  width: auto;
  vertical-align: middle;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px -4px var(--color-shadow);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0%;
  background: var(--color-accent);
  border-radius: 3px;
  transition: all 0.25s;
  margin-top: 4px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
}
.cta.primary, .cta.secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(229,160,34,0.17);
  border: none;
  outline: none;
  transition: background 0.23s, color 0.13s, box-shadow 0.16s;
  text-align: center;
  cursor: pointer;
  min-width: 180px;
  margin-left: 20px;
  font-size: 1.07rem;
  letter-spacing: 0.01em;
}
.cta.primary {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 4px 22px 0 rgba(229,160,34,0.13);
}
.cta.primary:hover, .cta.primary:focus {
  background: #d89915;
  color: #fff;
}
.cta.secondary {
  background: var(--color-light);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-primary);
  color: var(--color-light);
}
.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 22px;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 transparent;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #fff2df;
}

/* ---------------------------------------
   MOBILE MENU
---------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  color: #fff;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.68,-0.5,.44,1.37);
  padding: 0 0 32px 0;
  min-height: 100vh;
  box-shadow: -7px 0 40px 0 #0002;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--color-accent);
  font-size: 2.5rem;
  border: none;
  align-self: flex-end;
  padding: 14px;
  margin: 18px 24px 6px 0;
  cursor: pointer;
  transition: color 0.23s;
  z-index: 1222;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff2df;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 48px 0 36px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff2df;
  color: var(--color-accent);
}

/* ---------------------------------------
   HERO & ARTISTIC SECTIONS
---------------------------------------- */
.hero {
  background: linear-gradient(125deg, #edecf3 12%, #f9f9f9 40%, #fffbe8 100%);
  min-height: 320px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 38px 0 rgba(32,64,96,0.05);
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}
.subheadline {
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #475b80;
  margin-bottom: 24px;
}

/* ---------------------------------------
   FLEXBOX & SPACING LAYOUTS (MANDATORY CLASSES)
---------------------------------------- */
section { 
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 60px; 
  padding: 40px 20px;
  box-shadow: 0 4px 16px 0 var(--color-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 32px 26px 24px 26px;
  min-width: 260px;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 12px 32px 0 #e5a02233;
}
.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 {
  background: #fffbe8;
  color: #222;
  border-left: 6px solid var(--color-accent);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px 0 rgba(229,160,34,0.10);
  min-width: 280px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  transition: box-shadow .22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px #e5a02212;
  background: #fff7d4;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 7px 0 var(--color-shadow);
  padding: 22px 20px;
  margin-bottom: 20px;
  transition: box-shadow .14s, transform .16s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #edecf3;
  padding: 6px;
}
.feature-item:hover {
  box-shadow: 0 8px 22px #e5a0221f;
  transform: translateY(-6px) scale(1.025);
}
/* Some artistic touches for visual uniqueness */
.feature-grid, .team-members-grid, .testimonial-slider, .testimonial-list, .articles-list, .brief-interviews, .faq-preview, .checklists, .service-highlights, .service-descriptions, .step-by-step-process, .timeline, .client-care-details, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.feature-grid {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.team-members-grid {
  gap: 32px;
  justify-content: flex-start;
}
.service-highlights > div, .service-descriptions > h3, .timeline, .client-care-details {
  margin-bottom: 12px;
}
.articles-list, .faq-preview, .checklists {
  flex-direction: column;
  gap: 12px;
}

/* ---------------------------------------
   TESTIMONIALS (CREATIVE ARTISTIC STYLING)
---------------------------------------- */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.testimonial-meta {
  font-size: 0.98em;
  color: #666;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
  margin-top: 9px;
  margin-bottom: 0;
}
.star-rating {
  color: var(--color-accent);
  font-size: 1.4em;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.16em;
  margin-left: 7px;
  text-shadow: 1px 2px 3px #edecf354;
}

/* ---------------------------------------
   SECTION HEADERS, LISTS & CARDS
---------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.service-highlights > div, .service-descriptions > h3, .client-care-details {
  font-family: 'Montserrat', Arial, sans-serif;
}
.category-overview, .contact-team, .timeline, .client-care-details, .about-values, .privacy-guide {
  background: #f5f3ff;
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 9px #d0c2ad11;
}

/* ---------------------------------------
   FOOTER
---------------------------------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding-top: 24px;
  padding-bottom: 18px;
  margin-top: 60px;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  background: #fffbe888;
}
footer small {
  color: #e8e7ef;
  font-size: 0.96em;
  margin-top: 8px;
}

/* ---------------------------------------
   CONTACT SECTION
---------------------------------------- */
.contact-details ul,
.contact-details li, 
ul.contact,
ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}
.contact-details li, ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}
.map {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 16px 0 18px 0;
}
.map img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px #20406017;
  object-fit: cover;
}

/* ---------------------------------------
   ARTISTIC FONTS & ACCENTS
---------------------------------------- */
.section h2, .section h1, .hero h1, .card h3, .testimonial-card, .cta, .feature-item h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.44rem;}
}

/* Artistic underline accent for major headings */
.section h2, .hero h1, .content-wrapper > h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}
.section h2::after, .hero h1::after, .content-wrapper > h1::after {
  content: '';
  display: block;
  height: 5px;
  width: 52px;
  border-radius: 4px;
  background: var(--color-accent);
  margin-top: 8px;
  opacity: 0.72;
}

/* ---------------------------------------
   BUTTONS, ANIMATIONS & MICRO-INTERACTIONS
---------------------------------------- */
button, .cta {
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.17s, color 0.16s, border 0.13s;
}
.cta:active, .cta:focus {
  outline: 2px solid #d89915;
  outline-offset: 2px;
}

/* ---------------------------------------
   COOKIE CONSENT BANNER
---------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 22px 18px;
  box-shadow: 0 -4px 18px #20406016;
  z-index: 1400;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.68,-0.5,.44,1.37);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-banner button {
  margin-left: 8px;
  min-width: 130px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-accent);
  color: #1a2536;
  box-shadow: 0 0px 8px #e5a0222b;
  transition: background 0.17s, box-shadow 0.15s, color 0.14s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #fffbe8;
  color: var(--color-primary);
}
.cookie-consent-banner .cookie-settings-btn {
  background: #475b80;
  color: #fff;
  margin-right: 5px;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: #E5A022; color: #222;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,64,96,0.65);
  z-index: 1402;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffbe8;
  color: #222;
  padding: 38px 30px 28px 30px;
  border-radius: var(--radius);
  box-shadow: 0 12px 48px #20406033;
  min-width: 320px;
  max-width: 96vw;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInModal 0.26s;
}
@keyframes fadeInModal {
  from { opacity:0; transform:scale(0.92);} 
  to { opacity:1; transform:scale(1); }
}
.cookie-modal h3 { color: var(--color-primary); font-family: 'Montserrat', sans-serif; margin-bottom: 12px; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 14px;
}
.cookie-toggle {
  width: 30px;
  height: 18px;
  border-radius: 12px;
  background: #ddd;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle.checked {
  background: var(--color-accent);
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 2px;
  transition: left 0.16s;
  box-shadow: 0 1px 6px #0001;
}
.cookie-toggle.checked::after {
  left: 12px;
}
.cookie-modal-actions {
  display: flex; gap: 14px; justify-content: flex-end; }
.cookie-modal-actions button {
  background: var(--color-accent);
  color: #204060;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 14px;
  background: none;
  border: none;
  color: #e5a022;
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #204060; }

/* ---------------------------------------
   RESPONSIVE DESIGN (MOBILE FIRST)
---------------------------------------- */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  header .cta.primary { display: none; }
}
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  .hero {
    min-height: 180px;
    border-radius: 0 0 24px 24px;
    margin-bottom: 32px;
    padding: 30px 0;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    padding: 0 2px;
  }
  section { padding: 25px 6px; margin-bottom: 36px; }
  .feature-grid, .team-members-grid, .testimonial-slider, .testimonial-list, .articles-list, .brief-interviews, .faq-preview, .checklists, .service-highlights, .service-descriptions, .step-by-step-process, .timeline, .client-care-details {
    flex-direction: column;
    gap: 17px;
  }
  .feature-item, .testimonial-card, .card {
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .container { gap: 14px; }
  .footer-nav {gap: 16px;}
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.11rem; }
  .card, .feature-item, .testimonial-card {
    padding: 16px 10px;
  }
  .cookie-modal {
    min-width: 0;
    width: 90vw;
    padding: 20px 7vw;
  }
}

/* ---------------------------------------
   UNIQUE DECORATIVE DETAILS ('creative_artistic')
---------------------------------------- */
.card, .testimonial-card, .feature-item, .section {
  box-shadow: 0 2px 18px #20406007, 0 1.5px 6px #e5a0222c;
}
.card::before, .feature-item::before {
  content: '';
  position: absolute;
  top: -21px; left: -21px;
  background: linear-gradient(135deg, #edecf3 0%, #e5a02240 80%);
  width: 46px; height: 46px;
  z-index: 0;
  border-radius: 51% 49% 53% 47% / 44% 66% 34% 56%;
  opacity: 0.33;
  pointer-events: none;
  filter: blur(1.2px);
  display: block;
}
.card:hover::before, .feature-item:hover::before {
  opacity: 0.65;
  filter: blur(.8px);
}
.card {
  background: #fffbe8;
  color: #1a2536;
}

/* ---------------------------------------
   ACCESSIBILITY: FOCUS RINGS
---------------------------------------- */
a:focus, button:focus {
  outline: 3px solid #E5A022;
  outline-offset: 2px;
  background: #fffbe8dd;
}

/* ---------------------------------------
   UTILITY
---------------------------------------- */
.hide { display: none !important; }

/* ---------------------------------------
   PRINT STYLES
---------------------------------------- */
@media print {
  header, footer, .cta, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #000; }
  section, .container { box-shadow: none !important; background: #fff; padding: 0 !important; }
}
