/* ========================== */
/*     CSS RESET & BASE       */
/* ========================== */
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,
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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  background: #23232b;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background-color: #23232b;
  color: #F6F8FA;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
@media (max-width: 480px) {
  html { font-size: 15px; }
}
img {
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
}
a {
  color: #FFDFA5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8FA2B8;
  text-decoration: underline;
}
*:focus {
  outline: 2px solid #FFDFA5;
  outline-offset: 2px;
}
ul, ol {
  margin: 1em 0;
  padding-left: 2em;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #FFDFA5;
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: .01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, ul, ol, li, address {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E7E9ED;
  letter-spacing: 0.01em;
  font-size: 1rem;
  margin-bottom: 1em;
}
strong {
  color: #FFDFA5;
  font-weight: 700;
}
small {
  font-size: 0.875em;
  color: #C0C6D1;
}

/* ========================== */
/*      BUTTONS + CTAs        */
/* ========================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  border-radius: 60px;
  background: #FFDFA5;
  color: #23232b;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  box-shadow: 0 4px 24px rgba(255, 223, 165, 0.16), 0 1px 1.5px #8FA2B8;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, color 0.25s, transform 0.18s;
  margin: 10px 0;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8FA2B8;
  color: #23232b;
  box-shadow: 0 6px 32px 0 #8FA2B8, 0 1px 2px #FFDFA5;
  text-decoration: none;
  transform: translateY(-2px) scale(1.03);
}
.cta-link {
  font-weight: 600;
  color: #8FA2B8;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.16s;
}
.cta-link:after {
  content: '';
  display: block;
  height: 2px;
  width: 60%;
  background: linear-gradient(90deg, #8FA2B8, #FFDFA5);
  margin-top: 2px;
  border-radius: 1px;
  transition: width 0.2s;
}
.cta-link:hover, .cta-link:focus {
  color: #FFDFA5;
}
.cta-link:hover:after, .cta-link:focus:after {
  width: 90%;
}

/* ========================== */
/*         LAYOUT & SPACING   */
/* ========================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #23232b;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(143,162,184, 0.11), 0 1px 1px #FFDFA5;
  padding: 32px 24px;
  flex: 1 1 335px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 16px 44px 0 #8FA2B8, 0 1px 1.5px #FFDFA5;
  transform: translateY(-3px) scale(1.015);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  color: #23232b;
  box-shadow: 0 7px 24px 0 rgba(143,162,184, 0.25);
  margin-bottom: 24px;
  min-width: 245px;
  max-width: 95%;
  font-size: 1.1rem;
  line-height: 1.7;
}
.testimonial-card p {
  color: #23232b;
  margin-bottom: 10px;
  font-weight: 500;
}
.testimonial-card span {
  color: #8FA2B8;
  font-weight: 600;
  font-size: 0.97em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: #20212a;
  border-radius: 16px;
  padding: 20px 18px;
  flex: 1 1 210px;
  min-width: 180px;
  box-shadow: 0 3px 16px 0 rgba(143,162,184,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px #8FA2B8, 0 1.5px 2px #FFDFA5;
  transform: translateY(-2px);
  z-index: 2;
}
.feature-grid img {
  width: 40px;
  margin-bottom: 12px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 2em;
}
.service-cards > div {
  background: #23232b;
  border: 1.5px solid #8FA2B8;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(143,162,184,0.13);
  flex: 1 1 250px;
  min-width: 200px;
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.15s, border 0.19s;
}
.service-cards > div strong {
  color: #FFDFA5;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}
.service-cards > div:hover {
  box-shadow: 0 6px 33px #8FA2B8, 0 1.5px 2px #FFDFA5;
  border-color: #FFDFA5;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 18px;
}
.blog-post {
  background: #23232b;
  border-radius: 13px;
  padding: 30px 20px 22px 20px;
  box-shadow: 0 4px 15px 0 rgba(143,162,184,0.15);
  flex: 1 1 265px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.blog-post h3 { color: #FFDFA5; font-size: 1.18rem; margin-bottom: 8px; }
.blog-post span { color: #8FA2B8; font-size: 0.96em; margin-top: 4px; }
.blog-post:hover {
  box-shadow: 0 8px 22px #8FA2B8, 0 1.5px 2px #FFDFA5;
  transform: translateY(-2px);
  z-index: 2;
}
.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0 0;
  padding: 0;
}
.tag-filters li {
  background: #23232b;
  color: #FFDFA5;
  border: 1px solid #8FA2B8;
  padding: 7px 16px;
  border-radius: 14px;
  font-size: 1.01em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.17s;
}
.tag-filters li:hover, .tag-filters li:focus {
  background: #FFDFA5;
  color: #23232b;
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #23232b 80%, #8FA2B8 110%);
  padding: 60px 0;
  margin-bottom: 60px;
  position: relative;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero h1, .hero h2, .hero p {
  color: #FFDFA5;
}
.hero .cta-btn {
  margin-top: 10px;
}
.tagline {
  background: #20202b;
  color: #FFDFA5;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 18px;
  letter-spacing: 0.04em;
  font-size: 1.03em;
}

/* ========================== */
/* HEADER + NAVIGATION        */
/* ========================== */
header {
  width: 100%;
  padding: 0;
  background: #23232b;
  box-shadow: 0 1px 12px 0 #23232b40;
  z-index: 1001;
  position: relative;
}
header .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 20px 18px 20px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #8FA2B8;
  font-weight: 500;
  padding: 8px 13px;
  font-size: 1rem;
  border-radius: 10px;
  transition: background 0.18s, color 0.19s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: #FFDFA5;
  background: #343459;
  text-decoration: none;
}
header .cta-btn {
  margin-left: 25px;
  font-size: 1rem;
  padding: 10px 24px;
  box-shadow: 0 1.5px 2px #FFDFA5;
}

