/* === 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #12191f;
  color: #ebecef;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #36b88a; outline-offset: 2px; }

/* === BRAND COLORS & VARIABLES === */
:root {
  --primary: #18406a;
  --secondary: #36b88a;
  --accent: #f9f7f3;
  --dark-bg: #12191f;
  --dark2: #181c23;
  --metal1: #99a2ab;
  --metal2: #464c52;
  --cta-shadow: 0 2px 12px rgba(54,184,138,0.17);
  --card-shadow: 0 2px 20px 0 rgba(24,64,106,0.13);
  --radius-base: 10px;
  --radius-lg: 16px;
  --header-height: 70px;
  --transition: 0.2s cubic-bezier(.72,.22,.39,.91);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  color: #f9f7f3;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--secondary);
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4, h5 { font-size: 1.08rem; }
p, ul, ol, li, table, td, th, label, small {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #ebecef;
  line-height: 1.8;
}
ul, ol {
  margin-left: 24px;
}
li {
  margin-bottom: 8px;
}
b, strong {
  font-weight: 700;
  color: var(--accent);
}
small {
  color: var(--metal1);
  font-size: 0.95rem;
}

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1120px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 992px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.4rem; }
  .content-wrapper {
    gap: 32px;
  }
  .section {
    padding: 60px 0 60px 0;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: #13181d;
  border-bottom: 1.5px solid var(--metal2);
  width: 100%;
  position: sticky;
  top: 0; left: 0;
  z-index: 20;
  min-height: var(--header-height);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}
header img { height: 38px; }
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  color: var(--metal1);
  padding: 6px 13px;
  border-radius: var(--radius-base);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
nav a:hover, nav a:focus {
  color: var(--accent);
  background: rgba(54,184,138,0.05);
}
nav .cta-btn {
  background: var(--secondary);
  color: #13181d;
  font-weight: bold;
  box-shadow: var(--cta-shadow);
  border-radius: var(--radius-lg);
  padding: 9px 24px;
  margin-left: 8px;
  border: none;
  font-size: 1rem;
  transition: filter var(--transition), background var(--transition);
  outline: 0;
}
nav .cta-btn:hover, nav .cta-btn:focus {
  background: #28a078;
  filter: brightness(1.05);
  color: #fff;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin-left: 16px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #13181d;
  box-shadow: 0 2px 7px 0 rgba(54,184,138,0.11);
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
  nav {
    display: flex !important;
  }
}
@media (max-width: 991px) {
  nav {
    display: none;
  }
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 25, 31, 0.97);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.7,.2,.31,1);
  width: 100vw;
  height: 100vh;
  box-shadow: 2px 0 18px 0 rgba(24,64,106,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 25px 16px 0;
  background: var(--metal2);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 9px 0 rgba(54,184,138,0.09);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 251;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #13181d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px 0 0 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 0;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #13181d;
}
@media (max-width: 480px) {
  .mobile-nav {
    gap: 24px;
    padding-left: 22px;
  }
}

/* === MAIN STRUCTURE & SECTIONS === */
main {
  width: 100%;
  padding: 0;
  background: var(--dark-bg);
  flex: 1;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.section {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

@media (max-width: 768px) {
  section { padding: 26px 0 0 0; }
  .section { padding: 24px 12px; margin-bottom: 34px; }
}

/* === FLEX LAYOUTS FOR COMPOSITES === */
.card-container,
.card-grid,
.feature-grid,
.recent-posts-grid,
.content-grid,
.service-package-cards,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; border-radius: var(--radius-base); }
.content-grid { 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;
  background: #f9f7f3;
  color: #13181d;
  border-left: 6px solid var(--secondary);
  border-radius: var(--radius-base);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px 0 rgba(24,64,106,0.09);
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #13181d;
  font-style: italic;
  flex: 1;
  margin-right: 12px;
}
.testimonial-card b, .testimonial-card span {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.03em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 991px) {
  .card-container,.card-grid,.feature-grid, .recent-posts-grid, .content-grid, .service-package-cards, .tag-cloud {
    gap: 16px;
  }
}
@media (max-width:768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .feature-grid, .service-package-cards {
    flex-direction: column;
  }
}
.feature-grid > div,
.service-package-cards > div,
.recent-posts-grid > article, 
.featured-articles-slider > article {
  background: var(--dark2);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-base);
  flex: 1 1 220px;
  padding: 28px 20px 18px 20px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 170px;
  margin-bottom: 10px;
}
.feature-grid img, .service-package-cards img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

