/* --- CSS RESET & BASE --- */
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #23272A;
  color: #F6E7CB;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}
button {
  cursor: pointer;
}

/* --- BRANDING CSS VARIABLES --- */
:root {
  --color-primary: #35495E;
  --color-secondary: #3C4352;
  --color-accent: #F6E7CB;
  --color-metal: #7C838A;
  --color-bg-section: #23272A;
  --color-shadow: rgba(0,0,0,0.40);
  --color-card-bg: #2E3238;
  --color-card-metal: #40444B;
  --color-cta-bg: #F6E7CB;
  --color-cta-fg: #23272A;
  --color-link-hover: #DEB769;
  --color-border: #43474E;
}

/* --- FONTS (load in HTML required) --- */
/* Merriweather for display, Roboto for text */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

body, p, ul, ol, li, blockquote, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-accent);
}

.subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0.92;
}

strong { font-weight: 700; }
blockquote {
  border-left: 4px solid var(--color-metal);
  margin: 24px 0;
  padding-left: 18px;
  font-style: italic;
  color: var(--color-accent);
  opacity: 0.95;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 16px;
  box-shadow: 0 6px 32px var(--color-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 240px;
  transition: box-shadow 0.20s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 32px var(--color-metal);
  transform: translateY(-4px) scale(1.025);
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 20px;
}
.feature-grid > div {
  background: var(--color-card-metal);
  border-radius: 10px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 28px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
}
.feature-grid > div img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px var(--color-shadow);
  border-color: var(--color-link-hover);
  transform: translateY(-3px) scale(1.025);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #F6E7CB;
  color: #23272A;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 440px;
  font-size: 1.07rem;
  box-shadow: 0 2px 15px rgba(44,51,61,0.14);
}
.testimonial-card p {
  color: #23272A;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #6F727D;
  font-style: italic;
}

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

/* --- HERO --- */
.hero {
  background: linear-gradient(120deg, #23272A 80%, #35495E 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 10px 45px -12px var(--color-shadow);
  margin-bottom: 44px;
  padding: 56px 0 40px 0;
  min-height: 320px;
}
.hero .container .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hero h1 {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 2.2rem;
}

/* --- NAVIGATION / HEADER --- */
header {
  width: 100%;
  background: #23272A;
  border-bottom: 1.5px solid var(--color-border);
  box-shadow: 0 2px 18px -8px var(--color-shadow);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  min-height: 70px;
}
.logo img {
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  color: var(--color-accent);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.17s;
  padding: 4px 7px;
  border-radius: 4px;
}
nav a:hover, nav a:focus {
  color: var(--color-link-hover);
  background: #353942;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cta-bg);
  color: var(--color-cta-fg);
  font-family: 'Merriweather', serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 7px;
  padding: 10px 28px;
  font-size: 1.08rem;
  margin-left: 16px;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 1px 7px rgba(34,32,28,0.09);
  transition: background 0.12s, color 0.12s, transform 0.15s;
}
.cta:hover, .cta:focus {
  background: #DEB769;
  color: #23272A;
  transform: scale(1.045);
}
.cta.primary {
  background: var(--color-link-hover);
  color: #23272A;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-accent);
  border: none;
  font-size: 2.1rem;
  margin-left: 16px;
  z-index: 60;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-link-hover);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #23272A;
  box-shadow: 3px 0 18px rgba(20,20,23,0.20);
  z-index: 120;
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(.62,.2,.37,1), opacity 0.20s, visibility 0.20s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  margin: 18px 0 12px 20px;
  font-size: 2.3rem;
  color: var(--color-accent);
  background: none;
  border: none;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-link-hover);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 24px;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 4px;
  transition: color 0.15s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-link-hover);
  background: #353942;
}

/* --- FOOTER --- */
footer {
  background: #23272A;
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -2px 28px -16px var(--color-shadow);
  padding: 38px 0 26px 0;
  font-size: 1rem;
  margin-top: 64px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 13px;
  justify-content: center;
}
.footer-nav a {
  color: var(--color-metal);
  font-size: 1rem;
  text-decoration: underline dotted var(--color-border);
  opacity: 0.9;
  transition: color 0.17s, opacity 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-link-hover);
  opacity: 1;
}
.footer-contact, .footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-social img {
  height: 28px;
  margin-right: 8px;
  opacity: 0.88;
}
.footer-social span {
  color: var(--color-accent);
  opacity: 0.7;
}
address {
  font-style: normal;
  color: var(--color-metal);
  opacity: 0.72;
}

/* --- UTILITY --- */
.map-placeholder {
  display: flex;
  background: #292D33;
  border-radius: 8px;
  color: var(--color-metal);
  padding: 16px 18px;
  margin: 0 0 18px 0;
  align-items: center;
}

/* --- BUTTONS --- */
button, .cta {
  transition: all 0.13s cubic-bezier(.47,1.34,.62,1.08);
}
button:active, .cta:active {
  transform: scale(0.96);
}

/* --- LINKS --- */
a {
  transition: color 0.15s, background 0.11s;
}
a:focus {
  outline: 2px solid var(--color-link-hover);
  outline-offset: 2px;
}

