/* === 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #232a34;
  color: #F0F3F8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  background-color: #232a34;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #39B980;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #2b8e60;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #F0F3F8;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.6rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 16px; }
h4 { font-size: 1rem; margin-bottom: 12px; }

/* =============== BRAND COLORS =============== */
:root {
  --primary: #232a34;
  --primary-light: #374151;
  --secondary: #ffffff;
  --secondary-dark: #F0F3F8;
  --accent: #39B980;
  --accent-dark: #2b8e60;
  --industrial-metal: #5b646d;
  --border: #353b43;
  --card-bg: #232a34;
  --card-bg-light: #2a313b;
  --shadow: rgba(30,40,47,0.14);
}

/* =========================================== */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

header {
  width: 100%;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: 20px;
}
.main-nav a {
  color: var(--secondary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  font-weight: 600;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark) 80%);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 1.5px 10px var(--shadow);
  text-transform: uppercase;
  margin-left: 28px;
  cursor: pointer;
  transition: background .22s cubic-bezier(.4,0,.2,1),
    box-shadow .18s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent-dark) 60%, var(--accent));
  color: #fff;
  box-shadow: 0 6px 24px var(--shadow);
}

.mobile-menu-toggle {
  display: none;
  background: var(--card-bg-light);
  color: var(--accent);
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  margin-left: 16px;
  cursor: pointer;
  z-index: 98;
  transition: background .17s, color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: #fff;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--primary-light);
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1001;
  padding: 40px 20px 20px 28px;
  overflow-y: auto;
  box-shadow: 0 0 40px 0 var(--shadow);
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.8,0,.2,1), opacity .19s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 2.25rem;
  margin-bottom: 24px;
  align-self: flex-end;
  line-height: 1;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: var(--secondary-dark);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 14px 8px 14px 0;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: background .13s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent-dark);
  color: #fff;
}

main {
  width: 100%;
  min-height: 60vh;
  background: var(--primary);
  padding-top: 0;
  padding-bottom: 0;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.hero {
  background: linear-gradient(96deg, #232a34 91%, #2b8e60 170%);
  padding-top: 44px;
  padding-bottom: 44px;
  margin-bottom: 40px;
  box-shadow: 0 3px 20px var(--shadow);
}
.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 0 1px 16px rgba(41,62,74,.09);
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.22rem;
  font-weight: 400;
  margin-bottom: 26px;
  color: var(--secondary-dark);
  max-width: 600px;
}
.hero .cta-btn {
  font-size: 1.2rem;
  padding: 15px 38px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg-light);
  border-radius: 18px;
  box-shadow: 0 2px 24px var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .2s, transform .16s;
  border: 1.2px solid var(--industrial-metal);
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 99%;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-2px) scale(1.015);
  border-color: var(--accent);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7fafc;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(40,44,48,0.08);
  color: #232a34;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent);
  flex: 1 1 320px;
  max-width: 700px;
  font-size: 1.1rem;
  min-width: 0;
}
.testimonial-card cite {
  display: block;
  margin-left: auto;
  padding-left: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-dark);
  opacity: .95;
}

.case-study-card {
  background: var(--card-bg-light);
  border-radius: 10px;
  padding: 22px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--shadow);
  border-left: 4px solid var(--accent);
}

.pricing-table {
  margin: 32px 0;
  background: var(--card-bg-light);
  border-radius: 14px;
  box-shadow: 0 2px 18px var(--shadow);
  overflow-x: auto;
  padding: 24px 12px 20px 12px;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 11px 16px;
  color: #F0F3F8;
  border-bottom: 1px solid var(--border);
}
.pricing-table th {
  background: var(--industrial-metal);
  color: #fff;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

ul li, ol li {
  margin-bottom: 12px;
  padding-left: 0;
  position: relative;
  font-size: 1.06rem;
  color: var(--secondary-dark);
  line-height: 1.7;
}
ul li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  background: var(--accent);
  border-radius: 2.5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px;
  background: var(--card-bg-light);
  border-radius: 12px;
  box-shadow: 0 1.5px 8px var(--shadow);
  margin-bottom: 20px;
}

.contact-info-snippet, .contact-details, .company-address, .opening-hours {
  background: var(--card-bg-light);
  padding: 18px 18px 12px 18px;
  border-radius: 11px;
  margin-bottom: 12px;
  color: var(--secondary-dark);
  box-shadow: 0 1px 10px var(--shadow);
  border-left: 3.5px solid var(--accent);
}