/* === CTA BUTTON === */
.cta-btn {
  background: var(--secondary);
  color: #13181d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 13px 38px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--cta-shadow);
  cursor: pointer;
  outline: 0;
  margin-top: 14px;
  display: inline-block;
  letter-spacing: 0.04em;
  transition: filter var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: #18406a;
  color: #f9f7f3;
  filter: brightness(1.03) drop-shadow(0 2px 10px #36b88a44);
  box-shadow: 0 4px 14px 0 rgba(54,184,138,0.18);
}

/* === FEATURE CARDS / ARTICLE MIX === */
.featured-articles-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.featured-articles-slider > article {
  min-width: 250px;
  max-width: 360px;
  min-height: 150px;
  background: var(--dark2);
  border: 2px solid var(--metal2);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px 0 rgba(24,64,106,0.13);
  transition: border 0.15s, box-shadow 0.21s;
  padding: 25px 18px 15px 18px;
}
.featured-articles-slider > article:hover, .featured-articles-slider > article:focus-within {
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 18px 0 rgba(54,184,138,0.13);
}

.recent-posts-grid > article {
  min-width: 180px;
  max-width: 280px;
  padding: 15px 16px 10px 16px;
  min-height: 110px;
}

/* === TAG CLOUD === */
.tag-cloud {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.tag-cloud span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93rem;
  background: var(--metal2);
  color: var(--accent);
  padding: 6px 13px;
  border-radius: 24px;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

/* === TABLE === */
.pricing-table {
  width: 100%;
  margin-bottom: 26px;
  background: var(--dark2);
  border-radius: var(--radius-base);
  box-shadow: var(--card-shadow);
  border-collapse: collapse;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--metal2);
  font-size: 1.02rem;
}
.pricing-table th {
  background: var(--primary);
  color: var(--accent);
  text-align: left;
  font-family: 'Montserrat';
  font-weight: 700;
  letter-spacing: .03em;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table tr:hover td {
  background: rgba(54,184,138,0.06);
}

/* === FOOTER === */
footer {
  background: #10141a;
  border-top: 2px solid var(--metal2);
  width: 100%;
  padding: 24px 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 14px;
}
.footer-nav, .footer-branding, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
  margin-bottom: 14px;
}
.footer-nav {
  gap: 6px;
}
.footer-nav a {
  color: var(--metal1);
  font-size: 0.98rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-branding img {
  height: 27px;
  margin-bottom: 5px;
}
.footer-branding div {
  color: var(--metal1);
  font-size: 0.96rem;
}
.footer-social {
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.footer-social a {
  background: var(--metal2);
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 2px 9px 0 rgba(54,184,138,0.07);
  transition: background var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--secondary);
}
footer > .container > div:last-child {
  flex-basis: 100%;
  color: var(--metal1);
  margin-top: 14px;
  font-size: 0.98rem;
}
@media (max-width: 991px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

/* === FORMS (if present in future) === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  border-radius: var(--radius-base);
  border: 1.5px solid var(--metal2);
  background: #151d25;
  color: var(--accent);
  margin-bottom: 14px;
  width: 100%;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid var(--secondary);
  box-shadow: 0 2px 11px 0 rgba(54,184,138,0.10);
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* === MICRO-INTERACTIONS === */
.card, .feature-grid > div, .service-package-cards > div, .recent-posts-grid > article, .featured-articles-slider > article {
  transition: transform .15s, box-shadow .18s;
}
.card:hover, .feature-grid > div:hover, .service-package-cards > div:hover, .recent-posts-grid > article:hover, .featured-articles-slider > article:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 7px 26px 0 rgba(24,64,106,0.18);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232b31;
  color: #f9f7f3;
  z-index: 800;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  box-shadow: 0 -2px 22px 0 rgba(24,64,106,0.09);
  font-size: 1rem;
  border-top: 3px solid var(--secondary);
  animation: slideUpBanner .45s cubic-bezier(.7,.2,.31,1);
  max-width: 100vw;
}
@keyframes slideUpBanner {
  0% { transform: translateY(110%); opacity:0; }
  80% { opacity:1; }
  100% { transform: none; opacity:1; }
}
.cookie-banner p {
  color: #f9f7f3;
  margin-right: 18px;
  flex: 1;
}
.cookie-banner .cookie-btn {
  background: var(--secondary);
  color: #13181d;
  border: none;
  font-weight: bold;
  border-radius: var(--radius-base);
  padding: 10px 20px;
  margin-left: 6px;
  font-size: 1.02rem;
  transition: background var(--transition), color var(--transition);
  box-shadow: 0 2px 8px 0 rgba(54,184,138,0.09);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 8px 18px;
  margin-left: 6px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--secondary);
  color: #13181d;
}
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap:14px; padding: 14px 8px; font-size:0.99rem; }
  .cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn { width: 100%; margin:4px 0 0 0; }
  .cookie-banner p { margin: 0 0 5px 0; }
}

