/* === 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #11181C;
  color: #E9F1F5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: #16B17E;
  transition: color 0.2s;
  text-decoration: none;
}
a:focus {
  outline: 2px solid #16B17E;
  outline-offset: 3px;
}
a:hover, a:active {
  color: #F4EDED;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ===== BRAND & INDUSTRIAL MODERN VARIABLES ===== */
:root {
  --color-primary: #174C65;
  --color-secondary: #16B17E;
  --color-accent: #F4EDED;
  --color-dark-bg: #11181C;
  --color-dark-shade: #222D35;
  --color-contrast: #222E35;
  --color-metal: #7B8287;
  --color-brand: #174C65;
  --color-success: #16B17E;
  --color-error: #FF4545;
  --color-shadow: rgba(23,76,101,0.24);
  --color-metal-light: #B3B8BC;
  --color-text-body: #E9F1F5;
  --color-text-title: #F4EDED;
  --color-text-dark: #18222B;
  --shadow-card: 0 4px 18px 0 rgba(23,76,101,0.16);
  --shadow-hover: 0 8px 24px 0 rgba(23,76,101,0.28);
  --radius: 12px;
  --radius-button: 7px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.01em;
  color: var(--color-text-title);
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(23,76,101,0.18);
}
h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h4, h5, h6 { font-family: var(--font-body); color: var(--color-secondary); font-weight: 600; }

p, li, span, div, ul, ol, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-body);
  font-weight: 400;
  line-height: 1.6;
}
strong, b {
  font-weight: 700;
  color: var(--color-accent);
}
blockquote {
  font-family: var(--font-body);
  font-style: italic;
  background: var(--color-metal-light);
  color: var(--color-text-dark);
  border-left: 4px solid var(--color-secondary);
  padding: 18px 24px;
  border-radius: var(--radius);
  margin: 10px 0 24px 0;
}

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

/* CRITICAL SPACING PATTERNS */
.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;
}

/* ============= HEADER & NAV ============= */
header {
  background: var(--color-dark-shade);
  border-bottom: 2px solid var(--color-metal);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 20px;
  justify-content: space-between;
  padding: 0 20px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.1) contrast(1.25);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-metal-light);
  padding: 8px 13px;
  border-radius: var(--radius-button);
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a.cta-primary {
  background: var(--color-secondary);
  color: var(--color-dark-bg);
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  font-weight: 800;
  border-radius: var(--radius-button);
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-metal);
  color: var(--color-accent);
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus { 
  background: var(--color-primary);
  color: var(--color-accent);
}

