/* ===== PRIMAL COUTURE TECH FUTURISTIC CSS ===== */

/* ==== 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,
main, 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 {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181922;
  color: #F8F5F1;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  outline: none;
}
/* =============================
   FONT FACE
============================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #181922;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #9C7B51;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  line-height: 1.22;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.subtitle {
  color: #F8F5F1;
  opacity: 0.88;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.6;
}
p, address, li, blockquote, ul {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #EAE6DD;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
strong {
  color: #F8F5F1;
  font-weight: 700;
  letter-spacing: 0.01em;
}


/* =============================
   LAYOUT CONTAINER
============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =============================
   HEADER & NAVBAR
============================= */
header {
  background: #1A1D23;
  box-shadow: 0 2px 24px 0 rgba(30,18,61,0.28);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 52px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #F8F5F1;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  position: relative;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.22s, box-shadow 0.26s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #232735;
  color: #9C7B51;
  box-shadow: 0 2px 12px 0 #9C7B5180;
}

.cta-btn {
  background: linear-gradient(90deg, #9C7B51 35%, #F8F5F1 95%);
  color: #181922;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.10rem;
  border: none;
  border-radius: 32px;
  padding: 10px 30px;
  margin-left: 16px;
  margin-right: 12px;
  box-shadow: 0 4px 28px 0 #6a4c1c44;
  transition: background 0.18s, color 0.19s, box-shadow 0.18s, transform 0.15s;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px #fff1;
  position: relative;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #efd6b7 25%, #9C7B51 85%);
  color: #181922;
  transform: translateY(-2px) scale(1.055);
  box-shadow: 0 8px 32px 0 #9C7B51bb, 0 2px 12px 0 #9C7B5180;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  background: #232735;
  color: #F8F5F1;
  font-size: 2rem;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.19s;
  z-index: 301;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #181922;
  color: #9C7B51;
  box-shadow: 0 0 16px 0 #9C7B5180;
}

/* =============================
   MOBILE NAVIGATION OVERLAY
============================= */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,29,35,0.97);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.69,.01,.23,1.1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin-top: 18px;
  margin-bottom: 22px;
  background: #232735;
  color: #F8F5F1;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-right: 24px;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #1A1D23;
  color: #9C7B51;
  box-shadow: 0 0 16px 0 #9C7B5180;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}
.mobile-nav a {
  color: #F8F5F1;
  font-size: 1.20rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 14px 16px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.03em;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #232735;
  color: #9C7B51;
}

/* =============================
   HERO & GENERAL SECTION
============================= */
main {
  min-height: 65vh;
  background: #181922;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* =============================
   FLEXBOX PATTERNS MANDATORY CLASSES
============================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #22232C;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 #090a115C;
  color: #F8F5F1;
  padding: 32px 24px;
  /* No absolute positioning! */
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: #F8F5F1;
  color: #181922;
  border-radius: 18px;
  box-shadow: 0 8px 42px 0 #6a4c1c17;
  margin-bottom: 24px;
  margin-top: 10px;
  flex-direction: column;
  min-width: 220px;
  max-width: 480px;
  border: 2px solid #9C7B51;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* =============================
   BLOCKQUOTE, LISTS
============================= */
blockquote {
  border-left: 4px solid #9C7B51;
  margin: 0 0 8px 0;
  padding-left: 16px;
  font-style: italic;
  color: #181922;
  font-family: 'Playfair Display', serif;
  font-size: 1.13rem;
  background: linear-gradient(90deg, #F8F5F1 95%, #efd6b7 100%);
}
ul {
  padding-left: 0;
  margin-bottom: 8px;
  line-height: 1.7;
}
ul > li {
  padding-left: 26px;
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle fill='%239C7B51' cx='7' cy='7' r='4'/%3E%3C/svg%3E") left 6px top 0.95em no-repeat;
  background-size: 14px 14px;
  margin-bottom: 10px;
}

/* =============================
   FEATURE LIST
============================= */
#features ul > li,
#services-overview ul > li {
  background: none;
  padding-left: 0;
  font-size: 1.08rem;
  color: #E1DBC9;
  margin-bottom: 10px;
  position: relative;
}
#features ul > li:before,
#services-overview ul > li:before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #9C7B51;
  margin-right: 12px;
  position: relative;
  top: -1px;
}


/* =============================
   CARDS & HIGHLIGHTS
============================= */
.card,
.text-section, .content-wrapper {
  background: #232736;
  border-radius: 20px;
  box-shadow: 0 2px 34px 0 #181A1E27;
  padding: 32px 22px;
  margin-bottom: 20px;
}
.card {
  border: 1.5px solid #9C7B51;
  background: #22232c;
  box-shadow: 0 6px 32px 0 #9c7b5150, 0 2px 12px 0 #23273555;
}
.card:hover, .card:focus {
  border-color: #F8F5F1;
  box-shadow: 0 12px 40px 0 #9C7B51bb, 0 2px 12px 0 #9C7B5180;
  transition: box-shadow 0.19s, border 0.18s;
}

/* =============================
   BUTTONS & MICRO-INTERACTIONS
============================= */
.btn, .cta-btn, button, input[type="submit"] {
  transition: 
    background 0.25s,
    color 0.17s,
    box-shadow 0.22s,
    border 0.12s,
    transform 0.15s;
  cursor: pointer;
}

