/* === 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, 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.5;
  min-height: 100vh;
  background: #181f23;
  color: #f5f5f5;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
}

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

:root {
  --color-primary: #205375;
  --color-secondary: #5EA8D6;
  --color-accent: #F5F5F5;
  --color-bg: #181f23;
  --color-bg-card: #21272b;
  --color-metal: #adb5bd;
  --color-shadow: rgba(32, 38, 46,0.32);
  --color-text: #f5f5f5;
  --color-footer: #101317;
  --color-btn-hover: #3a617f;
  --color-dark: #232629;
  --color-link-hover: #5EA8D6;
  --color-border: #293046;
  --color-testimonial-bg: #f5f5f5;
  --color-testimonial-text: #181f23;
  --radius: 12px;
  --radius-large: 20px;
  --shadow: 0 4px 20px 0 var(--color-shadow);
  --shadow-metal: 0 1px 8px 0 rgba(40,44,50,0.18);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.2; }
h3 { font-size: 1.4rem; margin-bottom: 14px; line-height: 1.2; }
h4 { font-size: 1.2rem; margin-bottom: 10px; }
h5 { font-size: 1rem; }
h6 { font-size: 0.95rem; }

p, li, table, label, input, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--color-text);
}
p {
  margin-bottom: 16px;
}
.strong, strong {
  font-weight: 700;
  color: var(--color-accent);
}
.hero-subtitle {
  color: var(--color-metal);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 22px;
}

/* Urban/Industrial font accent */
section h1, section h2, header .nav-cta, .primary-btn, .secondary-btn {
  letter-spacing: 0.5px;
  text-transform: none;
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.12rem; }
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

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

/* === HEADER AND NAVIGATION === */
header {
  background: var(--color-dark);
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow-metal);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  min-height: 76px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
}
header img {
  max-height: 48px;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
}
.desktop-nav a {
  color: var(--color-accent);
  position: relative;
  padding: 5px 0;
  transition: color 0.18s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: var(--color-secondary);
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 999px;
  padding: 10px 26px;
  margin-left: 18px;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: var(--shadow-metal);
  border: 2px solid var(--color-secondary);
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
}
.nav-cta:hover, .nav-cta:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 14px 0 var(--color-secondary);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-dark);
  border-radius: 6px;
  border: 2px solid var(--color-border);
  color: var(--color-accent);
  font-size: 2rem;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  transition: border 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: var(--color-bg-card);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(24,31,35,0.96);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(110vw);
  transition: transform 0.37s cubic-bezier(.69,.01,.17,.99);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 32px 12px 0;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  padding: 18px 32px 36px 32px;
  gap: 18px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.32rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  padding: 14px 0 14px 2px;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-dark);
}

@media (max-width: 1050px) {
  .desktop-nav, .nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === MAIN CONTENT & SECTIONS === */
main {
  min-height: 60vh;
}
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-large);
  box-shadow: none;
}

/* === CONTENT FLEX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  min-width: 240px;
  flex: 1 1 270px;
  transition: box-shadow 0.23s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px 0 var(--color-secondary);
  transform: translateY(-2px) scale(1.01);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  border-radius: var(--radius);
  box-shadow: 0 3px 16px 0 rgba(40, 44, 55,0.15);
  padding: 20px;
  min-width: 230px;
  max-width: 430px;
  margin-bottom: 22px;
  font-size: 1.06rem;
}
.testimonial-card p {
  color: var(--color-testimonial-text);
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.testimonial-card footer {
  font-size: 0.99rem;
  color: #455761;
  font-weight: 500;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: var(--color-text);
  font-size: 1.06rem;
  margin-bottom: 4px;
}
.location-map {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.98rem;
  color: var(--color-secondary);
  margin-top: 10px;
}

/* === FEATURE GRID === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.feature-grid li {
  background: var(--color-bg-card);
  border-radius: 10px;
  box-shadow: var(--shadow-metal);
  color: var(--color-accent);
  font-size: 1.08rem;
  padding: 18px 18px 14px 18px;
  flex: 1 1 230px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-grid img {
  width: 32px;
  height: 32px;
  filter: grayscale(70%) brightness(1.15) sepia(0.14);
}

/* === TABLES === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th, .price-table td {
  padding: 16px 14px;
  font-size: 1.06rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  color: var(--color-accent);
}
.price-table th {
  background: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.price-table tr:last-child td {
  border-bottom: none;
}

/* === BUTTONS === */
.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 13px 32px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  transition: background 0.19s, color 0.19s, box-shadow 0.2s;
  outline: none;
  border: none;
  text-shadow: none;
  margin-top: 4px;
  margin-bottom: 4px;
  cursor: pointer;
}
.primary-btn {
  background: var(--color-secondary);
  color: var(--color-dark);
  border: 2px solid var(--color-primary);
  box-shadow: 0 3px 14px 0 var(--color-shadow);
}
.primary-btn:hover, .primary-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 24px 0 var(--color-secondary);
}
.secondary-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 2px 10px 0 var(--color-shadow);
}
.secondary-btn:hover, .secondary-btn:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
  border: 2px solid var(--color-primary);
}

