/* ===== 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, 
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 {
  background: #23264d;
  color: #f8f9fa;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #dbb15d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fffbe8;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --color-primary: #23264d;
  --color-secondary: #dbb15d;
  --color-accent: #f8f9fa;
  --color-bg-dark: #1a1d33;
  --color-bg-card: #262941;
  --color-bg-highlight: #575e7d;
  --color-border: #383b54;
  --color-metall: #adb5bd;
  --color-danger: #ca4141;
  --radius-default: 12px;
  --shadow-card: 0 2px 16px 2px rgba(35, 38, 77, 0.08), 0 1.5px 3px 0 rgba(15, 16, 36, 0.10);
  --transition: 0.25s cubic-bezier(.5,.5,0,1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0.02em;
  font-weight: 600;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.11rem;
  margin-bottom: 30px;
  color: #cdd0ea;
  line-height: 1.6;
}
p {
  margin-bottom: 18px;
  line-height: 1.6;
}
address {
  font-style: normal;
  margin-bottom: 18px;
  color: var(--color-metall);
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--color-bg-highlight);
  line-height: 1.45;
  margin-bottom: 10px;
  border-left: 3px solid var(--color-secondary);
  padding-left: 16px;
}
cite {
  color: var(--color-secondary);
  font-size: .98rem;
  font-style: normal;
  font-family: var(--font-body);
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.section {
  background: var(--color-bg-dark);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-card);
}

/* ===== MAIN NAVIGATION ===== */
header {
  background: var(--color-primary);
  box-shadow: 0 1px 8px 0 rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 26px;
}
header img {
  height: 36px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: #e9ecef;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 5px;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-bg-highlight);
  color: var(--color-secondary);
}
.main-nav a.cta {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 20px;
  box-shadow: 0 2px 6px rgba(35,38,77,0.13);
  transition: background var(--transition), color var(--transition);
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #ffd27b;
  color: var(--color-primary);
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-secondary);
  background: transparent;
  border: none;
  padding: 4px 10px;
  transition: color var(--transition);
  z-index: 70;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,38,77,0.98);
  box-shadow: 2px 0 24px 6px rgba(0,0,0,0.21);
  transform: translateX(-100vw);
  transition: transform 0.29s cubic-bezier(.7,.1,.64,1.02);
  z-index: 1200;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: var(--color-secondary);
  background: transparent;
  border: none;
  margin: 23px 18px 12px 0;
  padding: 2px 8px;
  cursor: pointer;
  transition: color var(--transition) background var(--transition);
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-bg-highlight);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 12px 8px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 10px;
  }
  header img {
    height: 30px;
  }
}

