/* --- CSS RESET & FOUNDATION --- */
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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #F5F0EA;
  background: #232436;
  background-image: linear-gradient(135deg, #32344a 0%, #232436 60%, #15151f 100%);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
}
:root {
  --primary: #3B4055;
  --secondary: #F5F0EA;
  --accent: #86643A;
  --accent2: #A6876B;
  --neon: #FFD863;
  --bg-dark: #232436;
  --bg-fade: #2c2d42;
  --bg-section: #2f3141;
}

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
.text-center {
  text-align: center;
}
.tagline {
  font-size: 18px;
  color: var(--neon);
  font-weight: 600;
  margin-top: 8px;
}

/* --- TYPOGRAPHY --- */
h1,h2,h3,h4 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.15;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px #15151f44;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.05rem;
}
p, ul, ol, li, span, .subheadline {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #F5F0EA;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--accent2);
  margin-bottom: 22px;
}
em {
  font-style: italic;
  color: var(--neon);
}
a {
  color: var(--accent2);
  text-decoration: none;
  transition: color .18s;
}
a.btn-link, .btn-link {
  color: var(--neon);
  border-bottom: 2px solid var(--neon);
  transition: all .21s cubic-bezier(0.4,0,0.2,1);
  font-weight: 700;
  padding: 2px 6px;
  background: none;
}
a.btn-link:hover, .btn-link:hover {
  background: var(--neon);
  color: #15151f;
  border-radius: 18px;
  border-bottom: 2px solid transparent;
}

/* --- HEADER --- */
header {
  background: #212230;
  border-bottom: 1.5px solid #2E2F49;
  box-shadow: 0 2px 22px #0f111889;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  height: 52px;
  max-width: 175px;
  width: auto;
  vertical-align: middle;
  display: block;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav.main-nav a {
  color: #F5F0EA;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background .18s, color .18s;
  font-size: 0.98rem;
}
nav.main-nav a:hover, nav.main-nav a.active {
  background: var(--accent2);
  color: #232436;
}
.btn-primary {
  background: var(--accent2);
  color: var(--bg-dark);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 8px 28px;
  margin-left: 12px;
  box-shadow: 0 0 8px 0 var(--neon)66, 0 2px 16px 0 #0002;
  cursor: pointer;
  transition: background .19s, box-shadow .18s, color .16s;
  position: relative;
  z-index: 2;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--neon);
  color: #111117;
  box-shadow: 0 0 24px 0 var(--neon), 0 2px 20px 0 #0005;
}
.mobile-menu-toggle {
  background: none;
  color: var(--neon);
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  margin-left: 24px;
  padding: 6px 8px;
  line-height: 1.0;
  transition: color .17s;
  z-index: 901;
  border-radius: 6px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--accent2);
  background: #23243655;
}
@media (max-width: 950px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #232436fa;
  z-index: 9999;
  padding-left: 0;
  padding-top: 0;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.65,.1,.16,1.39);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--neon);
  font-size: 2.25rem;
  border: none;
  cursor: pointer;
  margin: 22px 0 0 24px;
  padding: 6px 14px;
  align-self: flex-start;
  z-index: 10002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 10px 0;
  font-weight: 500;
  border-bottom: 1.5px solid #2e2f49;
  width: 90%;
  transition: color .18s, background .20s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--neon);
  color: #202020;
  border-radius: 8px;
}
/* Prevent scroll on body when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* --- SECTIONS & SPACING --- */
main {
  width: 100%;
  background: none;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: 20px;
  box-shadow: 0 4px 44px 0 #0000000d, 0 0px 12px #0000001f inset;
}
section:last-of-type {
  margin-bottom: 38px;
}
/* Container rules above */

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 0;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
  padding-right: 0;
  padding-left: 0;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .content-wrapper {
    flex-direction: column !important;
    align-items: stretch;
    gap: 20px !important;
  }
  .section, section {
    padding: 28px 6px;
    margin-bottom: 32px;
  }
}

