/* =========================
   CSS RESET & BASE STYLES
   ========================= */
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 {
  height: 100%;
  scroll-behavior: smooth;
  background: #181A20;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #181A20;
  color: #F2E9D8;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  display: block;
  max-width: 100%;
}
a {
  color: #00B294;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #F2E9D8;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
button { cursor: pointer; background: none; }

/* =========================
   BRAND FONTS & TYPE SCALE
   ========================= */
:root {
  --color-primary: #181A20;
  --color-secondary: #00B294;
  --color-accent: #F2E9D8;
  --color-light: #FBFAF8;
  --color-dark: #181A20;
  --color-steel: #23242A;
  --color-metallic: #5B616B;
  --color-border: #32343B;
  --color-hover: #00CFAA;
  --color-error: #BD3636;

  --font-display: 'Montserrat', 'Arial Black', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-main: 0 3px 18px 0 rgba(0,0,0,0.10);
  --shadow-hover: 0 6px 28px 0 rgba(0,0,0,0.17);
  --shadow-strong: 0 1px 16px 0 rgba(32,44,59,0.28);
}

h1, h2, h3, h4, h5, h6 {
  color: #F2E9D8;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.16;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;  /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;    /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;  /* 24px */
  margin-bottom: 16px;
}
h4 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
h5, h6 {
  font-size: 1rem;    /* 16px */
}
p, li, blockquote {
  color: #E2DAC9;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.subheadline {
  color: #B7BABE;
  font-size: 1.125rem;
  line-height: 1.45;
  margin-bottom: 28px;
  font-weight: 500;
}
strong {
  color: #F2E9D8;
  font-weight: 700;
}

/* =========================
   LAYOUT: CONTAINER & FLEX
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: var(--color-dark);
  box-shadow: var(--shadow-main);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav ul li a {
  color: #DFE3E9;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  color: #00B294;
  border-bottom: 2px solid #00B294;
}
header .btn-primary {
  margin-left: 22px;
}
.main-nav img {
  max-height: 38px;
}

/* Hamburger menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F2E9D8;
  padding: 6px 11px;
  border-radius: 50%;
  transition: background 0.18s;
  position: relative;
  z-index: 1200;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #23242A;
  outline: 2px solid #00B294;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,26,32,0.98);
  box-shadow: var(--shadow-main);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6,.05,.37,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #F2E9D8;
  font-size: 2.1rem;
  border: none;
  margin: 30px 32px 24px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #00B294;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 32px 48px;
  width: 100vw;
}
.mobile-nav a {
  color: #F2E9D8;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.035em;
  padding: 6px 0;
  margin: 0;
  transition: color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #00B294;
}

/* Hide desktop nav on mobile */
@media (max-width: 990px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* =========================
   HERO & SECTION SPACING
   ========================= */
.hero {
  background: linear-gradient(112deg, #23242A 52%, #26292F 100%);
  padding: 64px 0 48px 0;
  border-bottom: 2px solid var(--color-border);
}
.hero h1 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1.1px;
}
.hero .btn-primary {
  margin-top: 32px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-md);
  box-sizing: border-box;
}

/* =========================
   FLEXBOX STRUCTURES (CARD, GRID, etc)
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: #23242A;
  border: 1.5px solid #32343B;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-main);
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 22px 24px;
  gap: 12px;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #4B4D57;
  transform: translateY(-4px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F2E9D8;
  color: #181A20;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 0px;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #212226;
  font-size: 1.06rem;
  margin: 0 0 12px 0;
  letter-spacing: 0.015em;
}
.testimonial-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stars {
  color: #FFD700;
  font-size: 1.1rem;
  font-family: monospace;
  text-shadow: 0 1px 4px #F3E6A0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 14px;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.blog-list li a {
  display: flex;
  flex-direction: column;
  background: #23242A;
  border: 1px solid #32343B;
  border-radius: var(--radius-md);
  color: #F2E9D8;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  gap: 5px;
  transition: background 0.16s, box-shadow 0.16s;
  margin-bottom: 6px;
}
.blog-list li a span { font-size: 0.97rem; color: #B7BABE; }
.blog-list li a:hover, .blog-list li a:focus {
  background: #27292F;
  box-shadow: 0 3px 16px 0 rgba(0,0,0,0.13);
}

/* =========================
   BUTTONS
   ========================= */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  padding: 11px 30px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.032em;
  cursor: pointer;
  text-align: center;
  transition: background 0.17s, box-shadow 0.16s, color 0.15s, border 0.16s;
  margin-right: 12px;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.09);
}
.btn-primary {
  background: var(--color-secondary);
  color: #181A20;
  border: 1.5px solid #00B294;
}
.btn-primary:focus, .btn-primary:hover {
  background: #00CFAA;
  color: #181A20;
  box-shadow: 0 4px 18px 0 rgba(25,177,148,0.29);
  outline: none;
  border-color: #F2E9D8;
}
.btn-secondary {
  background: none;
  color: #00B294;
  border: 1.5px solid #00B294;
}
.btn-secondary:focus, .btn-secondary:hover {
  background: #23242A;
  color: #F2E9D8;
  border-color: #00CFAA;
  box-shadow: 0 1px 10px 0 rgba(0,178,148,0.09);
}