/* === LINKS === */
a {
  transition: color 0.2s, border-bottom 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

/* === FOOTER === */
footer {
  background: var(--color-footer);
  color: var(--color-accent);
  padding: 36px 0 16px 0;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-top: 2px solid var(--color-border);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--color-accent);
  margin-bottom: 10px;
}
footer a {
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: 2px;
  margin: 0 2px;
  transition: color 0.14s, border-color 0.14s;
}
footer a:hover, footer a:focus {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

/* === COOKIE CONSENT BANNER === */
#cookieConsentBanner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1250;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-card);
  color: var(--color-accent);
  box-shadow: 0 -2px 14px 0 var(--color-shadow);
  padding: 22px 32px;
  border-radius: 18px 18px 0 0;
  font-size: 1.11rem;
  gap: 16px;
  animation: cookieBannerIn 0.6s cubic-bezier(.71,.01,.29,1.05);
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
#cookieConsentBanner.hide {
  display: none !important;
}
#cookieConsentBanner-content {
  flex: 1 1 520px;
}
#cookieConsentBanner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 10px 18px;
  border-radius: 26px;
  font-size: 0.99rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  margin: 0 2px;
  transition: background 0.12s, color 0.12s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.cookie-btn.accept:hover { background: var(--color-primary); color: var(--color-accent); }
.cookie-btn.reject {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn.reject:hover { background: #14314c; color: var(--color-secondary); }
.cookie-settings-btn {
  background: none;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-settings-btn:hover { background: var(--color-secondary); color: var(--color-dark); }

/* COOKIE MODAL */
#cookieModalOverlay {
  display: none;
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(40,44,55,0.69);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
#cookieModalOverlay.active {
  display: flex;
  animation: cookieModalShow 0.29s cubic-bezier(.69,.01,.17,.99);
}
@keyframes cookieModalShow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
#cookieModal {
  background: var(--color-bg-card);
  color: var(--color-accent);
  min-width: 340px;
  max-width: 98vw;
  border-radius: 18px;
  padding: 36px 36px 22px 36px;
  box-shadow: 0 8px 40px 0 rgba(40,44,55,0.24);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn 0.38s cubic-bezier(.66,.15,.25,1.18);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
#cookieModal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 2rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  width: 36px; height: 36px;
  line-height: 36px;
  text-align: center;
  transition: background 0.14s, color 0.14s;
}
#cookieModal-close:hover, #cookieModal-close:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  accent-color: var(--color-primary);
  width: 21px;
  height: 21px;
  margin-right: 7px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}

/* === MISC LAYOUTS & RESPONSIVENESS === */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, main > section {
    padding: 28px 3vw;
    margin-bottom: 38px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    padding: 10px 10px;
    min-height: 58px;
    gap: 8px;
  }
  .testimonial-card {
    max-width: 95vw;
    font-size: 1rem;
  }
  #cookieConsentBanner {
    flex-direction: column;
    align-items: stretch;
    padding: 17px 10px;
    font-size: 1rem;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 2vw;
  }
  .section, main > section {
    padding: 12px 1vw;
  }
  .testimonial-card {
    padding: 13px 7px;
    font-size: 0.96rem;
  }
  #cookieModal {
    min-width: unset;
    padding: 22px 4vw 14px 4vw;
  }
}

/* === UTILITIES === */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.text-accent { color: var(--color-accent) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-primary { color: var(--color-primary) !important; }
.text-metal { color: var(--color-metal) !important; }
.bg-metal {
  background: linear-gradient(90deg, #222529 60%, #404240 95%);
  color: var(--color-accent);
}
.rounded {
  border-radius: var(--radius);
}
.shadow {
  box-shadow: var(--shadow);
}

/* === MICRO-INTERACTIONS & ANIMATIONS === */
.primary-btn, .secondary-btn, .nav-cta, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-settings-btn {
  transition: background 0.16s, color 0.16s, border 0.17s, box-shadow 0.17s, transform 0.14s;
}
.primary-btn:active, .secondary-btn:active, .nav-cta:active, .mobile-menu-toggle:active {
  transform: scale(0.97);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
}

/* === FORM ELEMENTS (if later needed) === */
input, textarea, select {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--color-accent);
  margin-bottom: 8px;
  font-size: 1rem;
  transition: border 0.18s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  background: #23272a;
}

::-webkit-input-placeholder { color: #bfc8cf; opacity:1; }
::-moz-placeholder { color: #bfc8cf; opacity:1; }
:-ms-input-placeholder { color: #bfc8cf; opacity:1; }
::placeholder { color: #bfc8cf; opacity:1; }

/* === CARD EXTRAS / INDUSTRIAL ACCENTS === */
.card, .feature-grid li {
  border-right: 5px solid var(--color-secondary);
  border-bottom: 2px solid #2c3442;
  box-shadow: var(--shadow-metal);
}
.card:before, .feature-grid li:before {
  content: "";
  display: block;
  height: 6px;
  width: 54px;
  background: linear-gradient(90deg, #45708b 0%, #cdd6dc 100%);
  border-radius: 4px;
  margin-bottom: 11px;
  opacity: 0.38;
}

/* Remove before for feature-grid li on mobile for less clutter */
@media (max-width:768px) {
  .card:before, .feature-grid li:before {
    display: none;
  }
}

/* === PRINT STYLES === */
@media print {
  * { color: #181f23 !important; background: none !important; box-shadow: none !important; }
  header, footer, .mobile-menu, #cookieConsentBanner, #cookieModalOverlay { display: none !important; }
  .main, main { padding: 0 !important; }
}