/* --- FLEXBOX PREFERRED GRIDS --- */
.feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- CARDS & FEATURE ITEMS --- */
.card, .feature-item, .blog-post-card, .team-member, .process-step {
  background: #25263c;
  padding: 26px 26px 22px 26px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 3px 32px 0 #3b405588, 0 0 12px #A6876B33;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform .21s, box-shadow .18s;
  border: 1.5px solid #443c2e22;
}
.card:hover, .feature-item:hover, .blog-post-card:hover, .team-member:hover, .process-step:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 36px 3px var(--neon), 0 4px 30px 0 #A6876B22;
  z-index: 4;
}
.feature-item img, .process-step img {
  height: 42px;
  width: 42px;
  margin-bottom: 9px;
  filter: drop-shadow(0 1.5px 3px var(--neon));
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}
.blog-post-card {
  background: linear-gradient(98deg,#2f3141 75%,#222337 100%);
  min-width: 260px;
  min-height: 172px;
}
.team-member span {
  font-weight: 700;
  color: var(--accent2);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.team-photo-placeholder img {
  display: block;
  margin: 0 auto 12px auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid var(--neon);
  box-shadow: 0 2px 14px 0 #FFD86366;
}
.process-step h3 {
  color: var(--accent2);
  margin-bottom: 7px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #15151f;
  box-shadow: 0 2px 18px 0 #3B405555, 0 0 1.5px #FFD86377;
  margin-bottom: 20px;
  border-radius: 13px;
  padding: 20px 26px 18px 24px;
  transition: box-shadow .17s, transform .17s;
  border: 1.5px solid #A6876B36;
}
.testimonial-card p {
  color: #15151f;
  font-size: 1.06rem;
  line-height: 1.6;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent2);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* Review stars if present */
.testimonial-meta span:first-child {
  color: var(--neon);
  font-size: 1.12em;
}

/* --- FAQ Accordion / Legal --- */
.faq-accordion, .legal-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #232436;
  color: var(--secondary);
  border-radius: 9px;
  padding: 16px 17px;
  box-shadow: 0 2px 10px #3b405555;
  margin-bottom: 20px;
}
.faq-item h3 {
  color: var(--neon);
}
.legal-text {
  color: #e6e6e6;
  font-size: 1.07rem;
  line-height: 1.78;
}

/* --- PRICING CARDS --- */
.feature-item ul {
  margin-left: 12px;
  margin-bottom: 10px;
  color: var(--accent2);
}
.feature-item ul li {
  list-style: disc inside;
  margin-bottom: 4px;
  font-size: 0.98rem;
  color: var(--accent2);
}
.feature-item strong {
  color: var(--neon);
  font-size: 1.15rem;
}

/* --- TIMELINE --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin-top: 10px;
}
.timeline li {
  background: #29293d;
  border-left: 5px solid var(--neon);
  padding: 18px 22px;
  margin-left: 8px;
  border-radius: 12px;
  box-shadow: 0 1px 6px #FFD86344;
}
.timeline h3 {
  color: var(--accent2);
  font-size: 1.13rem;
  margin-bottom: 7px;
}

/* --- CATEGORIES --- */
.categories {
  text-align: right;
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--accent2);
  font-size: 0.98rem;
}
.categories a {
  color: var(--neon);
  font-weight: 600;
  margin-right: 8px;
  transition: color .14s;
}
.categories a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--accent2);
}

