/*--- 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #222C36;
  color: #F4F5F6;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
main {
  flex: 1;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #E3C68C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #FFE8B1;
}
ul, ol {
  list-style: none;
}

/*--- FONT IMPORTS ---*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500;700&display=swap');

/*--- VARIABLES (with fallbacks) ---*/
:root {
  --primary: #222C36;
  --secondary: #8C7C6B;
  --accent: #E3C68C;
  --text-light: #F4F5F6;
  --text-dark: #222C36;
  --card-bg: #222C36;
  --card-bg-alt: #27313d;
  --surface: #28303a;
  --border: #393E45;
  --shadow: 0 2px 20px rgba(28,28,28,0.21), 0 1px 2px rgba(0,0,0,0.16);
  --radius: 12px;
  --transition: 0.22s cubic-bezier(0.32, 0, 0.67, 0);
}

/*--- TYPOGRAPHY ---*/
h1, .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
p, li, address {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}
strong {
  color: var(--accent);
  font-weight: 700;
}

/*--- LAYOUT CLASSES & SPACING ---*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-badges {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 12px 0;
}

/*--- HERO SECTION ---*/
.hero {
  background: linear-gradient(90deg, var(--primary) 85%, var(--secondary) 100%);
  padding: 64px 0 40px 0;
  box-shadow: 0 2px 20px rgba(43,44,51,0.15);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero p {
  color: #F4F5F6;
  font-size: 1.18rem;
  max-width: 780px;
  margin: 0 auto 20px auto;
}

/*--- FEATURE GRID ---*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 32px 0 0 0;
}
.feature-grid > li {
  background: var(--card-bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  flex: 1 1 274px;
  min-width: 250px;
  box-shadow: 0 2px 12px rgba(4,4,4,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-grid > li:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px 0 rgba(227,198,140,0.14);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  filter: grayscale(30%) contrast(1.08); /* for industrial look */
  margin-bottom: 4px;
}

/*--- TESTIMONIALS ---*/
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F4F5F6;
  color: #232323;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(34,44,54,0.07);
  padding: 24px 28px;
  min-width: 270px;
  max-width: 420px;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  color: #2a2a2a;
  font-size: 1.08rem;
}
.testimonial-card .testimonial-author {
  font-weight: 500;
  font-size: 1rem;
  color: var(--secondary);
  margin-top: -8px;
}
.star-rating {
  color: #E3C68C;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-top: -10px;
}

/*--- CTA BUTTONS ---*/
.cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  border: none;
  padding: 12px 32px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 2px 6px 0 rgba(34,44,54,0.15);
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
  text-decoration: none;
  margin-top: 16px;
}
.cta:hover,
.cta:focus {
  background: #FFE8B1;
  color: var(--primary);
  box-shadow: 0 4px 20px 0 rgba(227,198,140,0.13);
  outline: none;
}

/*--- NAVIGATION ---*/
header {
  background: var(--primary);
  box-shadow: 0 3px 22px 0 rgba(33,44,54,0.06);
  position: relative;
  z-index: 20;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 10px 0;
  font-family: 'Roboto', Arial, sans-serif;
}
header nav > a img {
  height: 44px;
  width: auto;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition);
}
header nav ul a:hover,
header nav ul a:focus,
header nav ul li.active a {
  background: var(--accent);
  color: var(--primary);
}
header nav .cta {
  margin-left: 16px;
  margin-top: 0;
}

/*--- MOBILE NAVIGATION ---*/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--secondary);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  padding: 4px 22px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 120;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,44,54,0.98);
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(.6,.2,.4,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--accent);
  border: none;
  font-size: 2.3rem;
  margin: 18px 22px 2px 0;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFE8B1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding: 32px 26px 22px 36px;
}
.mobile-nav a {
  font-size: 1.17rem;
  color: var(--text-light);
  padding: 14px 0 14px 2px;
  border-radius: 5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--primary);
  background: var(--accent);
}

