﻿/* -----------------------------------------
   S-METRIC THEME � MAIN STYLESHEET
   Version: 1.0.0
----------------------------------------- */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B004E;
  --navy-mid: #2d0080;
  --navy-light: #f3f0ff;
  --teal: #00E5B9;
  --teal-dark: #00b891;
  --teal-light: #e6fdf8;
  --red: #E53535;
  --red-light: #fff0f0;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f0f2f8;
  --gray-200: #e2e6f0;
  --gray-400: #8892aa;
  --gray-600: #4a5470;
  --gray-800: #1e2340;
  --font: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --shadow-sm: 0 1px 3px rgba(27,0,78,0.08);
  --shadow-md: 0 4px 20px rgba(27,0,78,0.1);
  --shadow-lg: 0 12px 48px rgba(27,0,78,0.15);
  --container: 1440px;
  --header-container: 1800px;
}

/* Common */
.w100 { width: 100%; }

html {
  /* font-size: 10px; */
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--gray-800);
  font-family: var(--font);
  /* font-size: 16px; */
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* --- TOP BAR --- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  /* font-size: 0.4875rem; */
  padding: 8px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-inner {
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.topbar a:hover { color: #fff; }

.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* --- NAV --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  margin-right: 16px;
}
.nav-logo img, .footer-logo img { max-width: 140px; height: auto; }
.nav-mark {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  display: grid;
  place-items: center;
  /* font-size: 0.625rem; */
  font-weight: 800;
  flex-shrink: 0;
}

.nav-text {
  font-size: 1.4376rem;
  font-weight: 800;
}

.nav-text span { color: var(--teal); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: none;
  cursor: pointer;
  color: var(--navy);
  order: 10;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-toggle:hover { background: var(--gray-50); }

.nav-toggle svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* NAV MENU */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 72px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--gray-600);
  /* font-size: 0.5469rem; */
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-item:hover > .nav-link,
.nav-item.current-menu-item > .nav-link,
.nav-item.current-menu-ancestor > .nav-link {
  color: var(--navy);
  border-bottom-color: var(--teal);
}

.nav-arrow {
  /* font-size: 0.5rem; */
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 520px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 400;
  box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dropdown a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--gray-800);
  transition: background 0.15s;
}

.dropdown a:hover {
  background: var(--gray-50);
}

.di-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  /* font-size: 0.5938rem; */
  flex-shrink: 0;
}