/* --- CONTACT DETAILS, MAP --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 13px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.06rem;
  color: var(--accent2);
}
.contact-details img {
  width: 23px;
  height: 23px;
  filter: brightness(1.5) drop-shadow(0 0 3px var(--neon));
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #29293d;
  border-radius: 11px;
  padding: 14px 7px 14px 16px;
  box-shadow: 0 1.5px 9px #FFD86321;
}
.map-placeholder img {
  width: 54px;
  height: 54px;
  border-radius: 3px;
}
.cta-section, .next-steps {
  margin-top: 8px;
}

/* --- FOOTER --- */
footer {
  background: #18192a;
  padding: 28px 0 22px 0;
  border-top: 2px solid #292a37;
  box-shadow: 0 -3px 14px #15151a33;
  color: #ececef;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1.01rem;
  margin-bottom: 11px;
}
.footer-nav a {
  color: var(--accent2);
  transition: color .13s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-info {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 0.94rem;
  color: #b3a391;
}
@media (max-width: 870px) {
  .footer-nav, .footer-info {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

/* --- BUTTONS --- */
.btn-primary, .btn-link, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-settings-btn, .cookie-close-btn {
  outline: none;
  appearance: none;
}
.btn-primary,
.cookie-btn,
.cookie-settings-btn,
.cookie-close-btn {
  transition: background .19s, color .13s, box-shadow .13s, border .13s;
}
.btn-primary:active {
  transform: scale(0.97);
}
.btn-link:active {
  background: var(--neon);
  color: #2f3141;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #212230ee;
  color: #fff;
  box-shadow: 0 0 24px #FFD86355, 0 1.5px 12px #3B405555;
  border-radius: 22px;
  padding: 22px 30px 18px 30px;
  z-index: 11002;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
  max-width: 510px;
  width: 94vw;
  font-size: 1rem;
  opacity: 1;
  transition: opacity .21s, bottom .21s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: 6px;
}
.cookie-banner .cookie-btn {
  padding: 7px 22px;
  background: var(--neon);
  color: #25263c;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 8px;
  margin-top: 4px;
  cursor: pointer;
  box-shadow: 0 0 8px #FFD86388;
}
.cookie-banner .cookie-btn:hover {
  background: var(--accent2);
  color: #212230;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: var(--accent2);
  padding: 7px 16px;
  border: 2px solid var(--accent2);
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 4px;
  cursor: pointer;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--accent2);
  color: #212230;
}

/* --- COOKIE BANNER MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #232436e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 11030;
  opacity: 0;
  pointer-events: none;
  transition: opacity .19s;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #1a1b2a;
  color: #fff;
  padding: 34px 38px;
  border-radius: 22px;
  box-shadow: 0 0 38px #FFD86399, 0 2px 12px #14141522;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--neon);
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal-content h3 {
  color: var(--accent2);
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.04rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #232436;
  border-radius: 11px;
  position: relative;
  outline: none;
  border: 2px solid var(--accent2);
  transition: background .19s, border .19s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--neon);
  border: 2px solid var(--neon);
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #FFD8634a;
  transition: left .21s;
}
.cookie-toggle:checked:before {
  left: 19px;
  background: #fffbe2;
}
.cookie-category label {
  font-weight: 500;
  color: var(--accent2);
  margin-right: 7px;
}
.cookie-category.essential label {
  color: var(--neon);
}
.cookie-category.essential .cookie-toggle {
  opacity: .4;
  pointer-events: none;
  background: var(--accent2);
  border: 2px solid var(--accent2);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  padding: 7px 21px;
  border-radius: 15px;
}

/* --- MEDIA QUERIES (RESPONSIVE) --- */
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.07rem; }
  section, .section {
    padding: 13px 2px;
    margin-bottom: 19px;
    border-radius: 13px;
  }
  .cookie-banner {
    padding: 11px 8px 14px 12px;
    border-radius: 13px;
    bottom: 4px;
    font-size: 0.98rem;
  }
  .cookie-modal-content {
    padding: 18px 10px 24px 10px;
    min-width: 0;
  }
  .feature-item, .blog-post-card, .card {
    padding: 13px 11px 15px 10px;
    border-radius: 10px;
  }
  .testimonial-card {
    padding: 12px 12px 12px 12px;
    border-radius: 7px;
  }
  .map-placeholder {
    gap: 6px;
    padding: 8px;
    border-radius: 7px;
  }
}
@media (max-width: 420px) {
  .logo img {
    max-width: 95px;
    height: 34px;
  }
}

/* --- ANIMATIONS, MICRO-INTERACTIONS --- */
.btn-primary, .btn-link, .feature-item, .card, .blog-post-card, .testimonial-card, .faq-item, .cookie-banner, .cookie-modal-content, .mobile-nav a {
  transition: background .17s, color .18s, box-shadow .19s, transform .19s;
}
.mobile-menu, .cookie-modal {
  transition: transform .36s cubic-bezier(0.63,0,.22,1.2), opacity .19s;
}

/* --- MISC/SPACING, VISIBLE FOCUS --- */
a, .btn-primary, .btn-link, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-settings-btn, .cookie-close-btn {
  outline: none;
  box-shadow: none;
}
a:focus, .btn-primary:focus, .btn-link:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-btn:focus, .cookie-settings-btn:focus, .cookie-close-btn:focus {
  outline: 2px solid var(--neon);
  outline-offset: 1.5px;
  box-shadow: 0 0 12px var(--neon)55;
}

/* --- SPACING RULES MANDATORY --- */
.section, section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.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;
  margin-bottom: 20px;
}
/* spacing fallback for multiple adjacent cards */
.card + .card, .feature-item + .feature-item, .team-member + .team-member, .blog-post-card + .blog-post-card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.feature-item img, .feature-item svg {
  margin-bottom: 0.5em;
}

/* --- SCROLLBAR THEME --- */
::-webkit-scrollbar {
  width: 10px;
  background: #232436;
}
::-webkit-scrollbar-thumb {
  background: var(--accent2);
  border-radius: 7px;
}
::-webkit-scrollbar-track {
  background: #15151f;
}

/* --- PRINT SAFETY --- */
@media print {
  * { background: #fff !important; color: #222 !important; box-shadow: none !important; }
  .mobile-menu,.cookie-banner,.cookie-modal,.mobile-menu-toggle { display: none !important; }
  header,footer,section { box-shadow: none !important; border: none !important; }
}
