/* ================================================================
   CSS RESET & BASELINE STYLES
================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #22201c;
  color: #F7F5ED;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #A37C2D;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #F7F5ED;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #2A2420;
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #3A2922;
}
th {
  background: #28211c;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}
address {
  font-style: normal;
}

/* ================================================================
   BRAND COLORS, TYPOGRAPHY, UTILITIES
================================================================ */
:root {
  --color-primary: #3A2922;
  --color-secondary: #A37C2D;
  --color-accent: #F7F5ED;
  --color-bg-dark: #22201c;
  --color-card: #28211c;
  --color-metal-dark: #4A413B;
  --color-text: #F7F5ED;
  --color-heading: #F7F5ED;
  --color-secondary-text: #b2afac;
  --color-border: #483b29;
  --color-card-shadow: #19171066;
  --radius-lg: 16px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 4px 18px 0 rgba(26,24,19,0.13), 0 1.5px 3px 0 rgba(65,60,44,0.09);
  --shadow-hover: 0 6px 24px 0 rgba(26,24,19,0.24);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition-base: 0.25s cubic-bezier(.44,.23,.12,1.12);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; }
.text-section h2, .text-section h3 { margin-top: 18px; }

p, ul, ol {
  margin-bottom: 18px;
  color: var(--color-text);
}