.di-navy  { background: var(--navy-light);  color: var(--navy); }
.di-teal  { background: var(--teal-light);  color: var(--teal-dark); }
.di-blue  { background: #e0f2ff; color: #0369a1; }
.di-green { background: #dcfce7; color: #166534; }
.di-red   { background: var(--red-light);   color: #b91c1c; }

.di-name {
  /* font-size: 0.5312rem; */
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.di-desc {
  /* font-size: 0.4688rem; */
  color: var(--gray-400);
  line-height: 1.45;
  margin-top: 3px;
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  /* font-size: 0.5469rem; */
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,0,78,0.25);
}

/* --- HERO --- */
section.hero#home {
  background: var(--navy);
  min-height: calc(100vh - 105px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 40px 60px 0;
}
.hero-bg-arc { position: absolute; top: -200px; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(0,229,185,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 50px 50px; pointer-events: none; }
.hero-content { position: relative; max-width: 900px; z-index: 10; animation: fadeUp 0.8s ease both; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,229,185,0.12); border: 1px solid rgba(0,229,185,0.3); border-radius: 100px; padding: 6px 16px; /* font-size: 0.75rem; */ font-weight: 600; color: var(--teal); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: blink 1.5s infinite; }

.hero h1 { /* font-size: clamp(2.6rem, 5vw, 4rem); */ font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: white; margin-bottom: 10px; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; color: var(--teal); font-weight: 400; }
.hero > .hero-content > p { /* font-size: 1.15rem; */ color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 650px; margin: 0 auto 20px; font-weight: 300; }

.hero-actions { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }

/* BUTTONS */
/* Reset browser defaults when btn classes are applied to <button> elements.
   :where() keeps specificity at (0,1,0) so the class rules below still win. */
:where(button).btn-primary, :where(button).btn-outline-white, :where(button).btn-ghost { appearance: none; -webkit-appearance: none; border: none; background: none; padding: 0; font: inherit; cursor: pointer; }
.btn-primary { background: var(--teal); color: var(--navy); padding: 14px 28px; border-radius: 8px; font-weight: 700; /* font-size: 0.9rem; */ text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: #00ffcc; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,229,185,0.35); }
.btn-ghost { color: rgba(255,255,255,0.8); font-weight: 500; /* font-size: 0.9rem; */ text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 10px 4px; transition: all 0.2s; }
.btn-ghost:hover { color: var(--teal); border-color: var(--teal); }
.btn-outline-white { color: white; border: 1.5px solid rgba(255,255,255,0.2); padding: 13px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* DASHBOARD MOCKUP */
.hero-visual-container { position: relative; width: 100%; max-width: 1000px; margin-top: 20px; perspective: 1200px; animation: fadeUp 1s 0.2s ease both; }
.mockup-main { background: var(--white); border-radius: 12px 12px 0 0; box-shadow: 0 30px 100px rgba(0,0,0,0.5); overflow: hidden; border: 1px solid var(--gray-200); transform: rotateX(8deg); transition: transform 0.5s ease; }
.mockup-main:hover { transform: rotateX(0deg); }
.mockup-header { background: var(--gray-50); padding: 12px 20px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; gap: 15px; }
.m-dots span { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--gray-200); margin-right: 4px; }
.m-title { /* font-size: 0.7rem; */ font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }
.mockup-body { padding: 30px; background: white; }
.m-stats { display: flex; gap: 20px; margin-bottom: 30px; }
.m-stat { flex: 1; text-align: left; padding: 15px; background: var(--gray-50); border-radius: 8px; border: 1px solid var(--gray-100); }
.m-stat span { display: block; /* font-size: 0.65rem; */ color: var(--gray-400); text-transform: uppercase; font-weight: 700; }
.m-stat strong { /* font-size: 1.25rem; */ color: var(--navy); display: block; margin-top: 4px; }
.m-chart-area { display: flex; align-items: flex-end; gap: 12px; height: 140px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-100); }
.m-bar { flex: 1; background: var(--gray-200); border-radius: 4px 4px 0 0; }
.m-bar.highlight { background: var(--teal); }

.floating-card { position: absolute; padding: 12px 20px; background: var(--navy-mid); color: white; border-radius: 10px; /* font-size: 0.8rem; */ font-weight: 600; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.1); animation: float 4s ease-in-out infinite; z-index: 20; }
.c-1 { top: 10%; left: -40px; }
.c-2 { bottom: 40%; right: -40px; animation-delay: 2s; background: var(--teal); color: var(--navy); }

/* --- PARTNERS --- */
.partners { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 32px 60px; display: flex; align-items: center; gap: 48px; justify-content: center; flex-wrap: wrap; }
.partners-label { /* font-size: 0.7188rem; */ font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); }
.partner-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-logo { /* font-size: 0.9rem; */ font-weight: 700; color: var(--gray-400); transition: color 0.2s; cursor: default; }
.partner-logo:hover { color: var(--navy); }
.partner-logo .sub { /* font-size: 0.6188rem; */ display: block; font-weight: 400; opacity: 0.7; }

/* --- SECTION COMMON --- */
.section-label { /* font-size: 0.7188rem; */ font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-dark); margin-bottom: 14px; display: block; }
.section-title { /* font-size: clamp(2rem, 3.5vw, 3rem); */ font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 50px; }
.section-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* --- INDUSTRIES --- */
.industries { padding: 96px 60px; background: white; text-align: center; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 16px; padding: 40px 30px; transition: all 0.3s; text-align: left; display: block; text-decoration: none; color: inherit; }
.industry-card:hover { border-color: var(--teal); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.industry-card .i-icon { /* font-size: 2.2rem; */ margin-bottom: 20px; display: block; }
.industry-card h3 { /* font-size: 1.15rem; */ font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.industry-card p { /* font-size: 0.5469rem; */ color: var(--gray-600); line-height: 1.7; font-weight: 300; }

/* --- PROBLEM / SOLUTION --- */
.problem-solution { background: var(--gray-50); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--gray-200); }
.ps-col { padding: 80px 60px; }
.ps-col:first-child { border-right: 1px solid var(--gray-200); }
.ps-tag { display: inline-block; /* font-size: 0.7rem; */ font-weight: 700; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 22px; }
.ps-tag.problem { background: var(--red-light); color: var(--red); }
.ps-tag.solution { background: var(--teal-light); color: var(--teal-dark); }
.ps-col h3 { /* font-size: 1.6rem; */ font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.ps-col > p { /* font-size: 0.95rem; */ color: var(--gray-600); margin-bottom: 24px; }
.ps-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ps-list li { display: flex; align-items: flex-start; gap: 12px; /* font-size: 0.9rem; */ color: var(--gray-600); }
.ps-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 9px; }
.problem .ps-list li::before { background: var(--red); }
.solution .ps-list li::before { background: var(--teal-dark); }

/* --- DYNAMICS STACK --- */
.dynamics { background: var(--navy); padding: 96px 60px; }
.dynamics .section-label { color: var(--teal); }
.dynamics .section-title { color: white; }
.dynamics-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 32px; }
.dynamics-sub { /* font-size: 1.1rem; */ color: rgba(255,255,255,0.55); max-width: 500px; font-weight: 300; }
.dynamics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dynamics-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 28px 24px; text-decoration: none; color: white; transition: all 0.3s; display: block; }
.dynamics-card:hover { background: rgba(0,229,185,0.08); border-color: var(--teal); transform: translateY(-4px); }
.dc-icon { /* font-size: 1.8rem; */ margin-bottom: 16px; display: block; }
.dc-name { /* font-size: 1rem; */ font-weight: 700; margin-bottom: 6px; }
.dc-desc { /* font-size: 0.8rem; */ color: rgba(255,255,255,0.45); font-weight: 300; }