/* --- LISTS --- */
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
  color: var(--color-accent);
}
ul li, ol li {
  margin-bottom: 9px;
  padding-left: 2px;
  font-size: 1rem;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: var(--color-metal);
  font-size: 1.2em;
  font-weight: bold;
  display: inline-block;
  width: 22px;
  margin-left: -22px;
}
ol {
  counter-reset: item;
}
ol li {
  counter-increment: item;
}
ol li::before {
  content: counter(item) ". ";
  color: var(--color-link-hover);
  font-weight: bold;
  margin-right: 4px;
  width: 18px;
  display: inline-block;
}

/* --- TABLES (if any) --- */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}
th, td {
  border-bottom: 1px solid var(--color-border);
  padding: 10px;
}
th {
  background: var(--color-card-metal);
  color: var(--color-accent);
  font-family: 'Merriweather', serif;
  font-size: 1rem;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  .content-wrapper {
    max-width: 97vw;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div {
    flex: 1 1 160px;
    max-width: 100%;
  }
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 9px;
  }
  nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container, .content-wrapper {
    padding: 0 10px;
    max-width: 100vw;
  }
  .hero {
    padding: 44px 0 28px 0;
    min-height: 210px;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 30px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    max-width: 98vw;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .footer-nav, .footer-contact, .footer-social {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .hero .container .content-wrapper {
    padding: 0 4px;
    font-size: 1rem;
  }
  h1 {font-size: 1.05rem;}
  h2 {font-size: 0.97rem;}
  .testimonial-card { max-width: 99vw; }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.section, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.22s, border 0.17s, transform 0.19s, background 0.13s;
}
a, button, .cta {
  transition: color 0.17s, background 0.17s, border 0.13s, transform 0.12s;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23272A;
  color: var(--color-accent);
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -4px 18px rgba(24,23,21,0.20);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px 18px 10px;
  font-size: 1rem;
  gap: 13px;
  animation: cookieBounceIn 0.33s cubic-bezier(.22,1.47,.38,1) forwards;
}
@keyframes cookieBounceIn {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--color-accent);
  margin-bottom: 7px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 6px;
  background: var(--color-card-metal);
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.primary {
  background: var(--color-cta-bg);
  color: #23272A;
  border: 1.5px solid var(--color-link-hover);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #DEB769;
  color: #23272A;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21,20,19,0.82);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.open {
  opacity: 1; visibility: visible;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
.cookie-modal {
  background: #292D33;
  color: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 10px 48px 2px rgba(0,0,0,0.3);
  padding: 36px 30px 28px 30px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal h2 {
  color: var(--color-accent);
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.cookie-toggle {
  appearance: none;
  width: 42px; height: 22px;
  background: #242930;
  border-radius: 15px;
  border: 1.5px solid var(--color-metal);
  position: relative;
  outline: none;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: var(--color-link-hover);
  border-color: var(--color-link-hover);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 3px; top: 2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s, background 0.14s;
}
.cookie-toggle:checked::after {
  left: 21px;
  background: #23272A;
}
.cookie-modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 22px;
  font-size: 2rem;
  background: none;
  color: var(--color-accent);
  border: none;
}

@media (max-width:520px) {
  .cookie-modal {padding:20px 7px 15px 7px;min-width:220px;}
}

/* ---- ACCESSIBILITY & INTERACTION EXTRAS ---- */
:focus-visible {
  outline: 2px solid var(--color-link-hover) !important;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 7px;
  background: var(--color-card-metal);
}
::-webkit-scrollbar-thumb {
  background: #23272A;
  border-radius: 7px;
}

/* ---- BRANDING & INDUSTRIAL MODERN DECOR ---- */
.section, .card, .feature-grid > div, .testimonial-card, .footer-social, .header, .hero {
  /* Subtle metallic border and industrial shadow */
  box-shadow: 0 3px 18px 2px rgba(43,47,52, 0.10), 0 1px 0 var(--color-border);
}

hr {
  border: 0;
  border-top: 1.5px solid var(--color-border);
  margin: 36px 0;
}

/* --- NO GRID! FLEXBOX ONLY! --- */
/* All layout containers above use only flex + gap! */

/* --- SPACING & VERTICAL RHYTHM --- */
.section, .card, .feature-grid, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
  margin-top: 0;
}
.card, .testimonial-card, .feature-grid > div, .content-wrapper > * {
  margin-bottom: 20px;
}
/* Override margin bottom for last-child */
.content-wrapper > *:last-child,
.section:last-child,
.card:last-child,
.testimonial-card:last-child,
.feature-grid > div:last-child {
  margin-bottom: 0 !important;
}

/* --- Micro Animations --- */
@media (hover: hover) {
  .card:hover, .feature-grid > div:hover, .testimonial-card:hover {
    box-shadow: 0 8px 36px 0 #4d555c33, 0 3px 12px #23272a09;
    transform: scale(1.02) translateY(-2px);
    border-color: var(--color-link-hover);
  }
}

/* --- Z-INDEX STACKING FOR MOBILE MENU/COOKIES --- */
header {
  z-index: 80;
}
.mobile-menu {
  z-index: 120;
}
.cookie-banner {
  z-index: 200;
}
.cookie-modal-overlay {
  z-index: 220;
}

/* --- END OF CSS --- */