/* RESET & NORMALIZE (mobile-first) */
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;
}
body {
  line-height: 1.65;
  background: #22201c;
  color: #e4ded7;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.01em;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #D8BE9C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffb279;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1.2em;
}
li + li {
  margin-top: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; letter-spacing: 0.02em; }
h2 { font-size: 1.9rem; margin-bottom: 18px; letter-spacing: 0.02em; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p {
  margin-bottom: 18px;
  color: #e4ded7;
  font-size: 1.05em;
  line-height: 1.7;
}
strong { color: #D8BE9C; font-weight: 700; }

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  background: #30291e;
}
::-webkit-scrollbar-thumb {
  background: #8C6753;
  border-radius: 6px;
}

/* ELEMENT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section,
.features-section,
.team-section,
.about-section,
.cta-section,
.contact-section,
.legal-section,
.thank-you-section,
.services-section,
.testimonials-section,
.contact-info-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-section {
  margin-bottom: 24px;
  padding: 0 0 0 0;
}

/* FLEX LAYOUTS (MANDATORY) */
.feature-grid, .highlighted-items-grid, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #29251d;
  border: 1.5px solid #3f392f;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(45, 38, 29, 0.15);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 36px 0 rgba(139, 100, 71, 0.26);
  border-color: #8C6753;
}
.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: #f3f1ed;
  border-left: 4px solid #8C6753;
  box-shadow: 0 2px 10px rgba(60,45,30,.08);
  border-radius: 13px;
  margin-bottom: 20px;
  color: #22201c;
}
.testimonial-card blockquote {
  margin: 0 0 8px 0;
  font-size: 1.1em;
  color: #422b18;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg, #3f2d20 70%, #4B3B28 100%);
  color: #fff;
  padding: 70px 0 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 300px;
}
.hero.small { padding: 50px 0 32px 0; min-height: 170px; }
.hero h1 { font-size: 2.4rem; font-weight: 700; }
.hero .subheadline, .hero .tagline {
  font-family: 'Roboto', Arial, sans-serif;
  color: #D8BE9C;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

/* NAVIGATION (DESKTOP & MOBILE) */
header {
  background: #24180f;
  border-bottom: 1.5px solid #4B3B28;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1030;
  box-shadow: 0 2px 18px rgba(80,62,44,0.08);
  min-height: 66px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px 0 12px 0;
}
.main-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.13rem;
  color: #D8BE9C;
  letter-spacing: 0.01em;
  margin-right: 2px;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8C6753;
  color: #fff;
}
.main-nav img {
  height: 38px;
  margin-right: 18px;
  vertical-align: middle;
  background: transparent;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #D8BE9C;
  font-size: 2.1rem;
  border: none;
  padding: 6px 12px;
  margin: 4px 6px 0 auto;
  z-index: 1099;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #8C6753;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #25211a;
  z-index: 1200;
  padding-top: 38px;
  padding-left: 18px;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.55,0,.35,1);
  box-shadow: 2px 0 60px 16px rgba(70,50,30,0.20);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #D8BE9C;
  font-size: 2.3rem;
  border: none;
  padding: 8px 12px 8px 4px;
  position: absolute;
  top: 11px; left: 15px;
  z-index: 1230;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #8C6753;
  color: #fff;
}
.mobile-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  color: #f3e6d6;
  padding: 13px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  background: none;
  box-shadow: none;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8C6753;
  color: #fff;
}

/* Utility: Hide mobile nav by default on desktop */
@media (min-width: 990px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav { justify-content: flex-start; }
}
@media (max-width: 989px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 11px; top: 10px;
  }
}

/* BUTTONS & CTA */
.cta-btn {
  background: #8C6753;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  border: none;
  font-size: 1.1rem;
  padding: 13px 38px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 2px 12px 1px rgba(80,62,44,0.15);
  outline: none;
  letter-spacing: 0.04em;
  margin-top: 12px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #4B3B28;
  color: #D8BE9C;
  box-shadow: 0 6px 28px 2px rgba(120,96,70,0.12);
}

/* FEATURE & CATEGORY ICONS */
.feature-grid > div {
  background: #2a2220;
  border-radius: 12px;
  border: 1.5px solid #3f392f;
  padding: 28px 18px 14px 18px;
  flex: 1 1 224px;
  min-width: 180px;
  transition: box-shadow 0.19s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 3px 22px 2px rgba(110,73,60,0.10);
  border-color: #8C6753;
}
.feature-grid img, .feature-grid svg {
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
}