/* --- DIGITAL COMMERCE --- */
.digital { padding: 96px 60px; background: var(--gray-50); }
.digital-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.digital-card { background: white; border: 1.5px solid var(--gray-200); border-radius: 14px; padding: 32px; transition: all 0.3s; }
.digital-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.platform-badge { display: inline-block; /* font-size: 0.65rem; */ font-weight: 700; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-light); padding: 3px 10px; border-radius: 100px; margin-bottom: 14px; }
.digital-card h3 { /* font-size: 1.1rem; */ font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.digital-card p { /* font-size: 0.85rem; */ color: var(--gray-600); line-height: 1.7; font-weight: 300; }

/* --- CYBERSECURITY --- */
.cyber { padding: 96px 60px; background: white; }
.cyber-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.cyber-card { border-radius: 16px; padding: 40px; transition: transform 0.3s; display: block; text-decoration: none; color: inherit; }
.cyber-card.dark { background: var(--navy); color: white; }
.cyber-card.light { background: var(--gray-50); border: 1.5px solid var(--gray-200); }
.cyber-card .icon-big { /* font-size: 2.5rem; */ margin-bottom: 20px; display: block; }
.cyber-card h3 { /* font-size: 1.3rem; */ font-weight: 700; margin-bottom: 12px; }
.cyber-card p { /* font-size: 0.9rem; */ line-height: 1.75; font-weight: 300; opacity: 0.7; }
.cyber-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cyber-tag { /* font-size: 0.7188rem; */ font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.dark .cyber-tag { background: rgba(0,229,185,0.12); color: var(--teal); }
.light .cyber-tag { background: var(--navy-light); color: var(--navy); }

/* --- PROCESS --- */
.process { background: var(--navy-light); padding: 96px 60px; text-align: center; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 15%; right: 15%; height: 1px; background: var(--teal); opacity: 0.3; }
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: white; border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: 800; color: var(--navy); /* font-size: 0.9rem; */ box-shadow: 0 4px 16px rgba(0,229,185,0.2); }
.process-step h4 { /* font-size: 1rem; */ font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.process-step p { /* font-size: 0.85rem; */ color: var(--gray-600); font-weight: 300; }

/* --- CTA --- */
.cta-section { background: var(--navy); padding: 96px 60px; }
.cta-inner { background: rgba(255,255,255,0.05); border: 1px solid rgba(0,229,185,0.2); border-radius: 24px; padding: 80px; text-align: center; }
.cta-inner h2 { /* font-size: clamp(2.2rem, 4vw, 3.2rem); */ font-weight: 800; color: white; margin-bottom: 16px; }
.cta-inner p { /* font-size: 1.1rem; */ color: rgba(255,255,255,0.55); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- FOOTER --- */
footer { background: var(--gray-800); padding: 64px 60px 32px; color: rgba(255,255,255,0.5); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-logo { font-weight: 800; color: white; text-decoration: none; margin-bottom: 16px; display: block; }
.footer-logo span { color: var(--teal); }
.footer-brand p { line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.85rem; margin: 0; }
.footer-bottom-links ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; padding: 0; }
.footer-bottom-links li { display: flex; align-items: center; }
.footer-bottom-links li + li::before { content: ''; display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,0.2); margin: 0 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--teal); }

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: white; border-radius: 20px; padding: 48px; max-width: 540px; width: 90%; border-top: 5px solid var(--red); position: relative; }
.modal-close { position: absolute; top: 20px; right: 20px; cursor: pointer; border: none; background: none; font-size: 1.2rem; color: var(--gray-400); transition: color 0.2s; }
.modal-close:hover { color: var(--navy); }
.modal h2 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.modal-sub { color: var(--gray-600); margin-bottom: 30px; font-size: 0.95rem; }
.modal-option { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1.5px solid var(--gray-200); border-radius: 12px; text-decoration: none; color: inherit; margin-bottom: 12px; transition: 0.2s; }
.modal button.modal-option { width: 100%; background: transparent; font: inherit; text-align: left; cursor: pointer; appearance: none; -webkit-appearance: none; }
.modal-option:hover { border-color: var(--red); background: var(--red-light); }
.modal-phone { background: var(--red); color: white; display: block; text-align: center; padding: 16px; border-radius: 12px; font-weight: 700; text-decoration: none; margin-top: 20px; transition: opacity 0.2s; }
.modal-phone:hover { opacity: 0.9; color: white; }