/* =========================
   PRICING STYLES
   ========================= */
.price {
  background: #23242A;
  color: #00B294;
  font-weight: 800;
  font-size: 1.18rem;
  border-radius: var(--radius-sm);
  padding: 4px 14px 3px 11px;
  letter-spacing: 0.06em;
  margin: 8px 0 0 0;
  display: inline-block;
  font-family: var(--font-display);
  text-shadow: 0 1px 4px #123C34;
}

/* SERVICES LIST (OFFER CARDS) */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 18px;
}
.services-list > div {
  flex: 1 1 260px;
  min-width: 240px;
  background: #23242A;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  border: 1.5px solid #32343B;
  padding: 22px 22px 16px 22px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.19s, border-color 0.2s, transform 0.15s;
}
.services-list > div:hover {
  border-color: #00B294;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.014);
}
.services-list h3, .services-list h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  color: #F2E9D8;
}

/* =========================
   CONTACT DETAILS
   ========================= */
.contact-details {
  padding: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #B7BABE;
  font-size: 1rem;
}
.contact-details a {
  color: #00B294;
  font-weight: 500;
}\n
/* =========================
   FOOTER
   ========================= */
footer {
  background: #23242A;
  border-top: 2px solid #32343B;
  padding: 40px 0 28px 0;
  color: #B7BABE;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 18px;
  color: #B7BABE;
  font-size: 1rem;
  letter-spacing: 0.03em;
  font-family: var(--font-display);
}
.footer-nav a {
  color: #B7BABE;
  transition: color 0.14s;
  padding: 3px 4px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #00B294;
}
.brand-footer {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  padding-top: 7px;
  color: #B7BABE;
}
.brand-footer img {
  height: 34px;
}

/* =========================
   BLOG CATEGORY & SEARCH
   ========================= */
.blog-categories {
  margin: 20px 0 20px 0;
  color: #B7BABE;
  font-family: var(--font-display);
  font-size: 1.07rem;
}
.blog-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0 0 0;
}
.blog-search input[type="text"] {
  border: 1.5px solid #32343B;
  border-radius: var(--radius-md);
  background: #23242A;
  color: #F2E9D8;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 16px;
  transition: border-color 0.14s;
}
.blog-search input[type="text"]:focus {
  border-color: #00B294;
}

/* =========================
   FORMS & INPUTS
   ========================= */