/* COOKIE MODAL (for settings) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(18,25,31,0.90);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s cubic-bezier(.7,.2,.31,1);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #20262c;
  padding: 38px 34px 28px 34px;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 35px 0 rgba(24,64,106,0.30);
  min-width: 320px;
  max-width: 98vw;
  color: #ebecef;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--secondary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  cursor: pointer;
  margin: 12px 0;
}
.cookie-modal input[type=checkbox][disabled] {
  accent-color:var(--secondary);
  opacity: 0.55;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal .cookie-close-btn {
  background: transparent;
  border: none;
  color: var(--metal1);
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: color var(--transition), background var(--transition);
}
.cookie-modal .cookie-close-btn:hover, .cookie-modal .cookie-close-btn:focus {
  background: var(--secondary);
  color: #13181d;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 20px 7vw 14px 7vw; min-width: unset; }
}

/* --- SHADOWS / URBAN METAL ACCENT BORDER --- */
.feature-grid > div, .service-package-cards > div, .card, .recent-posts-grid > article, .featured-articles-slider > article {
  border: 1.5px solid rgba(70,76,82,0.48);
  box-shadow: 0 2px 16px 0 rgba(24,64,106,0.12);
}
h2, .feature-grid h3 {
  text-shadow: 0 1.5px 0 rgba(54,184,138,0.11);
}

/* --- SPACING/MARGINS ENFORCEMENT --- */
.card, .feature-grid > div, .service-package-cards > div, .recent-posts-grid > article, .featured-articles-slider > article {
  margin-bottom: 20px;
}
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container, .feature-grid, .service-package-cards, .card-grid, .recent-posts-grid, .tag-cloud { gap:24px; }
.text-image-section { gap:30px; }
.content-grid { gap:20px; }
.testimonial-card { gap:20px; padding:20px; margin-bottom:24px; }
.feature-item { gap:15px; }

/* --- OL & UL INDUSTRIAL STYLE --- */
ul, ol {
  background: none;
  border-left: 3px solid var(--metal2);
  padding-left: 18px;
  margin-bottom: 22px;
}
ol li {
  margin: 0 0 7px 0;
  font-size: 1.03rem;
}

/* === MEDIA QUERIES (RESPONSIVE) === */
@media (max-width: 992px) {
  .container { max-width: 100%; }
}
@media (max-width: 760px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 576px) {
  .container { padding: 0 7px; }
  header .container { gap: 4px; }
}
@media (max-width: 500px) {
  .section { padding: 18px 2px; margin-bottom: 20px; }
}

/* === ACCESSIBILITY & FOCUS === */
:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* === CUSTOM SCROLLBAR FOR INDUSTRIAL FEEL === */
::-webkit-scrollbar {
  width: 13px;
  background: #181c23;
}
::-webkit-scrollbar-thumb {
  background: #45474d;
  border-radius: 12px;
  border: 3px solid #191f25;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--metal2);
}

/* === RESPONSIVE ADJUSTMENTS FOR FLEX === */
@media (max-width: 991px) {
  .footer-social, .footer-branding, .footer-nav { min-width: 10px; }
}

/* === MISCELLANEOUS === */
blockquote {
  border-left: 3px solid var(--secondary);
  padding-left: 18px;
  color: var(--metal1);
  margin: 18px 0;
}
hr {
  border: none;
  border-top: 2px solid var(--metal2);
  margin: 32px 0;
}

/*************************************************
* FORBIDDEN FLEX PROPERTIES/GRID — NOT USED!!!   *
*************************************************/
/* No display:grid, grid-template-columns, columns, etc. are present! */