a.cta-btn:active {
  transform: scale(0.95);
}
button:active, input[type="submit"]:active {
  transform: scale(0.96);
}

/* =============================
   FOOTER
============================= */
footer {
  padding: 0;
  background: #1A1D23;
  box-shadow: 0 -2px 20px 0 #23273580;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px 18px 20px;
}
footer img {
  height: 44px;
  opacity: 0.89;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #9C7B51;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  padding: 6px 12px;
  transition: color 0.2s, background 0.22s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #232735;
  color: #F8F5F1;
}
footer address {
  color: #EAE6DD;
  font-style: normal;
  font-size: 0.97rem;
  text-align: center;
  opacity: 0.93;
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #232735;
  color: #F8F5F1;
  z-index: 4000;
  box-shadow: 0 -4px 26px 0 #9C7B5185;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 12px;
  gap: 28px;
  flex-wrap: wrap;
  animation: slideUpCookie 0.7s cubic-bezier(.69,.01,.23,1.1);
}
@keyframes slideUpCookie {
  from {
    transform: translateY(140%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  background: #1A1D23;
  color: #9C7B51;
  border-radius: 18px;
  border: 2px solid #9C7B51;
  padding: 7px 22px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-left: 6px;
  transition: background 0.19s, color 0.19s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #9C7B51;
  color: #181922;
}

/* ---- Cookie Modal ---- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: rgba(26,29,35,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: fadeInModal 0.4s cubic-bezier(.53,.12,.28,1.1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #232735;
  border-radius: 20px;
  box-shadow: 0 12px 46px 0 #9C7B5184;
  max-width: 360px;
  padding: 32px 24px;
  color: #F8F5F1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-content h3 {
  color: #9C7B51;
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal-content label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal-content .cookie-toggle {
  accent-color: #9C7B51;
  width: 19px;
  height: 19px;
  border-radius: 5px;
}
.cookie-modal-content .close-cookie-modal {
  background: #1A1D23;
  color: #9C7B51;
  border: 2px solid #9C7B51;
  border-radius: 10px;
  padding: 6px 20px;
  font-size: 1rem;
  margin-top: 10px;
}
.cookie-modal-content .close-cookie-modal:hover, .cookie-modal-content .close-cookie-modal:focus {
  background: #9C7B51;
  color: #181922;
}

/* =============================
   RESPONSIVE QUERIES (MOBILE FIRST)
============================= */
@media (max-width: 992px) {
  .main-nav, .footer-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 { font-size: 1.18rem; }
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 0;
    margin-right: 0;
  }
  header img {
    height: 42px;
  }
  /* Sections */
  section, .section {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
  .content-wrapper, .text-section, .card{
    padding: 20px 12px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {
    padding: 12px;
    min-width: unset;
    max-width: 100vw;
    font-size: 0.97rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: center;
  }
}
@media (hover: none) and (pointer: coarse) {
  a:active, .cta-btn:active, .mobile-menu-toggle:active {
    filter: brightness(0.97) contrast(0.97);
  }
}

/* =============================
   FOCUS INDICATORS (A11Y)
============================= */
a:focus, .cta-btn:focus, button:focus, input:focus {
  outline: 2.2px solid #9C7B51;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #232735, 0 0 8px #9C7B51aa;
  z-index: 2;
}

/* =============================
   ANIMATIONS & EFFECTS
============================= */
.card, .card-content, .testimonial-card, .footer-nav a, .cta-btn, .mobile-nav a {
  transition: 
    box-shadow 0.19s,
    background 0.15s,
    color 0.16s,
    transform 0.17s,
    border 0.13s;
}

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

/* =============================
   SCROLLBAR (modern look, but fallback standard)
============================= */
body::-webkit-scrollbar {
  width: 8px;
  background: #232735;
}
body::-webkit-scrollbar-thumb {
  background: #9C7B51CF;
  border-radius: 5px;
}

/* =============================
   ALL HTML CLASSES PRESENT IN SUPPLIED HTML
============================= */
/* Already covered: .section, .card, .card-container, .content-wrapper, .content-grid, .text-image-section, .feature-item, .testimonial-card, .mobile-menu, .mobile-nav, .mobile-menu-toggle, .mobile-menu-close, .main-nav, .footer-nav, .subtitle, .cta-btn, .container. */

/* =============================
   BRAND NEON ACCENTS
============================= */
.card, .cta-btn, .mobile-menu, .main-nav a, .footer-nav a, .testimonial-card {
  /* Neon inspired glow under accent hover */
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 0 32px 7px #9C7B5160, 0 6px 32px 0 #1A1D2328;
  border-color: #F8F5F1;
}

.cta-btn {
  box-shadow: 0 0 0 0 #1A1D2300, 0 6px 24px 0 #9C7B5120;
}
.cta-btn:hover,
.cta-btn:focus {
  box-shadow: 0 0 16px 1px #9C7B51cc, 0 8px 32px 0 #9C7B51bb;
}


/* =============================
   Z-INDEX LAYERING (no abs. pos for cards!)
============================= */
header,
.mobile-menu,
.cookie-banner,
.cookie-modal {
  z-index: 300;
}
.cookie-banner {
  z-index: 4000;
}
.cookie-modal {
  z-index: 5000;
}

/* =============================
   NO CSS GRID, NO ABSOLUTE FOR CARDS
============================= */
/* All layouts: Flexbox only. */

