/* =========================
   CSS RESET & BASE STYLES
   ========================= */
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;
  background: #f8f9fa;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
/* =========================
   BRAND COLORS & FONTS
   ========================= */
:root {
  --primary: #14213D;
  --secondary: #FCA311;
  --accent: #E5E5E5;
  --background: #f8f9fa;
  --gold: #BEA060;
  --lux-black: #18151c;
  --lux-dark: #23202a;
  --lux-gray: #E2E2E2;
  --lux-shadow: rgba(20, 33, 61, 0.08);
  --lux-shadow-darker: rgba(20, 33, 61, 0.14);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =========================
   HELPER UTILS
   ========================= */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lux-black);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem; /* 44px */
  line-height: 1.08;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.14;
}
h3 {
  font-size: 1.375rem; /* 22px */
  line-height: 1.2;
}
h4 {
  font-size: 1.125rem;/* 18px */
  line-height: 1.2;
}
p, ul li, ol li {
  font-family: var(--font-body);
  color: var(--lux-dark);
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  margin-bottom: 14px;
}
strong {
  font-weight: 600;
  color: var(--primary);
}
.text-section ul,
.text-section ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.text-section ul li,
.text-section ol li {
  margin-bottom: 8px;
  position: relative;
}
.text-section ul li:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  margin-left: -18px;
  vertical-align: middle;
}
.text-section ol li {
  list-style: decimal inside;
  margin-left: 0;
}
.text-section ol {
  list-style: decimal inside;
  padding-left: 4px;
}

/* =========================
   LUXURY SECTION & CARD STYLES
   ========================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 var(--lux-shadow);
}
.section:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 var(--lux-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.24s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 36px 0 var(--lux-shadow-darker);
  border-color: var(--gold);
}

.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;
  border-radius: 13px;
  background: #fff;
  border-left: 4px solid var(--gold);
  margin-bottom: 22px;
  box-shadow: 0 2px 10px 0 var(--lux-shadow);
}
.testimonial-card p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--lux-black);
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.975rem;
  color: var(--lux-dark);
  font-style: italic;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  background: linear-gradient(115deg, #faf8f2 60%, var(--accent) 100%);
  padding: 60px 0 52px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 14px;
}
.hero p {
  color: var(--lux-dark);
  max-width: 600px;
  font-size: 1.17rem;
  margin-bottom: 22px;
}

/* =========================
   BUTTONS & CTAs
   ========================= */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--primary);
  color: #fff;
  border: none;
  outline: none;
  box-shadow: 0 1px 5px var(--lux-shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  border: 1.5px solid var(--primary);
  margin-top: 8px;
  margin-bottom: 10px;
}
.cta.primary {
  background: var(--gold);
  color: var(--lux-black);
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 20px 0 var(--lux-shadow);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 34px 0 var(--lux-shadow-darker);
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 6px 24px var(--lux-shadow-darker);
}

/* Links in nav/footer hover gold accent */
nav a:hover, nav a:focus, .footer-nav a:hover, .footer-nav a:focus {
  color: var(--gold);
  text-decoration: none;
}

/* =========================
   MAIN NAVIGATION
   ========================= */
header {
  background: #fff;
  box-shadow: 0 4px 24px 0 var(--lux-shadow);
  z-index: 101;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}
.main-nav .logo img {
  height: 42px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-right: auto;
  margin-left: 32px;
}
.main-nav li {
  display: flex;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 4px;
  font-weight: 500;
  transition: color 0.17s, background 0.23s;
  position: relative;
}
.main-nav a.cta.primary {
  margin-left: 34px;
  font-size: 1.05rem;
  font-weight: 700;
}
.main-nav a.active, .main-nav a[aria-current="page"] {
  color: var(--gold);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #141925;
  padding: 36px 0 20px 0;
  color: #faf6e9;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #faf6e9;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 3px;
  transition: color 0.18s;
}
.footer-info p {
  font-size: 0.95rem;
  color: #bfb8a6;
  margin-bottom: 5px;
}
.footer-info p:first-child {
  font-weight: 700;
  color: var(--gold);
}

/* ==============
   SECTION: FEATURES, ABOUT, ETC.
   ============== */
.features ul,
.top-services ul,
.company-info ul,
.values-benefits ul,
.seller-service ul,
.seller-benefits ul,
.inspection-services ul,
.inspection-methods ul,
.workshop-services ul,
.tech-knowhow ul,
.cookie-policy ul,
.gdpr-section ul,
.privacy-policy ul,
.terms-conditions ul,
.text-section ul, .text-section ol {
  margin-bottom: 20px;
  padding-left: 18px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.features ul li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 var(--lux-shadow);
  padding: 30px 22px 26px 22px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 230px;
  max-width: 270px;
  border-left: 4px solid var(--gold);
  transition: box-shadow 0.22s, border-color 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.features ul li:hover, .features ul li:focus {
  box-shadow: 0 8px 28px var(--lux-shadow-darker);
  border-color: var(--secondary);
}
.features ul img {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
}
.features ul span {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px;
}
.features ul p {
  font-size: 0.98rem;
  color: var(--lux-dark);
}

.top-services ul li span {
  color: var(--gold);
  font-weight: 600;
  margin-left: 10px;
}
.top-services ul li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 1.02rem;
}