/* HIGHLIGHTED RARITIES */
.highlighted-items-grid > div {
  background: #29251d;
  border-radius: 12px;
  border: 1.5px solid #3f392f;
  flex: 1 1 225px;
  min-width: 180px;
  padding: 21px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
  color: #f0e6dc;
}

/* UNIQUE POINTS & CATEGORY LISTS */
.unique-points ul, .features-section ul, .services-section ul, .team-section ul, .rarity-facts ul, .about-section ul {
  padding-left: 1.1em;
  margin-bottom: 20px;
}
.unique-points h3, .rarity-facts h3 {
  color: #D8BE9C;
}

/* FOOTER */
footer {
  background: #20160f;
  border-top: 1.5px solid #4B3B28;
  padding: 32px 0 16px 0;
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
}
.footer-nav a {
  color: #a38968;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
.footer-nav a:hover, .footer-nav a:focus { color: #D8BE9C; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 22px;
  color: #e6dbc7;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
  filter: grayscale(60%) brightness(0.92);
}
.footer-contact span {
  min-width: 180px;
  display: flex;
  align-items: center;
}

/* LEGAL PAGES & TEXT */
.legal-section h1 {
  font-size: 2rem;
  margin-bottom: 18px;
}
.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #D8BE9C;
}
.legal-section h2 + p { margin-top: 4px;}
.legal-section {
  background: #29251d;
  border-radius: 12px;
  border: 1.5px solid #3f392f;
  color: #e2ddcb;
}

/* THANK YOU PAGE */
.thank-you-section {
  background: #29251d;
  border-radius: 12px;
  border: 1.5px solid #3f392f;
  color: #fdeccb;
  text-align: center;
  box-shadow: 0 2px 12px 0 rgba(45, 38, 29, 0.09);
}

.thank-you-section .cta-btn { margin: 22px auto 0 auto; display: inline-block; }

/* CONTACT INFO */
.contact-info-section {
  background: #241d18;
  border-radius: 16px;
  border: 1.5px solid #3f392f;
  color: #e2ddcb;
}
.contact-info-section img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
  margin-top: -2px;
  filter: grayscale(80%) brightness(0.9);
}
.contact-info-section p {
  margin-bottom: 12px;
}

/* SPACING & VISUAL HIERARCHY */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SHADOWS & BORDERS (INDUSTRIAL FEEL) */
.card, .feature-grid > div, .highlighted-items-grid > div,
.legal-section, .thank-you-section, .contact-info-section {
  box-shadow: 0 2px 20px 0 rgba(44, 34, 26, 0.10);
}

/* INDUSTRIAL METALLIC/ACCENT LINES */
.card, .feature-grid > div, .highlighted-items-grid > div {
  border-left: 4px solid #8C6753;
}
.card:hover, .feature-grid>div:hover, .highlighted-items-grid>div:hover {
  border-color: #D8BE9C;
}

/* TRANSITIONS & INTERACTIVITY */
.card, .cta-btn, .main-nav a, .footer-nav a, .feature-grid > div, .highlighted-items-grid > div, .testimonial-card,
.mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: all 0.22s cubic-bezier(.55,0,.35,1);
}

/* TYPOGRAPHY SCALE */
:root {
  --fs-xs: 0.94rem;
  --fs-sm: 1.06rem;
  --fs-base: 1.17rem;
  --fs-md: 1.28rem;
  --fs-lg: 1.55rem;
  --fs-xl: 2.15rem;
}