strong {
  color: var(--color-secondary);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================================================================
   HEADER & NAVIGATION (Desktop)
================================================================ */
header {
  width: 100%;
  background: var(--color-card);
  box-shadow: 0 2px 10px 0 rgba(34,32,28,0.09);
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
header a img {
  height: 44px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-base);
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
}
.cta-button {
  background: linear-gradient(90deg, #A37C2D 78%, #d0b66b 100%);
  color: #22201c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.025em;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  margin-left: 8px;
  box-shadow: 0 2px 7px 0 rgba(163,124,45,0.10);
  cursor: pointer;
  transform: translateY(0);
  transition: all .18s cubic-bezier(.33,.56,.57,1.31);
  text-shadow: none;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  background: #644910;
  color: #F7F5ED;
  box-shadow: 0 4px 13px 0 rgba(163,124,45,0.17);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* Hide mobile toggler on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ================================================================
   MOBILE NAVIGATION
================================================================ */
@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    align-items: center;
  }
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 24px;
    top: 24px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--color-secondary);
    cursor: pointer;
    z-index: 50;
    padding: 6px 10px;
    height: 48px;
    width: 48px;
    align-items: center;
    justify-content: center;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #26221b;
  box-shadow: 0 2px 30px 0 rgba(25,20,10,0.29);
  z-index: 1000;
  transform: translateX(-102vw);
  transition: transform 0.28s cubic-bezier(.56,.48,.6,1.11);
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.32s cubic-bezier(.24,.78,.21,1.18), opacity 0.22s;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 30px 24px 0;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.3rem;
  cursor: pointer;
  padding: 4px 14px;
  z-index: 1100;
  transition: color .19s;
}
.mobile-menu-close:hover {
  color: #F7F5ED;
  background: #A37C2D08;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 40px 70px 32px;
  width: 100%;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.mobile-nav a {
  color: var(--color-accent);
  font-weight: 700;
  padding: 10px 0 8px 3px;
  border-bottom: 1px solid #493a1917;
  min-width: 180px;
  transition: color 0.19s, background 0.20s;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: #A37C2D09;
}
@media (max-width: 600px) {
  .mobile-nav {
    padding: 26px 18px 100px 16px;
    font-size: 1.13rem;
    gap: 21px;
  }
}

/* ================================================================
   HERO, SECTIONS, CARDS, GRIDS, FLEXBOX LAYOUTS
================================================================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  justify-content: space-between;
  align-items: flex-start;
}
.feature {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 24px 20px;
  flex: 1 1 235px;
  min-width: 235px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #493a19;
  transition: box-shadow .19s, border .19s;
}
.feature:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
  transform: translateY(-2px) scale(1.018);
}
.feature img {
  height: 46px;
  width: 46px;
  margin-bottom: 3px;
  filter: grayscale(24%) brightness(1.1);
}

/* Card container (for grids if needed) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
}
.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;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #F7F5ED;
  color: #2A2420;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px 0 #19171011;
  padding: 20px 28px;
  margin-bottom: 22px;
  min-width: 240px;
  max-width: 480px;
  border: 1.5px solid #e1dac7;
  transition: box-shadow .21s, border .17s;
}
.testimonial-card p {
  color: #26221b;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #81662d;
  font-size: 0.99rem;
  letter-spacing: 0.01em;
  font-family: var(--font-body);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 24px 0 #cbb27938;
  border-color: #dbc267;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.case-study-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 14px;
}
.case-study {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 400px;
  padding: 22px 18px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid #493a19;
  transition: box-shadow .18s, border .15s;
}
.case-study:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.faq-item h3 {
  color: var(--color-secondary);
  margin-bottom: 5px;
  cursor: pointer;
  font-size: 1.15rem;
}
.faq-item p {
  margin-left: 10px;
  margin-bottom: 6px;
}

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

/* ================================================================
   BUTTONS & LINKS
================================================================ */
button, input[type=button], input[type=submit] {
  outline: none;
  font: inherit;
}
button {
  cursor: pointer;
  background: var(--color-secondary);
  color: #22201c;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background .18s, color .18s, box-shadow .19s;
}
button:hover, button:focus {
  background: #917022;
  color: #F7F5ED;
}

/* Table ZEBRA for industrial look */
table tbody tr:nth-child(even) td {
  background: #22201c;
}
td, th {
  border-right: 1px solid #493a19;
}
td:last-child, th:last-child {
  border-right: none;
}
/* For pricing tables */
td {
  font-size: 1rem;
}

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--color-card);
  color: var(--color-secondary-text);
  font-size: 0.99rem;
  padding: 50px 0 30px 0;
  margin-top: 40px;
  border-top: 2px solid #4B3B1A44;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 58px;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.footer-links a {
  color: #b2afac;
  font-weight: 500;
  font-size: 1.04rem;
  padding-bottom: 4px;
  border-bottom: 1px solid #A37C2D12;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-secondary);
}
.footer-contact address,
.footer-contact p {
  color: #b2afac;
  font-size: 0.98rem;
  margin-bottom: 7px;
}
.footer-contact a {
  color: #F7F5ED;
  transition: color 0.19s;
}
.footer-contact a:hover {
  color: #A37C2D;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}
.footer-social img {
  filter: grayscale(53%) brightness(1.18);
  height: 28px;
  width: 28px;
  transition: filter .12s;
}
.footer-social img:hover {
  filter: grayscale(0%) brightness(1.35);
}
footer small {
  display: block;
  margin-top: 33px;
  font-size: 0.88rem;
  color: #8d887b;
  letter-spacing: 0.005em;
  opacity: 0.98;
}

/* ================================================================
   COOKIE CONSENT BANNER + MODAL
================================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  width: 100vw;
  max-width: 100vw;
  background: #2A2420;
  color: #F7F5ED;
  box-shadow: 0 -2px 22px 0 #00000020;
  z-index: 2100;
  padding: 22px 40px 22px 32px;
  gap: 34px;
  border-top: 2px solid #A37C2D44;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .26s, transform .21s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-banner-message {
  flex: 1 1 420px;
  color: #F7F5ED;
  font-size: 1.04rem;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent-btn,
.cookie-settings-btn {
  background: #A37C2D;
  color: #22201c;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: background .14s, color .14s, box-shadow 0.19s;
  box-shadow: 0 2px 7px 0 #A37C2D30;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus { background: #806315; color: #F7F5ED; }
.cookie-reject-btn {
  background: #4A413B;
  color: #F7F5ED;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  margin-right: 6px;
  transition: background .16s, color .13s;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus { background: #2A2420; color: #A37C2D; }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%) scale(1);
  z-index: 2200;
  background: #28211c;
  color: #F7F5ED;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 #00000040;
  padding: 36px 34px 32px 34px;
  min-width: 315px;
  max-width: 95vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  transition: opacity .24s, transform .24s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 60%) scale(.88);
}
.cookie-modal h2 {
  color: #A37C2D;
  font-size: 1.5rem;
  margin-bottom: 6px;
  margin-top: 0;
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  margin-right: 0;
  appearance: none;
  width: 36px;
  height: 20px;
  background: #3A2922;
  outline: none;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .14s;
}
.cookie-modal .cookie-toggle:checked {
  background: #A37C2D;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  top: 3px; left: 4px;
  width: 14px;
  height: 14px;
  background: #F7F5ED;
  border-radius: 50%;
  transition: left .14s, background .08s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 18px;
  background: #22201c;
}
.cookie-modal .cookie-category.essential {
  opacity: 0.7;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 13px 16px 10px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    width: 97vw;
    min-width: 0;
    padding: 20px 10px 12px 10px;
    font-size: 0.97rem;
  }
}

/* ================================================================
   MEDIA QUERIES - RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 910px) {
  .features-grid {
    gap: 20px;
  }
  .section, .content-wrapper {
    padding: 32px 10px;
  }
  .case-study-grid {
    gap: 17px;
  }
}
@media (max-width: 780px) {
  .features-grid,
  .case-study-grid,
  .testimonial-slider {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .feature, .case-study {
    max-width: 100%;
    min-width: unset;
    width: 100%;
  }
  .content-grid, .container {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.45rem;
  }
}
@media (max-width: 540px) {
  body {
    font-size: 0.99rem;
  }
  .section, .content-wrapper {
    padding: 20px 2px;
  }
  .testimonial-card, .case-study, .feature {
    padding: 13px 8px 13px 12px;
  }
  footer {
    padding: 32px 0 20px 0;
  }
}

/* ================================================================
   SCROLLBARS 
================================================================ */
::-webkit-scrollbar {
  width: 8px;
  background: #22201c;
}
::-webkit-scrollbar-thumb {
  background: #3A2922;
  border-radius: 4px;
}

/* ================================================================
   MICRO-INTERACTION & ANIMATION
================================================================ */
.cta-button, .feature, .testimonial-card, .case-study, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow .22s, background .20s, border .17s, color .18s, opacity .20s, transform var(--transition-base);
}

/* ================================================================
   UTILITIES
================================================================ */
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }

/* ================================================================
   PRINT 
================================================================ */
@media print {
  *, *:before, *:after { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  a, a:visited { color: #000 !important; text-decoration: underline; }
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .section, .content-wrapper, .container { padding: 0 !important; margin: 0 !important; }
}