/* EMERGENCY BUTTON */
.emergency-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: emergency-pulse 2.5s ease-in-out infinite;
}
.emergency-btn:hover { color: white; opacity: 0.9; }
.emergency-dot { width: 8px; height: 8px; border-radius: 50%; background: white; animation: blink 1s ease-in-out infinite; flex-shrink: 0; }

/* --- INNER PAGES --- */
.inner-page { padding: 80px 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.header-container { max-width: var(--header-container); margin: 0 auto; padding: 0 32px; }
.entry-header { margin-bottom: 40px; }
.entry-title { /* font-size: clamp(2rem, 3vw, 2.8rem); */ font-weight: 800; color: var(--navy); line-height: 1.2; }
.entry-meta { color: var(--gray-400); /* font-size: 0.85rem; */ margin-top: 8px; }
.entry-featured-image { margin-bottom: 40px; border-radius: 16px; overflow: hidden; }
.entry-content { /* font-size: 1.05rem; */ line-height: 1.8; color: var(--gray-600); max-width: 800px; }
.entry-content h2,
.entry-content h3 { color: var(--navy); margin: 2em 0 0.75em; font-weight: 700; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content a { color: var(--teal-dark); text-decoration: underline; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: white; border: 1.5px solid var(--gray-200); border-radius: 14px; overflow: hidden; transition: all 0.3s; }
.post-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card-title { /* font-size: 1.1rem; */ font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.post-card-title a { text-decoration: none; color: inherit; }
.post-card-title a:hover { color: var(--teal-dark); }
.post-card-meta { /* font-size: 0.7812rem; */ color: var(--gray-400); margin-bottom: 12px; }
.post-card-excerpt { /* font-size: 0.5469rem; */ color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.post-card-body .btn-primary { /* font-size: 0.8rem; */ padding: 9px 18px; }

/* --- ANIMATIONS --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes emergency-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,53,53,0.4); } 50% { box-shadow: 0 0 0 6px rgba(229,53,53,0); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* --- RESPONSIVE --- */
.break-line-menu { display: none; }

@media (max-width: 1800px) {
  html { font-size: 14px; }
}

@media (max-width: 1650px) {
  .break-line-menu {
    display: initial;
  }
}

@media (max-width: 1392px) {
  .nav-actions { display: initial; }
  .nav-cta { margin-bottom: 5px; }
}

@media (max-width: 1100px) {
  .hero { padding-top: 60px; }
  .hero h1 { /* font-size: 3rem; */ }
  .mockup-main { transform: none; }
  .industry-grid,
  .dynamics-grid { grid-template-columns: repeat(2, 1fr); }
  .digital-grid { grid-template-columns: 1fr 1fr; }
  .problem-solution { grid-template-columns: 1fr; }
  .ps-col:first-child { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .floating-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .c-1, .c-2 { display: none; }
  .topbar { padding: 0; }
  .site-nav .container { padding: 0 24px; }
  .dynamics { padding: 60px 32px; }
  .industries, .cyber, .digital, .process, .cta-section { padding: 60px 32px; }
  .partners { padding: 24px; }
  .ps-col { padding: 48px 32px; }
  footer { padding: 48px 24px 24px; }
  .container { padding: 0 24px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.nav-open .nav-menu {
    display: flex;
  }

  .nav-item {
    border-top: 1px solid var(--gray-100);
  }

  .nav-item:first-child {
    border-top: none;
  }

  .nav-link {
    height: auto;
    min-height: 52px;
    padding: 10px 4px;
    border-bottom: none;
  }

  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px;
    min-width: 0;
  }

  .nav-item.nav-submenu-open > .dropdown {
    display: block;
  }

  .nav-item.nav-submenu-open > .nav-link .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }

  .dropdown-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    margin-left: 0;
    display: flex;
  }
  
  .nav-cta { 
    margin: 0; 
  }

  .break-line-menu { 
    display: none; 
  }
}

@media (max-width: 600px) {
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-menu {
    position: static;
    width: 100%;
    order: 20;
    border-top: 1px solid var(--gray-200);
    border-bottom: none;
    box-shadow: none;
  }

  .nav-actions {
    display: none;
    width: 100%;
    order: 21;
    margin-left: 0;
    padding: 0 16px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav.nav-open .nav-actions {
    display: flex;
  }

  .nav-actions .nav-cta,
  .nav-actions .emergency-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav-toggle {
    margin-left: initial;
  }
}

@media (max-width: 640px) {
  .industry-grid,
  .dynamics-grid,
  .digital-grid,
  .cyber-grid,
  .process-steps,
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .cta-inner { padding: 40px 24px; }
  .m-stats { flex-direction: column; }
  .hero { min-height: auto; padding: 60px 20px 40px; }
  .hero h1 { /* font-size: 2.2rem; */ }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-logo { margin-right: initial; }
}


/* --- BLOG PAGE --- */
.blog-page {
  padding: 60px 0 80px;
}

/* Filter Bar */
.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.category-pill a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.category-pill a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.category-pill.active a {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Blog Search */
.blog-search {
  position: relative;
  flex-shrink: 0;
}

.blog-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search__icon {
  position: absolute;
  left: 14px;
  color: var(--gray-400);
  pointer-events: none;
}

.blog-search__input {
  width: 220px;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, width 0.3s;
}

.blog-search__input::placeholder {
  color: var(--gray-400);
}

.blog-search__input:focus {
  border-color: var(--navy);
  width: 280px;
}

/* Posts Grid */
.blog-posts .posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-posts .post-card {
  background: var(--white);
  border-radius: 14px;
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-posts .post-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
  border-radius: 8px;
  margin: 12px 12px 0;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-posts .post-card:hover .post-card__image img {
  transform: scale(1.05);
}

.post-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}

.post-card__image--placeholder span {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
}

/* Card Body */
.post-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--navy);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.post-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--navy);
}

.post-card__title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.post-card__title a:hover {
  color: var(--teal-dark);
}

.post-card__excerpt {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: auto;
  padding-bottom: 20px;
}

/* Card Footer */
.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.post-card__dot {
  opacity: 0.5;
}

.post-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-card__read-time svg {
  opacity: 0.6;
}

.post-card__read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.post-card__read-link:hover {
  color: var(--teal-dark);
  gap: 10px;
}

/* Pagination */
.blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination .page-numbers:hover {
  background: var(--gray-100);
  border-color: var(--navy);
  color: var(--navy);
}

.blog-pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.no-posts {
  text-align: center;
  padding: 60px 0;
  color: var(--gray-400);
  font-size: 1.125rem;
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .blog-posts .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .blog-filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-search__input {
    width: 100%;
  }

  .blog-search__input:focus {
    width: 100%;
  }

  .blog-search {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .blog-page {
    padding: 40px 0;
  }

  .blog-posts .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .post-card__image {
    margin: 8px 8px 0;
  }

  .post-card__body {
    padding: 16px 16px 20px;
  }
}


/* Blog Loading Spinner */
.blog-loading {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.blog-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.posts-grid {
  transition: opacity 0.3s ease;
}

img.wp-smiley, img.emoji {
  width: 2em !important;
  height: 2em !important;
}