/* RESPONSIVE DESIGN (MOBILE FIRST) */
@media (max-width: 1120px) {
  .container { max-width: 94vw; }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .highlighted-items-grid, .footer-contact {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .highlighted-items-grid > div, .card {
    min-width: unset;
    width: 100%;
  }
  .footer-contact {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .hero, .hero.small { padding-top: 32px; padding-bottom: 24px; min-height: unset; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
  .feature-grid, .card-container, .content-grid, .highlighted-items-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.99em;
  }
  .container {
    padding: 0 10px;
  }
  .section, section, .features-section, .cta-section, .about-section, .services-section, .testimonials-section, .contact-section, .thank-you-section, .legal-section {
    margin-bottom: 32px;
    padding: 22px 6px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .card, .feature-grid > div, .highlighted-items-grid > div {
    padding: 22px 13px;
  }
}

/* FOCUS OUTLINES FOR ACCESSIBILITY */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px solid #D8BE9C;
  outline-offset: 1px;
}


/* -- COOKIE BANNER & MODAL -- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #31281B;
  color: #fff;
  padding: 18px 20px;
  z-index: 1500;
  box-shadow: 0 -2px 20px 0 rgba(44, 34, 26, 0.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 15px;
  animation: cookie-slide-up .38s cubic-bezier(.44,0,.48,1);
}
@keyframes cookie-slide-up {
  from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; }
}
#cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 5px;
}
.cookie-banner-btn {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  border: none;
  padding: 9px 20px;
  font-size: 1rem;
  margin-right: 2px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(45, 38, 29, 0.09);
  transition: background 0.18s, color 0.16s, box-shadow 0.20s;
}
.cookie-banner-btn.accept {
  background: #8C6753;
  color: #fff;
}
.cookie-banner-btn.accept:hover, .cookie-banner-btn.accept:focus { background: #4B3B28; color: #D8BE9C; }
.cookie-banner-btn.reject {
  background: #4B3B28;
  color: #fff;
}
.cookie-banner-btn.reject:hover, .cookie-banner-btn.reject:focus { background: #8C6753; color: #fff; }
.cookie-banner-btn.settings {
  background: #D8BE9C;
  color: #4B3B28;
  font-weight: 600;
}
.cookie-banner-btn.settings:hover, .cookie-banner-btn.settings:focus {
  background: #fff3e2;
  color: #7B4229;
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #29251d;
  color: #fff2dc;
  border-radius: 15px;
  box-shadow: 0 12px 100px 0 rgba(44, 34, 26, 0.23);
  border: 2px solid #8C6753;
  z-index: 1900;
  max-width: 94vw;
  min-width: 290px;
  width: 380px;
  padding: 32px 22px 22px 22px;
  animation: modal-pop .34s cubic-bezier(.44,0,.48,1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.89); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
#cookie-modal h2 {
  color: #D8BE9C;
  font-size: 1.21rem;
  letter-spacing: 0.03em;
}
.cookie-categories {
  margin: 22px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-category label {
  font-size: 1.04rem;
  color: #eee3d1;
  cursor: pointer;
}
.cookie-toggle {
  width: 39px; height: 22px;
  border-radius: 17px; border: none;
  background: #534c44;
  position: relative;
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-toggle.enabled { background: #8C6753; }
.cookie-toggle::before {
  content: '';
  display: block;
  width: 17px; height: 17px;
  background: #fff4ee;
  border-radius: 50%;
  position: absolute;
  top: 2.5px; left: 3px;
  transition: left 0.19s;
}
.cookie-toggle.enabled::before { left: 19px; }
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
#cookie-modal .cookie-banner-btn { min-width: 92px; }
#cookie-modal .cookie-banner-btn {
  margin-right: 0;
}
#cookie-modal .cookie-banner-btn.close {
  background: #22201c;
  color: #fff4de;
}
#cookie-modal .cookie-banner-btn.close:hover, #cookie-modal .cookie-banner-btn.close:focus {
  background: #8C6753;
  color: #fff;
}
@media (max-width: 420px) {
  #cookie-modal { padding: 14px 2px 12px 2px; width: 98vw; min-width: unset; }
}

/* GENERAL FORMS (if present in the future) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  border: 1.4px solid #3f392f;
  border-radius: 7px;
  background: #29251d;
  color: #fff2dc;
  margin-bottom: 18px;
  transition: border 0.19s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #8C6753;
}

/* --- INDUSTRIAL DETAILS --- */
.card, .feature-grid > div, .highlighted-items-grid > div, .legal-section, .thank-you-section, .contact-info-section {
  box-shadow: 0 2px 20px 0 rgba(80,70,56,0.13);
  border-radius: 14px;
  /* Steel edge accent */
  border-top: 1.8px solid #7B4229;
  border-right: 1.2px solid #b39d7c;
}

/* --- SEPARATORS & METALLIC LINES --- */
hr {
  border: none;
  height: 1.5px;
  background: linear-gradient(to right,#b39d7c 0,#7B4229 50%,#b39d7c 100%);
  opacity: 0.55;
  margin: 22px 0;
}

/* --- 404 & ERROR (future) --- */
.notfound-section {
  background: #2b2116;
  color: #fff2dc;
  border-radius: 16px;
  border: 2.2px solid #8C6753;
  text-align: center;
  padding: 50px 14px;
}

/* --- PRINT OPTIMIZATION --- */
@media print {
  .main-nav, .footer-nav, .mobile-menu, .mobile-menu-toggle, #cookie-banner, #cookie-modal { display: none !important; }
  body { background: #fff; color: #111; }
}