/* ===== HERO & GENERAL SECTION STYLES ===== */
main {
  padding-bottom: 36px;
}
section {
  background: var(--color-bg-card);
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) {
  section {
    padding: 28px 5px;
    margin-bottom: 36px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style-type: none;
  margin: 0 0 0 0;
  padding: 0;
}
.feature-grid li {
  background: var(--color-bg-highlight);
  color: var(--color-accent);
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-card);
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 310px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  transition: transform 0.17s, box-shadow 0.18s;
  margin-bottom: 20px;
  border: 1.5px solid var(--color-border);
}
.feature-grid li:hover {
  transform: translateY(-4px) scale(1.022);
  box-shadow: 0 7px 30px -7px rgba(45,49,88,0.21);
  border-color: var(--color-secondary);
}
.feature-grid img {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

/* ===== CARDS AND FLEX LAYOUTS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border 0.22s;
  border: 1.5px solid var(--color-border);
}
.card:hover {
  box-shadow: 0 8px 32px -6px rgba(35,38,77,0.14);
  border-color: var(--color-secondary);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid,
  .card-container,
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  color: #23264d;
  border-radius: var(--radius-default);
  box-shadow: 0 3px 12px -3px rgba(35,38,77,0.10);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 640px;
  font-size: 1rem;
  border-left: 6px solid var(--color-secondary);
  border-right: 1.5px solid var(--color-border);
}
.testimonial-card blockquote {
  color: #23264d;
  border-left: 0;
  padding: 0;
  font-family: var(--font-display);
}
.testimonial-card cite {
  color: var(--color-secondary);
  font-style: normal;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 15px 8px;
    font-size: .99rem;
  }
}

/* ===== CTA BUTTONS ===== */
.cta {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.10rem;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(219, 177, 93, 0.11);
  border: none;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 10px;
  gap: 7px;
}
.cta:hover, .cta:focus {
  background: #f2c877;
  color: #1a1d33;
  transform: translateY(-2px) scale(1.022);
  box-shadow: 0 5px 18px -5px #dbb15d55;
  outline: none;
}

/* ===== FAQ PREVIEW (For Blocks) ===== */
.faq-preview {
  background: var(--color-bg-dark);
  border-radius: 10px;
  padding: 24px 18px;
  margin-top: 16px;
  color: var(--color-metall);
  box-shadow: 0 1px 6px 0 rgba(35,38,77,.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-preview ul {
  margin-left: 1em;
  margin-bottom: 0;
}
.faq-preview h3 {
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.faq-preview a {
  color: var(--color-secondary);
  font-weight: 500;
  text-decoration: underline;
}
.faq-preview a:hover {
  color: #fffbe8;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-bg-dark);
  color: var(--color-metall);
  padding: 32px 0 16px 0;
  border-top: 2px solid var(--color-border);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 21px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-metall);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.brand-signature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 7px;
}
.brand-signature img {
  height: 40px;
  width: auto;
  filter: grayscale(0.2) brightness(0.98) contrast(1.1);
  border-radius: 7px;
}
.brand-signature p, .brand-signature small {
  color: var(--color-metall);
  font-family: var(--font-body);
}
.brand-signature small {
  font-size: 11px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-card);
  color: var(--color-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: center;
  padding: 21px 14px;
  z-index: 1500;
  box-shadow: 0 -5px 30px -7px #1a1d3380;
  font-size: 1rem;
  border-top: 2px solid var(--color-border);
  animation: slideUpBanner 0.59s cubic-bezier(.49,.63,.38,.98);
}
@keyframes slideUpBanner {
  0% { transform: translateY(110%); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 auto;
  max-width: 580px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 18px;
  padding: 7px 21px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin: 0 1px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 10px -4px #dbb15d21;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff0cb;
  color: var(--color-primary);
  outline: none;
}
.cookie-btn.reject {
  background: var(--color-danger);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f97a7a;
  color: #23264d;
}
.cookie-btn.settings {
  background: var(--color-bg-dark);
  color: var(--color-secondary);
  border: 1.3px solid var(--color-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #23264d;
  color: #f8f9fa;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,38,77,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1555;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--color-bg-card);
  color: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 5px 38px -6px #1a1d3377;
  padding: 28px 20px 22px 20px;
  min-width: 300px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: appearModal 0.36s cubic-bezier(.5,.6,.5,1.32);
}
@keyframes appearModal {
  0% { opacity: 0; transform: scale(.94) translateY(60px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}
.cookie-switch {
  position: relative;
  width: 40px;
  height: 22px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 40px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
  z-index: 2;
  cursor: pointer;
}
.cookie-slider {
  position: absolute;
  top: 1px; left: 0;
  width: 40px;
  height: 20px;
  background: #575e7d;
  border-radius: 17px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-secondary);
}
.cookie-slider:after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.20s, background 0.18s;
  transform: translateX(2px);
  box-shadow: 0 1px 5px rgba(35,38,77,0.13);
  position: absolute;
  left: 0; top: 1px;
}
.cookie-switch input:checked + .cookie-slider:after {
  transform: translateX(20px);
  background: #fff3dc;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  color: var(--color-secondary);
  font-size: 1.3rem;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-top: -6px;
  margin-right: -4px;
}
.cookie-modal-close:hover {
  color: #fff1ca;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 5px;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 22px 7vw;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}
.w-100 {
  width: 100%!important;
}
.mtb-40 {
  margin: 40px 0!important;
}
.gap-8 {
  gap: 8px;
}
.gap-24 {
  gap: 24px;
}

/* ===== FORMS (if used) ===== */
input, textarea, select {
  font-family: var(--font-body);
  background: var(--color-bg-card);
  color: var(--color-accent);
  border: 1.5px solid var(--color-border);
  padding: 11px 10px;
  border-radius: 7px;
  margin-bottom: 16px;
  font-size: 1rem;
  width: 100%;
  transition: border-color var(--transition), background 0.24s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  background: var(--color-bg-highlight);
  outline: none;
}
label {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ===== ACCENT DECORATIVE LINES, METALLIC EFFECTS ===== */
hr {
  border: 0;
  border-top: 1.7px solid var(--color-secondary);
  margin: 30px 0;
  opacity: 0.32;
}

/* ===== MEDIA QUERIES FOR LAYOUT ===== */
@media (max-width: 991px) {
  .brand-signature {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .feature-grid {
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .feature-grid li {
    min-width: 170px;
    max-width: 99%;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
}

/* ===== INDUSTRIAL FONT STYLES ===== */
body, input, select, textarea, .main-nav a, .mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 400;
}
h1, h2, h3, h4, .cta, .feature-grid strong, .testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
a:focus, button:focus, .cta:focus, .mobile-menu-close:focus {
  outline: 2px solid #dbb15d;
  outline-offset: 2px;
}

/* ===== SCROLLBAR INDUSTRIAL STYLE ===== */
::-webkit-scrollbar {
  width: 12px;
  background: #25274c;
}
::-webkit-scrollbar-thumb {
  background: #575e7d;
  border-radius: 7px;
  border: 2px solid #2c2e51;
}
::-webkit-scrollbar-thumb:hover {
  background: #dbb15d;
}

/* ===== ANIMATIONS ===== */
.cta, .card, .feature-grid li, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.18s, border-color 0.19s, background 0.19s, color 0.19s, transform 0.19s;
}

/* ===== MISCELLANEOUS ===== */
::selection {
  background: #dbb15d66;
  color: var(--color-primary);
}

/* ===== END OF CSS ===== */
