/* 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;
}
body {
  line-height: 1.5;
  background: #181c22;
  color: #f0ece3;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* FONT FACE (Google Fonts import) --------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');

/* INDUSTRIAL MODERN COLOR PALETTE -------------------------------- */
:root {
  --color-primary: #21334D; /* Navy Blue */
  --color-secondary: #D1BEB0; /* Warm Metallic */
  --color-accent: #F0ECE3; /* Pale Neutral */
  --color-bg-dark: #181c22;
  --color-bg-card: #242932;
  --color-metallic: #BCA37F;  /* subtle bronze */
  --color-error: #d63447;
  --color-success: #179945;
  --shadow: 0 2px 12px rgba(33, 51, 77, 0.13);
}

/* TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--color-secondary);
  letter-spacing: 0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

body, p, li, address {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-accent);
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

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

/* GENERAL LAYOUT ------------------------------------------------ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 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;
}

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

.card {
  background: var(--color-bg-card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid rgba(209,190,176,0.08);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F7F7;
  color: #232323;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(33, 51, 77, 0.067);
  min-width: 230px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-secondary);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(33,51,77,0.15);
  border-left: 5px solid var(--color-metallic);
}
.testimonial-card p {
  font-size: 1.06rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232323;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-primary);
}

/* LISTS & ICONS ------------------------------------------------- */
ul li, ol li {
  padding-left: 0;
  position: relative;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  filter: grayscale(60%) brightness(1.2);
}