/* ========================== */
/*   FOOTER                   */
/* ========================== */
footer {
  background: #20202b;
  color: #8FA2B8;
  margin-top: 64px;
  padding: 40px 0 22px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
footer img {
  height: 38px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
footer nav a {
  color: #8FA2B8;
  font-size: 0.95rem;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background 0.17s;
}
footer nav a:hover {
  color: #FFDFA5;
  background: #343459;
}
footer p {
  color: #FFDFA5;
  font-size: 0.97rem;
  margin: 0;
  opacity: .82;
}

/* ========================== */
/*  FLEXBOX: RESPONSIVE RULES */
/* ========================== */
@media (max-width: 1060px) {
  .container {
    max-width: 99vw;
    padding: 0 8vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .blog-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header .container {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 35px 8px;
    margin-bottom: 40px;
  }
  .hero {
    padding: 36px 0 22px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  .card, .service-cards > div, .feature-grid > div, .blog-post, .testimonial-card, .card-container > div {
    min-width: 98%;
    max-width: 100%;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 5px;
  }
  .hero {
    padding: 20px 0 8px 0;
  }
  h1 { font-size: 1.6rem; margin-bottom: 14px; }
  h2 { font-size: 1.21rem; margin-bottom: 10px; }
  h3 { font-size: 1.06rem; margin-bottom: 9px; }
  .cta-btn {
    padding: 11px 24px;
    font-size: 0.99rem;
  }
}

/* ========================== */
/*    MOBILE MAIN NAV         */
/* ========================== */
.mobile-menu-toggle {
  position: fixed;
  right: 24px;
  top: 22px;
  background: #23232b;
  color: #FFDFA5;
  border: none;
  border-radius: 10px;
  font-size: 2.1rem;
  z-index: 2002;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 18px 0 #8FA2B8;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.15s, transform 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFDFA5;
  color: #23232b;
  transform: scale(1.05);
}
@media (max-width: 920px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 3002;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 35, 43, 0.96);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.17s;
  transform: translateX(-100vw);
  box-shadow: 0 0 30px #8FA2B8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 23px;
  right: 25px;
  font-size: 2.5rem;
  background: none;
  color: #FFDFA5;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 4011;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFDFA5;
  color: #23232b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 64px 16px 0 24px;
  gap: 18px;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #FFDFA5;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  padding: 12px 0;
  width: 100%;
  border-radius: 10px;
  transition: background 0.17s, color 0.16s;
  margin-left: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8FA2B8;
  color: #23232b;
}
@media (min-width: 921px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ========================== */
/*    COOKIE CONSENT BANNER   */
/* ========================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  z-index: 9002;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #23232bda;
  color: #FFDFA5;
  padding: 24px 12px;
  border-top: 3px solid #FFDFA5;
  gap: 20px;
  box-shadow: 0 -8px 29px #23232b68;
  transition: transform 0.28s, opacity 0.20s;
  font-size: 1.03em;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__content {
  max-width: 810px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #FFDFA5;
  flex: 2 1 320px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  padding: 9px 24px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1em;
  border: 2px solid #FFDFA5;
  background: transparent;
  color: #FFDFA5;
  margin: 2px 0;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, border 0.15s, transform 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFDFA5;
  color: #23232b;
  border-color: #FFDFA5;
  transform: scale(1.065);
}
.cookie-btn.reject {
  border: 2px solid #8FA2B8;
  background: transparent;
  color: #8FA2B8;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #8FA2B8;
  color: #23232b;
}
.cookie-settings-btn {
  border: 2px solid #8FA2B8;
  color: #FFDFA5;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  border-color: #FFDFA5;
  background: #8FA2B8;
  color: #23232b;
}

/* Cookie Modal Preferences */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,35,43,0.94);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 0 38px 0 #8FA2B8, 0 1.5px 2.5px #FFDFA5;
  padding: 40px 30px 34px 30px;
  min-width: 310px;
  max-width: 98vw;
  color: #23232b;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn .26s cubic-bezier(.9,0,.18,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(40px) scale(.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal__title {
  font-size: 1.32em;
  font-family: 'Playfair Display', serif;
  color: #8FA2B8;
  margin-bottom: 12px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1em;
}
.cookie-category label {
  font-weight: 500;
  color: #23232b;
}
.cookie-category input[type=checkbox] {
  accent-color: #8FA2B8;
  width: 20px; height: 20px;
  border-radius: 4px;
  margin-right: 8px;
  cursor: pointer;
}
.cookie-category.essential label {
  color: #8FA2B8;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 21px; right: 23px;
  background: none;
  border: none;
  font-size: 1.6em;
  color: #8FA2B8;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.13s, color 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #FFDFA5;
  background: #8FA2B8;
}

@media (max-width: 600px) {
  .cookie-modal__dialog { padding: 20px 11px 17px 13px; }
  .cookie-modal__title { font-size: 1.09em; }
}

/* ========================== */
/*    GENERAL UI ENHANCEMENT  */
/* ========================== */
::-webkit-scrollbar {
  width: 6px;
  background: #23232b;
}
::-webkit-scrollbar-thumb {
  background: #8FA2B8;
  border-radius: 10px;
}

/* Transitions */
button, .cta-btn, .cta-link, .card, .service-cards > div, .feature-grid > div, .blog-post {
  transition: all 0.19s cubic-bezier(.72,0,.18,1);
}

/* Micro-interactions */
.card:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}
.service-cards > div:active, .feature-grid > div:active, .blog-post:active {
  transform: scale(0.98);
}

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

/* Responsive table fix for policies */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 10px 8px;
  border: 1px solid #8FA2B8;
  color: #23232b;
  background: #F6F8FA;
  font-family: 'Montserrat', Arial;
  font-size: .99em;
}

/* ========================== */
/*  Z-INDEX CONTROL           */
/* ========================== */
header { z-index: 8000; }
.mobile-menu { z-index: 9000; }
.cookie-banner { z-index: 10000; }
.cookie-modal { z-index: 12000; }

/* EOF */
