/* --- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #232B33;
  color: #E6E4E1;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #E3B67A;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:root {
  /* Brand Palette */
  --color-primary: #232B33;
  --color-secondary: #A7A49A;
  --color-accent: #E3B67A;
  --color-contrast-bg: #F7F7F6;
  --color-metallic: #4A545C;
  --color-text: #E6E4E1;
  --color-dark: #181C20;
  --color-muted: #6d7276;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* Typography Hierarchy */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, .h4 {
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p, li, label {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: var(--color-accent);
}
blockquote {
  border-left: 4px solid var(--color-accent);
  color: var(--color-secondary);
  padding: 8px 24px;
  margin: 20px 0;
  font-size: 1.15rem;
  font-style: italic;
}


/* --- GENERAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- HEADER --- */
header {
  background: var(--color-dark);
  border-bottom: 2px solid var(--color-metallic);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-secondary);
  letter-spacing: 0.01em;
  font-weight: 500;
  position: relative;
  transition: color .18s;
}
header nav a:hover, header nav a[aria-current="page"] {
  color: var(--color-accent);
  text-shadow: 0 1px 2px rgba(35,43,51,0.14);
}
header a.primary-cta {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 28px;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(227,182,122,0.04);
  transition: background .19s, color .19s, box-shadow .19s;
  letter-spacing: 0.02em;
  margin-left: 12px;
  display: inline-block;
}
header a.primary-cta:hover, header a.primary-cta:focus {
  background: var(--color-dark);
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 3px 14px rgba(227,182,122,0.09);
  outline: none;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  font-size: 2.3rem;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1002;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-dark);
  box-shadow: -4px 0 24px #181C20BB;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 48px;
  padding-right: 0;
  padding-left: 0;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(0.67,0.16,0.18,0.94);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  color: var(--color-accent);
  background: transparent;
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1110;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #242B34;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 0;
  transition: color .15s, background .15s;
  border-radius: 5px;
  width: 90vw;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #181C20;
}
@media (max-width: 1020px) {
  header .container nav, header a.primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- MAIN LAYOUT & SECTION STYLES --- */
main {
  width: 100%;
  flex: 1 1 100%;
  padding-top: 0;
  background: var(--color-primary);
  min-height: 60vh;
}
section {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}

/* --- CARD AND FLEXBOX UTILS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232B33;
  border: 1.5px solid var(--color-metallic);
  border-radius: 14px;
  box-shadow: 0 2px 8px #1a1e231a, 0 1px 3px #0001;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 270px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .18s, border-color .18s;
}
.card:hover, .card:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 6px 18px #e3b67a18, 0 1.5px 5px #0002;
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-contrast-bg);
  border-left: 5px solid var(--color-accent);
  border-radius: 10px;
  margin-top: 24px;
  margin-bottom: 24px;
  color: #232B33;
  box-shadow: 0 1px 4px #191C220f;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: #232B33;
  font-size: 1rem;
  font-style: italic;
  margin: 0 0 6px;
}
.testimonial-card strong {
  color: var(--color-metallic);
  font-size: 0.98rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BUTTONS & CTA --- */
.primary-cta, .secondary-cta {
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.042em;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  margin-top: 14px;
  display: inline-block;
  transition: background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  box-shadow: 0 2px 6px #1113  ;
}
.primary-cta {
  background: var(--color-accent);
  color: var(--color-primary);
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 16px #e3b67a30;
  outline: none;
}
.secondary-cta {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.secondary-cta:hover, .secondary-cta:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  outline: none;
}

/* --- FOOTER --- */
footer {
  background: #181C20;
  color: var(--color-secondary);
  padding-top: 44px;
  padding-bottom: 20px;
  border-top: 2px solid var(--color-metallic);
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
}
footer nav a {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: color .15s;
  padding: 4px 0;
}
footer nav a:hover {
  color: var(--color-accent);
}
.store-info {
  font-size: .97rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
.footer-note {
  font-size: .95rem;
  color: var(--color-muted);
  margin-top: 5px;
}


/* --- FORM STYLES (if any forms present) --- */
input, textarea, select {
  background: #232B33;
  color: #E6E4E1;
  border: 1.2px solid var(--color-metallic);
  border-radius: 8px;
  padding: 11px 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  resize: vertical;
  transition: border-color .18s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 1px 4px #e3b67a33;
}
::placeholder {
  color: #A7A49A;
  opacity: 0.82;
}

/* --- SPACING --- */
.content-wrapper > * + * {
  margin-top: 12px;
}
section + section, .section + .section {
  margin-top: 10px;
}
.card + .card {
  margin-left: 20px;
}

/* --- PAGE STRUCTURE FLEX WRAP (for cards/lists) --- */
@media (min-width: 700px) {
  .card-container, .content-grid {
    flex-direction: row;
    align-items: stretch;
  }
  .section, section {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
  }
  .content-wrapper {
    width: 65%;
    max-width: 780px;
  }
}
@media (max-width: 699px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section, section {
    flex-direction: column;
    gap: 0;
  }
  .content-wrapper {
    width: 100%;
    max-width: 100vw;
  }
}

/* --- TEXT-IMAGE FLEX SECTION --- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}

/* --- MEDIA QUERIES: RESPONSIVE --- */
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  
  section, .section {
    padding: 30px 10px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.45rem; }
  h3, .h3 { font-size: 1.12rem; }
  main { padding-top: 0; }
  .testimonial-card {
    padding: 15px 10px;
    gap: 10px;
    font-size: 0.96rem;
  }
}

/* --- MICRO-ANIMATIONS & HOVER EFFECTS --- */
.card, .feature-item, .testimonial-card, .primary-cta, .secondary-cta, .mobile-menu, .mobile-nav a {
  transition: box-shadow 0.2s, border-color 0.18s, background 0.18s, color 0.15s, transform 0.20s;
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
}
.feature-item:hover {
  box-shadow: 0 2px 12px #e3b67a19;
  border-color: var(--color-accent);
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px #232B3350;
  border-color: var(--color-accent);
}

/* --- INDUSTRIAL MODERN DECORATIVE EFFECTS --- */
.card, .testimonial-card {
  box-shadow: 0 1.5px 10px #21262a28, 0 0.5px 2px #9b96722a;
}
.card {
  border-left: 5px solid var(--color-metallic);
}
.card:hover {
  border-left: 5px solid var(--color-accent);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #181C20;
  color: #E6E4E1;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -2px 24px #232b33c0;
  z-index: 9900;
  opacity: 1;
  transform: translateY(0);
  transition: transform .35s, opacity .25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner__text {
  flex: 2 0 220px;
  color: #E6E4E1;
  font-family: var(--font-body);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 0.96rem;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-btn--accept {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid transparent;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: var(--color-dark);
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-btn--reject {
  background: #272b30;
  color: #E6E4E1;
  border: 2px solid var(--color-metallic);
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #232B33;
  color: var(--color-accent);
}
.cookie-btn--settings {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media(max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 11px 14px 11px;
  }
  .cookie-banner__actions {
    width: 100%;
    gap: 16px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -60%) scale(1);
  z-index: 10001;
  background: var(--color-contrast-bg);
  color: #232B33;
  padding: 38px 28px 28px 28px;
  border-radius: 20px;
  box-shadow: 0 8px 46px #232b33b7, 0 2px 6px #A7A49A33;
  min-width: 300px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  pointer-events: all;
  transition: opacity .33s, transform .33s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -40%) scale(0.96);
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  color: var(--color-accent);
  font-size: 1.85rem;
}
.cookie-modal h2 {
  font-size: 1.13rem;
  color: #232B33;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 2px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
  border-radius: 8px;
}
.cookie-category--essential input {
  accent-color: #A7A49A;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 18px;
}
@media(max-width: 500px) {
  .cookie-modal {
    padding: 22px 8px 12px 8px;
    min-width: 200px;
  }
  .cookie-modal__actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- UTILITIES --- */
.muted {
  color: var(--color-muted);
}
.accent {
  color: var(--color-accent);} 
.bg-metallic {
  background: var(--color-metallic);
}
.sm-only { display: none; }
@media (max-width:600px) { .sm-only { display:block; } }

/* --- NO FLEX OVERLAP RULE: enforce logical padding/margins --- */
.card,
.content-wrapper > * {
  min-width: 0;
  min-height: 0;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display:none; }
  body { background: #fff; color: #000; }
}

/* --- END --- */