/* ========== MOBILE BURGER NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-dark-bg);
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  border-radius: 50%;
  border: none;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 110;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-dark-bg);
  box-shadow: 0 2px 24px 2px rgba(10,14,18,0.85);
  z-index: 2200;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.55,0,0.1,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-secondary);
  font-size: 2rem;
  padding: 16px;
  align-self: flex-end;
  margin-right: 12px;
  border-radius: 50%;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-secondary);
  color: var(--color-dark-bg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 38px;
  width: 100vw;
  padding-left: 28px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--color-accent);
  padding: 14px 0;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--color-metal);
  width: 93%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-secondary);
  background: rgba(22,177,126,0.08);
  padding-left: 14px;
}

@media (max-width: 1024px) {
  header .container {padding: 0 10px;}
  .main-nav {gap: 12px;}
  .main-nav a {padding: 6px 7px; font-size: 1rem;}
}
@media (max-width: 900px) {
  .main-nav a:not(.cta-primary) {font-size: 0.96rem;}
}
@media (max-width: 800px) {
  header .container {height: 68px;}
  .logo img {height: 36px;}
}
@media (max-width: 750px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {display: block;}
}

/* =========== HERO SECTIONS =========== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(94deg, #11222B 0%, #174C65 78%, #222D35 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 46px 34px 38px 34px;
  margin-bottom: 36px;
  margin-top: 30px;
}
.hero-section h1 {
  font-size: 2.5rem;
  color: var(--color-accent);
  text-shadow: 0 2px 10px rgba(23,76,101,0.13);
}
.hero-section p {
  color: var(--color-metal-light);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .hero-section {
    padding: 28px 10px 24px 10px;
    gap: 14px;
  }
  .hero-section h1 {font-size: 2rem;}
}

/* ========== BUTTONS / CTA ========== */
.cta-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-dark-bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.13rem;
  padding: 13px 32px;
  border-radius: var(--radius-button);
  box-shadow: 0 3px 14px 0 var(--color-shadow);
  transition: background 0.12s, color 0.12s, box-shadow 0.26s;
  letter-spacing: 0.035em;
  text-shadow: 0 2px 7px rgba(23,76,101,0.06);
  margin-top: 10px;
}
.cta-primary:focus {
  outline: 2.5px solid var(--color-metal);
  outline-offset: 2px;
}
.cta-primary:hover, .cta-primary:active {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

/* =========== FEATURES & SERVICE LISTS ============= */
.features-section, .services-section, .about-section, .contact-section {
  background: var(--color-dark-shade);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  padding: 36px 26px 32px 26px;
}
.feature-list, .service-list, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-list li, .service-list li, .benefits-grid li, .benefits-grid div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #16222B;
  color: var(--color-text-body);
  padding: 22px 20px 18px 20px;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 6px 21px 0 rgba(23,76,101,0.12);
  margin-bottom: 7px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid var(--color-metal);
  transition: border 0.24s, box-shadow 0.22s, background 0.18s;
}
.feature-list li:hover, .service-list li:hover, .benefits-grid li:hover, .benefits-grid div:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-hover);
  background: #1A2632;
}
.feature-list img, .benefits-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  filter: grayscale(0.22) brightness(0.96) drop-shadow(0 1px 3px #174C65);
}
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.benefits-grid div {
  background: #1A2632;
  color: var(--color-accent);
  font-weight: 700;
  text-align: center;
  min-width: 150px;
}
.text-section {
  margin-top: 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section ul {padding-left: 20px; margin: 10px 0 8px 0;}
.text-section li {
  margin-bottom: 8px;
  list-style-type: disc;
  color: var(--color-accent);
}

/* ============ TESTIMONIALS =============== */
.testimonials-section {
  padding: 36px 18px 32px 18px;
  background: var(--color-dark-shade);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 54px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #F4EDED;
  color: #18222B;
  padding: 24px;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 4px 24px 0 rgba(23,76,101,0.14);
  min-width: 260px;
  flex: 1 1 270px;
  border-left: 6px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow 0.22s, border 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(23,76,101,0.18);
  border-left: 6px solid var(--color-secondary);
}
.testimonial-card p {
  color: #18222B;
  font-size: 1.09rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-top: 5px;
}

/* =========== FOOTER ============== */
footer {
  background: var(--color-dark-shade);
  border-top: 2px solid var(--color-metal);
  padding: 40px 0 10px 0;
  margin-top: 44px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-nav a {
  color: var(--color-metal-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.brand-contact {
  color: var(--color-metal);
  font-size: 0.96rem;
  text-align: center;
  margin-bottom: 5px;
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== CARDS (GENERIC) ========== */
.card {
  background: #17222E;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  min-width: 220px;
  border: 1.5px solid var(--color-metal);
  transition: border 0.16s, box-shadow 0.16s;
}
.card:hover {
  border: 1.5px solid var(--color-secondary);
  box-shadow: var(--shadow-hover);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========== FORMS (Generic) ========== */
input, textarea {
  padding: 10px 13px;
  background: #222E35;
  border: 1.5px solid var(--color-metal);
  border-radius: var(--radius-button);
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 17px;
  transition: border 0.16s, background 0.15s;
}
input:focus, textarea:focus {
  outline: none;
  border: 1.7px solid var(--color-secondary);
  background: #1A2632;
}

/* =========== RESPONSIVENESS =============== */
@media (max-width: 1020px) {
  .feature-list li, .service-list li, .benefits-grid li, .benefits-grid div {
    flex-basis: 45%;
    min-width: 170px;
  }
}
@media (max-width: 820px) {
  .hero-section {padding: 20px 6px 16px 6px;}
  .features-section, .services-section, .about-section, .contact-section {
    padding: 19px 7px 17px 7px;
  }
  .feature-list li, .service-list li, .benefits-grid li, .benefits-grid div {
    flex-basis: 98%;
    min-width: 100px;
  }
  .footer-nav, .brand-contact {
    gap: 10px;
    font-size: 0.92rem;
  }
}
@media (max-width: 700px) {
  .testimonial-slider, .feature-list, .service-list, .benefits-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card, .feature-list li, .service-list li, .benefits-grid li, .benefits-grid div {
    min-width: 160px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 19px;
  }
  .section {padding: 23px 7px;}
  .brand-contact {flex-direction: column; gap: 4px;}
}
@media (max-width: 480px) {
  html {font-size: 92%;}
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.1rem;}
  footer {padding: 28px 0 5px 0;}
}

/* ========= COOKIE CONSENT BANNER ========= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: var(--color-dark-shade);
  color: var(--color-accent);
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -2px 24px 2px rgba(23,76,101,0.13);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 18px 16px;
  gap: 12px;
  font-size: 1.07rem;
  animation: cookie-fade-in 0.4s cubic-bezier(0.6,0,0.5,1);
}
@keyframes cookie-fade-in {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-button);
  padding: 10px 19px;
  margin: 0 4px 4px 0;
  border: none;
  transition: background 0.15s, color 0.14s, box-shadow 0.16s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-dark-bg);
  box-shadow: var(--shadow-card);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: var(--color-primary); color: var(--color-accent); }
.cookie-banner .settings {
  background: var(--color-metal);
  color: var(--color-accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus { background: var(--color-secondary); color: var(--color-dark-bg); }
.cookie-banner .reject {
  background: #374148;
  color: var(--color-accent);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {background: #BC1E1E;color: #fff;}

/* ========= COOKIE MODAL ========= */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,24,28,0.89);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal-content {
  background: var(--color-dark-shade);
  color: var(--color-accent);
  padding: 38px 28px 28px 28px;
  border-radius: calc(var(--radius) + 3px);
  box-shadow: 0 6px 42px 6px rgba(23,76,101,0.13);
  min-width: 80vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookie-modal-in 0.36s cubic-bezier(0.7,0,0.4,1);
}
@keyframes cookie-modal-in {
  0% {transform: translateY(45px) scale(0.93); opacity:0;}
  100% {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 19px;
}
.cookie-modal-content label {
  font-size: 1.02rem;
  font-family: var(--font-body);
  color: var(--color-accent);
}
.cookie-modal-content input[type="checkbox"]:disabled + label {
  color: #898D8D;
}
.cookie-modal .cookie-btn-row {
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 22px;
  background: none;
  color: var(--color-secondary);
  font-size: 1.5rem;
  border-radius: 50%;
  padding: 4px 7px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--color-secondary);
  color: var(--color-dark-bg);
}
@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 98vw;
    padding: 19px 6px 15px 6px;
  }
}

/* =============== MISCELLANEOUS =============== */
.section {
  background: var(--color-dark-shade);
  border-radius: var(--radius);
}
::-webkit-scrollbar {
  width: 8px;
  background: #182532;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-metal);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ========== UTILITY/HELPER ========== */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/* =========== ICONS ============== */
.text-section img {width: 28px;display:inline-block;margin-right:8px;vertical-align:middle;filter:invert(0.1) sepia(0.3) saturate(0.73) hue-rotate(-30deg);}

/* Ensure minimum margin between section cards on all viewports */
section + section, .features-section + .services-section, .services-section + .features-section, .about-section + .contact-section, .footer-section + .footer-section {
  margin-top: 40px;
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2.5px;
}

/* =========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  * {transition: none !important;}
  html {scroll-behavior: auto;}
}