.faq-snippet, .support-information {
  background: var(--industrial-metal);
  color: #fff;
  border-radius: 10px;
  padding: 16px 14px;
  margin-top: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  font-size: 0.97rem;
}

/* Footer */
footer {
  background: var(--primary-light);
  padding: 34px 0 24px 0;
  width: 100%;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px var(--shadow);
}
.footer-logo {
  height: 36px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: var(--secondary-dark);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-contact {
  text-align: center;
  color: var(--industrial-metal);
  margin-top: 8px;
  font-size: .98rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  background: var(--industrial-metal);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 18px 18px 24px;
  box-shadow: 0 -2px 16px var(--shadow);
  gap: 24px;
  animation: cookie-slide-up .65s cubic-bezier(.85,0,.16,1);
}
@keyframes cookie-slide-up {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-right: auto;
  font-size: 1rem;
  color: #fff;
  max-width: 440px;
}
.cookie-banner .cookie-btn {
  margin-left: 10px;
  border: none;
  padding: 10px 22px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background .18s, color .17s,box-shadow .16s;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn.accept {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1.5px 10px var(--shadow);
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: var(--accent-dark);
}
.cookie-banner .cookie-btn.reject {
  background: var(--primary-light);
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #333b44;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,42,52,.86);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modal-fade-in .36s;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #232a34;
  border-radius: 12px;
  padding: 38px 28px 32px 28px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 10px 64px rgba(55,65,81,0.24);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h2 {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 1.21rem;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-toggle {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.cookie-modal-content .category-desc {
  font-size: .93rem;
  color: #5b646d;
  margin-left: 4px;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 16px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  transition: color .13s;
}
.cookie-modal-close:hover {
  color: var(--accent-dark);
}

/* =============== RESPONSIVE RULES =============== */
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  section {
    padding: 36px 8px;
  }
}
@media (max-width: 875px) {
  .main-nav { gap: 16px; }
  .footer-nav { gap: 10px; }
}
@media (max-width: 768px) {
  html { font-size: 97%; }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  .hero {
    padding: 28px 0 36px 0;
  }
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.25rem;}
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-logo {
    margin-bottom: 8px;
  }
  section {
    padding: 32px 4px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card,
  .case-study-card {
    max-width: 96vw;
    font-size: 1rem;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 8px 12px 8px;
  }
}
@media (max-width: 430px) {
  h1 {font-size: 1.41rem;}
  h2 {font-size: 1.02rem;}
  .cookie-modal-content { padding: 20px 5vw; }
}

/* ============= MICRO-INTERACTIONS & FOCUS ============= */
button, .cta-btn, .cookie-btn, .cookie-modal-close {
  outline: none;
  box-shadow: none;
}
button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .cookie-modal-close:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2.5px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
}

/* ============= SELECTION COLOR ============= */
::selection {
  background: var(--accent);
  color: #fff;
}

/* ============= SCROLLBAR STYLING (Chrome/Edge) ============= */
::-webkit-scrollbar {
  width: 10px;
  background: var(--primary-light);
}
::-webkit-scrollbar-thumb {
  background: var(--industrial-metal);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ============= UTILITY CLASSES ============= */
.hide-on-mobile { display: block; }
@media (max-width: 768px) {
  .hide-on-mobile { display: none !important; }
}
.hide-on-desktop { display: none; }
@media (max-width: 768px) {
  .hide-on-desktop { display: block !important; }
}

/* ============= INDUSTRIAL MODERN ELEMENTS ============= */
.card,
.pricing-table,
.case-study-card,
.feature-item,
.contact-info-snippet,
.faq-snippet,
.support-information {
  border: 1px solid var(--industrial-metal);
}
.testimonial-card {
  border: 1.1px solid #d2d7db;
  border-left: 5px solid var(--accent);
  box-shadow: 0 5px 24px rgba(40,44,48,0.07);
}

/* ==== TYPOGRAPHY: TRUE INDUSTRIAL FEEL ==== */
h1, h2, h3, h4, h5, h6, .cta-btn, .main-nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}
body, .content-wrapper, .card, .testimonial-card p, .feature-item, .contact-info-snippet, .faq-snippet {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}

/* ===== LAYOUT SPACING & PATTERNS (MANDATORY) =====  */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== Prevent content cards from overlapping ==== */
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px !important;
}

/* ================= END OF CSS ================= */