/* ============================== 
  MOBILE NAVIGATION (BURGER MENU)
============================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 24px;
  background: var(--gold);
  color: var(--lux-black);
  border: none;
  font-size: 2.0rem;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 300;
  box-shadow: 0 2px 12px var(--lux-shadow);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: #19161e;
  color: #fff;
  transform: translateX(-105%);
  z-index: 2000;
  transition: transform 0.36s cubic-bezier(.71,.01,.31,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 28px 0 28px;
  box-shadow: 0 0 32px var(--lux-shadow-darker);
  overflow-y: auto;
  min-height: 100vh;
  /* Will be set to translateX(0) when open by JS */
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 30px;
  cursor: pointer;
  z-index: 2050;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  padding: 15px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.16s;
  margin-bottom: 2px;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--lux-black);
}


/* =========================
  COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 24px 0 var(--lux-shadow-darker);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  font-size: 1.02rem;
  border-top: 3px solid var(--gold);
  transition: transform 0.32s, opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: var(--lux-black);
  font-family: var(--font-body);
  font-size: 1rem;
  max-width: 530px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.17s, color 0.17s;
  outline: none;
}
.cookie-banner .accept {
  background: var(--gold);
  color: var(--primary);
  border: 1.5px solid var(--gold);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--gold);
  color: var(--lux-black);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 7000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(20, 33, 61, 0.22);
  justify-content: center;
  align-items: center;
  transition: opacity 0.28s;
}
.cookie-modal-backdrop.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  max-width: 410px;
  width: 95vw;
  box-shadow: 0 8px 36px 0 var(--lux-shadow-darker);
  padding: 34px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 8000;
  animation: modalEnter 0.25s cubic-bezier(.85,.08,.47,1);
}
@keyframes modalEnter {
  0% { transform: translateY(30px) scale(.97); opacity: 0.2; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-modal input[type=checkbox][disabled] {
  filter: grayscale(100%);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1250px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 1000px) {
  .features ul {
    gap: 11px;
  }
  .features ul li {
    min-width: 170px;
    max-width: 47vw;
    padding: 20px 10px;
  }
}
@media (max-width: 950px) {
  .hero {
    padding-top: 40px;  
    padding-bottom: 34px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .features ul {
    flex-direction: column;
    gap: 16px;
  }
  .features ul li {
    min-width: 120px;
    max-width: 100%;
  }
}
@media (max-width: 780px) {
  .main-nav ul, .main-nav .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-grid, .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .hero {
    padding: 34px 0 22px 0;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.13rem; }

  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 17px;
  }
}
@media (max-width: 600px) {
  .features ul {
    gap: 0;
  }
  .testimonial-card {
    padding: 12px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 14px;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
    width: 100%;
  }
  .cookie-modal {
    padding: 21px 9px 16px 11px;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 540px) {
  .mobile-menu {
    padding: 24px 8px 0 8px;
  }
  .mobile-menu-close {
    right: 12px;
    top: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    margin-bottom: 22px;
    padding: 13px 0px;
  }
  .footer-info p {
    font-size: 0.87rem;
  }
}

/* ============================
   UTILS, MISC UI POLISH
   ============================ */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.text-section {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* Thank you page */
.thank-you .cta {
  margin-top: 16px;
}

/* Quick contact section */
.quick-contact ul li strong,
.contact-info ul li strong,
.top-services ul li strong,
.about ul li strong {
  color: var(--primary);
  font-weight: 700;
}

/* For fixed position elements stacking and overlay clarity */
.mobile-menu, .cookie-banner, .cookie-modal-backdrop {
  will-change: transform, opacity;
}

/* Remove touch highlight in iOS for buttons */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Hide scrollbars in mobile menu & modal for clean look */
.mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--lux-gray);
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {
  width: 8px;
  background: var(--lux-gray);
}
.mobile-menu::-webkit-scrollbar-thumb,
.cookie-modal::-webkit-scrollbar-thumb {
  background: var(--gold);
}

/* =========================
   LUXURY PREMIUM MICRO-EFFECTS
   ========================= */
.section, .card, .features ul li, .testimonial-card {
  transition: box-shadow 0.24s, border-color 0.16s, background 0.26s;
}

a.cta::after {
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
  margin-left: 8px;
  vertical-align: middle;
  transition: border-color 0.2s;
}
a.cta:hover::after, a.cta:focus::after {
  border-color: #fff;
}

/* ============
   FORMS (if any)
   ============ */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--lux-gray);
  outline: none;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 4px 12px var(--lux-shadow);
}

/* ============
   VISUAL GOLD ACCENTS
   ============ */
h1, h2, h3, h4, h5, h6 {
  position: relative;
}
h2:after, h1:after {
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: 10px;
  margin-bottom: 8px;
}

/* ============
   ACCESSIBILITY/CONTRAST
   ============ */
.section, .testimonial-card, .card, .features ul li {
  color: #161621;
}
.testimonial-card,
.testimonial-card p {
  color: #18151c !important;
  background: #fff;
}

/* Ensure spacing between all main-level cards/sections */
.section, .card, .testimonial-card, .features ul li {
  margin-bottom: 20px;
}

/* ==== Remove accidental absolute/overlapping ==== */
.card, .testimonial-card, .features ul li, .footer-info, .content-wrapper {
  position: relative;
  z-index: 1;
}

/* ============
   PREVENT SELECTION (for logo/button interaction refinement)
   ============ */
.logo, .main-nav a.cta, .mobile-menu-toggle, .mobile-menu-close {
  -webkit-user-select: none;
  user-select: none;
}

/* ============
   DEBUG/NO GRID/NO COLUMNS
   ============ */
/* Never use grid or columns */