/*--- CARDS & CONTENT BLOCKS ---*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 1.25px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px 0 rgba(227,198,140,0.11);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*--- ADDRESS + FOOTER ---*/
footer {
  background: var(--surface);
  color: var(--accent);
  padding: 34px 0 18px 0;
  margin-top: 76px;
  border-top: 2px solid var(--secondary);
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--accent);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.14s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer address {
  text-align: center;
  color: #B8A080;
  margin-bottom: 10px;
}
footer div:last-child {
  text-align: center;
  color: var(--secondary);
  font-size: 0.93rem;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/*--- COOKIE CONSENT BANNER ---*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 4000;
  background: #23292e;
  color: #F4F5F6;
  box-shadow: 0 -2px 16px 2px rgba(0,0,0,0.17);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 18px;
  gap: 24px;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.25s;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner button {
  margin-left: 10px;
}
.cookie-btn,
.cookie-settings-btn {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 9px 24px;
  border-radius: var(--radius);
  font-weight: bold;
  font-size: 1rem;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(227,198,140,0.09);
  transition: background 0.14s, color 0.14s, box-shadow 0.19s;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #2d3841;
  color: #fff;
  border: 1px solid var(--secondary);
}
.cookie-btn:hover,
.cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #FFE8B1;
  color: var(--primary);
  outline: none;
}

/*--- COOKIE MODAL ---*/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,44,54,0.87);
  z-index: 4200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #F4F5F6;
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 4px 28px rgba(25,25,25,0.21), 0 1px 2px rgba(0,0,0,0.12);
  max-width: 430px;
  width: 95vw;
  padding: 34px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #E4E4E3;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-toggle {
  width: 38px; height: 22px;
  background: #8C7C6B;
  border: none; border-radius: 16px;
  position: relative;
  cursor: pointer;
  outline: none;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle[aria-checked="false"] {
  background: #C1BBB2;
}
.cookie-toggle .toggle-knob {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.2s;
}
.cookie-toggle[aria-checked="true"] .toggle-knob {
  left: 18px;
  background: var(--accent);
}
.cookie-category.fixed {
  pointer-events: none;
  opacity: 0.6;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

/*--- GENERAL ELEMENTS ---*/
hr {
  margin: 38px 0 32px 0;
  border: none;
  border-top: 1.5px solid var(--border);
}
/* Style default HTML forms and lists appropriately */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}

/* Lists in text-section and elsewhere */
.text-section ul, .text-section ol, ul:not(.feature-grid):not(.testimonial-list):not(.testimonial-slider) {
  margin-left: 29px;
  margin-bottom: 9px;
  color: var(--accent);
}
.text-section ul li, ul:not(.feature-grid):not(.testimonial-list):not(.testimonial-slider) li {
  list-style: disc;
  color: var(--text-light);
  margin-bottom: 8px;
}
.text-section ol li {
  list-style: decimal;
}

/*--- RESPONSIVE DESIGN ---*/
@media (max-width: 1060px) {
  .feature-grid {
    gap: 18px;
  }
  .card-container { gap: 18px; }
  .testimonial-slider, .testimonial-list { gap: 16px; }
}
@media (max-width: 900px) {
  .feature-grid > li, .card {
    min-width: 210px;
  }
}
@media (max-width: 820px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .feature-grid { gap: 12px; }
  .card-container { gap: 12px; }
}
@media (max-width: 768px) {
  header nav ul {
    display: none;
  }
  header nav .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .section {
    padding: 28px 5px;
  }
  .hero .container {
    padding-left: 0; padding-right: 0;
  }
  .content-wrapper { gap: 17px; }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1, .hero h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  .testimonial-card {
    padding: 16px 13px;
    font-size: 0.97rem;
    min-width: 0;
    max-width: 99vw;
  }
  .section {
    padding: 14px 0;
    margin-bottom: 24px;
  }
  .cta, .cookie-btn, .cookie-settings-btn {
    padding: 10px 17px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 20px 6vw;
  }
}

/*--- SHADOWS, ACCENTS, URBAN DETAILS ---*/
/* Subtle metallic accent lines for section underlines */
h2:after {
  content: "";
  display: block;
  margin: 10px 0 0 0;
  width: 62px;
  height: 2.5px;
  background: linear-gradient(90deg, #C3BAAD 0%, var(--accent) 50%, #8C7C6B 100%);
  border-radius: 2px;
}

/* Industrial/urban font contrasts */
::selection {
  background: #E3C68C;
  color: #1c232a;
}

/* Micro-interactions */
.card, .feature-grid > li, .testimonial-card {
  transition: box-shadow 0.25s, border-color 0.18s;
}
.card:hover, .feature-grid > li:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(140,124,107,0.20);
  border-color: var(--secondary);
}

.cta:active, .cookie-btn:active {
  transform: translateY(1.5px) scale(0.98);
  box-shadow: 0 1px 3px rgba(140,124,107,0.11);
}

/*--- ACCESSIBILITY & FOCUS ---*/
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button:focus-visible {
  outline: 2px solid var(--accent);
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/*--- MISCELLANEOUS ---*/
::-webkit-scrollbar {
  width: 10px;
  background: #23292e;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #181b20;
}