/* BUTTONS & CALLS TO ACTION ------------------------------------- */
.cta, .cta:visited {
  background: linear-gradient(90deg, #D1BEB0 60%, #BCA37F 100%);
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 22px;
  text-align: center;
  display: inline-block;
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  margin-top: 8px;
  margin-bottom: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(33, 51, 77, 0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  outline: none;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #BCA37F 0%, #D1BEB0 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 24px 0 rgba(33, 51, 77, 0.20);
  transform: translateY(-2px) scale(1.03);
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--color-metallic);
  color: #181c22;
  border-radius: 9px;
  padding: 10px 18px;
  transition: background 0.18s, color 0.13s, box-shadow 0.2s;
  margin-right: 12px;
}
button:focus, button:hover {
  background: #d1beb0;
  color: #141720;
  box-shadow: 0 2px 12px rgba(209,190,176,0.09);
}

/* HEADER / NAV -------------------------------------------------- */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 20px rgba(33,51,77,0.09);
  position: relative;
  z-index: 50;
  border-bottom: 2px solid var(--color-secondary);
  padding: 0;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 0;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.12s;
  margin-right: 2px;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
header nav .cta {
  margin-left: auto;
  margin-right: 4px;
  background: linear-gradient(90deg, #D1BEB0 60%, #BCA37F 100%);
  color: #181c22;
}
header nav .cta:hover {
  background: linear-gradient(90deg, #BCA37F 0%, #D1BEB0 100%);
  color: var(--color-primary);
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 20px;
  vertical-align: middle;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  color: var(--color-secondary);
  font-size: 2rem;
  border: none;
  z-index: 120;
  padding: 4px 10px;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
  background: rgba(209,190,176,0.10);
  border-radius: 8px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,28,34,0.98);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  box-shadow: 4px 0px 80px rgba(33, 51, 77, 0.45);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-accent);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 24px 26px 0;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 2001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-secondary);
  background: rgba(209,190,176,0.10);
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-size: 1.25rem;
  padding: 12px 0;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* MAIN & UTILS -------------------------------------------------- */
main {
  min-height: 400px;
}

section + section {
  margin-top: 0;
}

address {
  font-style: normal;
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 8px;
  line-height: 1.55;
  display: block;
}
address img {
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  height: 23px;
}

/* FOOTER -------------------------------------------------------- */
footer {
  background: #181c22;
  color: var(--color-accent);
  padding: 38px 0 26px 0;
  border-top: 2px solid var(--color-secondary);
}
footer .container {
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 36px;
  width: auto;
}
footer nav {
  display: flex;
  gap: 14px;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  background: none;
  font-weight: 500;
  border-radius: 9px;
  padding: 6px 12px;
  transition: background 0.12s, color 0.12s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
footer address {
  color: var(--color-accent);
  font-size: 0.98rem;
  margin-top: 0px;
}

/* FORMS --------------------------------------------------------- */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #232834;
  color: var(--color-accent);
  border: 1px solid #444857;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.17s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 1.5px 8px rgba(209,190,176,0.08);
}
label {
  color: var(--color-secondary);
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  display: block;
}

/* HELPER CLASSES ------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
v-spacer { margin-bottom: 20px; display: block; height: 1px; }

/* ANIMATION & INTERACTION --------------------------------------- */
.card, .cta, .testimonial-card, .mobile-menu, .mobile-menu-toggle {
  transition: all 0.2s cubic-bezier(.86,0,.07,1);
}

.card:hover {
  box-shadow: 0 8px 26px rgba(33, 51, 77, 0.19);
  border-color: var(--color-metallic);
  transform: translateY(-4px) scale(1.015);
}

/* COOKIE BANNER & MODAL ----------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2500;
  background: #232834;
  color: var(--color-accent);
  box-shadow: 0 -4px 22px rgba(33, 51, 77, 0.19);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 35px;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  animation: cookie-banner-slidein 0.8s cubic-bezier(.86,0,.07,1);
}
@keyframes cookie-banner-slidein {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-left: 24px;
}
.cookie-banner button {
  margin: 0 5px !important;
  font-size: 0.97rem;
  padding: 9px 17px;
  border-radius: 7px;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(209,190,176,0.08);
  transition: background 0.14s, color 0.11s, box-shadow 0.15s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #181c22;
}
.cookie-banner .reject {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .settings {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #2a4163;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-metallic);
  color: #232323;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: rgba(209,190,176,0.10);
  color: var(--color-secondary);
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 28, 34, 0.83);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  }

.cookie-modal {
  background: #232834;
  border-radius: 16px;
  box-shadow: 0 6px 42px rgba(33,51,77,0.19);
  padding: 34px 36px 28px 36px;
  min-width: 320px;
  max-width: 94vw;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 2650;
  animation: cookie-dialog-slide 0.38s cubic-bezier(.86,0,.07,1);
}
@keyframes cookie-dialog-slide {
  from { transform: scale(0.96) translateY(25px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.38rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
  font-family: 'Playfair Display', serif;
}
.cookie-modal-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
}
.cookie-modal-row input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close {
  position: absolute;
  top: 13px; right: 19px;
  background: transparent;
  color: var(--color-accent);
  font-size: 2rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: var(--color-secondary);
}

/* RESPONSIVE DESIGN --------------------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.96rem;
  }
  .section {
    padding: 26px 8px;
  }
  .content-wrapper, .card-container, .content-grid {
    gap: 16px;
  }
  .testimonial-card {
    min-width: unset;
  }
}
@media (max-width: 768px) {
  /* BURGER MENU */
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }
  .mobile-menu.active {
    display: flex;
  }

  .container {
    max-width: 99vw;
    padding: 0 6px;
  }

  .content-wrapper, .card-container, .content-grid {
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card {
    width: 100%;
    min-width: unset;
    margin-bottom: 18px;
  }
  .section {
    padding: 18px 1px;
    margin-bottom: 36px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 14px 8px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .mobile-nav {
    font-size: 1.09rem;
    padding-left: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 9px;
  }
  .cookie-buttons {
    margin-left: 0;
    gap: 10px;
  }
  .cookie-modal {
    padding: 20px 10px 18px 10px;
    min-width: 0;
    max-width: 96vw;
  }
}
@media (max-width: 525px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.22rem; }
  .cta, .cta:visited { font-size: 1rem; padding: 10px 18px; }
  .cookie-modal h3 { font-size: 1.07rem; margin-bottom: 10px; }
}

/* UTILITY FOR FLEX SPACING -------------------------------------- */
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

/* INDUSTRIAL METALLIC EFFECTS ----------------------------------- */
.card, .testimonial-card {
  border-left: 2.5px solid var(--color-metallic);
}
hr {
  display: block;
  border: none;
  border-bottom: 2px solid var(--color-secondary);
  height: 0px;
  margin: 24px 0;
}

/* SCROLLBAR STYLING --------------------------------------------- */
::-webkit-scrollbar {
  width: 11px;
  background: #232834;
}
::-webkit-scrollbar-thumb {
  background: #353A45;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* A11Y FOCUS STATES --------------------------------------------- */
a:focus, .cta:focus, button:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}

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