input, textarea {
  border: 1.5px solid #32343B;
  border-radius: var(--radius-sm);
  background: #23242A;
  color: #F2E9D8;
  font-size: 1rem;
  padding: 10px 14px;
  margin-bottom: 12px;
  transition: border-color 0.14s, background 0.14s;
}
input:focus, textarea:focus {
  border-color: #00B294;
  background: #232C2D;
}
label {
  color: #B7BABE;
  font-size: 1rem;
  margin-bottom: 5px;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #23242A;
  color: #F2E9D8;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 22px 18px 16px 18px;
  gap: 16px;
  transition: transform 0.29s cubic-bezier(.7,.2,.4,1), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
}
.cookie-banner .btn-cookie {
  padding: 8px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #00B294;
  background: none;
  color: #00B294;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .btn-cookie.accept {
  background: #00B294;
  color: #181A20;
  border: 1.5px solid #00B294;
}
.cookie-banner .btn-cookie.accept:hover,
.cookie-banner .btn-cookie.accept:focus {
  background: #00CFAA;
  color: #181A20;
}
.cookie-banner .btn-cookie.reject {
  background: #23242A;
  color: #EF736E;
  border: 1.5px solid #EF736E;
}
.cookie-banner .btn-cookie.reject:hover,
.cookie-banner .btn-cookie.reject:focus {
  background: #460900;
  color: #fff;
}
.cookie-banner .btn-cookie.settings {
  background: none;
  color: #B7BABE;
  border: 1.5px solid #B7BABE;
}
.cookie-banner .btn-cookie.settings:hover,
.cookie-banner .btn-cookie.settings:focus {
  background: #3A3C40;
  color: #00B294;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  background: rgba(24,26,32,0.92);
  width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #23242A;
  color: #F2E9D8;
  padding: 36px 30px 28px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 32px rgba(25,25,30,0.38);
  min-width: 340px;
  max-width: 93vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-size: 1rem;
}
.cookie-modal h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.27rem;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-settings-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.cookie-settings-item .toggle {
  width: 36px;
  height: 22px;
  border-radius: 14px;
  background: #32343B;
  border: 2px solid #23242A;
  position: relative;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-settings-item .toggle.enabled {
  background: #00B294;
}
.cookie-settings-item .toggle-knob {
  position: absolute;
  top: 1.8px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #F2E9D8;
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-settings-item .toggle.enabled .toggle-knob {
  left: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: #B7BABE;
  font-size: 1.41rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #00B294;
}
/* Accept & Save Settings Button */
.cookie-modal .save-settings {
  margin-top: 8px;
  padding: 9px 24px;
  background: #00B294;
  color: #181A20;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  transition: background 0.13s;
}
.cookie-modal .save-settings:hover,
.cookie-modal .save-settings:focus {
  background: #00CFAA;
}

/* =========================
   UTILITIES/SPACING
   ========================= */
.gap-20 { gap: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.p-20 { padding: 20px !important; }
.shadow-main { box-shadow: var(--shadow-main) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.flex { display: flex !important; }
.flex-center { justify-content: center; align-items: center; }
.flex-col { flex-direction: column; }

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1200px) {
  .container { max-width: 990px; }
}
@media (max-width: 990px) {
  .container { max-width: 95vw; }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .services-list {
    flex-direction: column;
    gap: 16px;
  }
  .card, .testimonial-card { padding: 15px 12px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .container { padding: 0 7px; }
  .section, section { padding: 30px 4px; margin-bottom: 36px; }
  .footer-nav { flex-direction: column; gap: 4px; }
  .brand-footer { flex-direction: column; gap: 7px; }
  .content-grid { flex-direction: column; gap: 13px; }
}

/* Prevent overlap, enforce minimum spacing between flex-wrap items */
.card-container > *, .services-list > * {
  min-width: 230px;
  margin-bottom: 20px;
}
.testimonial-card + .testimonial-card {
  margin-top: 18px;
}
.section > .container { gap: 20px; }

/* Remove outline for all but real input focus */
:focus { outline: none; }
input:focus, textarea:focus, button:focus, a:focus { outline: 2px solid #00B294; outline-offset: 2px; }

/* =========================
   INDUSTRIAL MODERN DETAILS
   ========================= */
/* Typography Industrial accents */
h1, h2, h3, .btn-primary, .btn-secondary {
  text-transform: none;
  font-stretch: semi-expanded;
  letter-spacing: 0.012em;
}
/* Thin lines for metallic accent */
.section, .card, .services-list > div {
  border-left: 3px solid #5B616B14;
  border-bottom: 2px solid #5B616B1e;
}
h1, h2, h3::before {
  content: '';
  display: inline-block;
  background: linear-gradient(90deg,#00B294 45%,#5B616B 100%);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Subtle Analog Meter Line on Card Hover */
.card:hover::after, .services-list > div:hover::after {
  content: '';
  display: block;
  height: 3px;
  width: 50px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00B294 0%, #D4D7DB44 100%);
  margin-top: 12px;
  margin-left: 2px;
}

/* =========================
   MISCELLANEOUS
   ========================= */
::-webkit-scrollbar { width: 9px; background: #23242A; }
::-webkit-scrollbar-thumb { background: #34353B; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #5B616B; }
::selection { background: #00B294; color: #181A20; }

.err-msg {
  color: var(--color-error);
  background: #3D1414;
  border: 1px solid #BD3636;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

/****************
 * END OF FILE *
 ****************/