:root {
  --green: #04833e;
  --blue: #3fa9f4;
  --red: #db0d0a;
  --yellow: #fec426;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dde4ea;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --dark: #16212b;
  --shadow: 0 20px 60px rgba(22, 33, 43, 0.12);
  --radius: 8px;
  --section: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(22, 33, 43, 0.08);
}

.nav-shell {
  width: var(--section);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-logo {
  width: 190px;
  height: auto;
  flex: 0 0 auto;
}

.brand-link {
  display: flex;
  width: 190px;
  height: 72px;
  align-items: center;
  overflow: hidden;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-menu > a,
.menu-trigger {
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.site-menu > a:hover,
.menu-trigger:hover {
  background: var(--soft);
}

.menu-cluster {
  position: relative;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(520px, 90vw);
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.menu-cluster:hover .mega-menu,
.menu-cluster.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu a {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.mega-menu a:hover {
  border-color: var(--line);
  background: var(--soft);
}

.mega-menu strong,
.mega-menu span {
  display: block;
}

.mega-menu span {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-band {
  background:
    linear-gradient(90deg, rgba(63, 169, 244, 0.08), transparent 30%),
    linear-gradient(180deg, #fff, var(--soft));
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  padding: 68px 0 54px;
}

.hero-grid,
.section-shell,
.footer-grid {
  width: var(--section);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 3.8vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.55rem, 2.55vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.16rem, 1.8vw, 1.65rem);
  line-height: 1.18;
}

h4 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.primary:hover {
  background: var(--green);
}

.button.secondary {
  border-color: var(--line);
  background: white;
}

.button.secondary:hover {
  border-color: var(--blue);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--green);
  font-weight: 850;
}

.text-link:hover {
  color: var(--blue);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.cyber-hero,
.microsoft-hero {
  perspective: 1200px;
}

.signal-panel {
  position: absolute;
  inset: 44px 0 34px 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.cyber-canvas {
  position: absolute;
  inset: 36px 0 24px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(63, 169, 244, 0.13), transparent 38%),
    radial-gradient(circle at 78% 16%, rgba(254, 196, 38, 0.22), transparent 20%),
    radial-gradient(circle at 14% 80%, rgba(4, 131, 62, 0.15), transparent 22%),
    #ffffff;
  box-shadow: var(--shadow);
  transform: rotateY(-7deg) rotateX(2deg);
}

.cyber-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 33, 36, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 33, 36, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 76%);
}

.cyber-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.cyber-topline span {
  color: var(--muted);
  font-weight: 800;
}

.cyber-topline strong {
  color: var(--green);
  font-size: 2.2rem;
  line-height: 1;
}

.threat-map {
  position: absolute;
  inset: 92px 34px 150px;
  z-index: 1;
}

.node,
.path {
  position: absolute;
  display: block;
}

.node {
  width: 18px;
  height: 18px;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(22, 33, 43, 0.22);
}

.node-a {
  top: 18%;
  left: 12%;
  background: var(--blue);
}

.node-b {
  top: 58%;
  left: 42%;
  background: var(--green);
}

.node-c {
  top: 10%;
  right: 18%;
  background: var(--red);
}

.node-d {
  right: 8%;
  bottom: 12%;
  background: var(--yellow);
}

.path {
  height: 2px;
  background: linear-gradient(90deg, rgba(63, 169, 244, 0), rgba(63, 169, 244, 0.72), rgba(63, 169, 244, 0));
  transform-origin: left center;
}

.path-one {
  top: 25%;
  left: 15%;
  width: 54%;
  transform: rotate(11deg);
}

.path-two {
  top: 56%;
  left: 43%;
  width: 45%;
  transform: rotate(-24deg);
}

.path-three {
  top: 66%;
  left: 17%;
  width: 38%;
  transform: rotate(34deg);
}

.cyber-grid {
  position: absolute;
  inset: auto 26px 26px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cyber-grid article {
  min-height: 138px;
  padding: 16px;
  border: 1px solid rgba(221, 228, 234, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(22, 33, 43, 0.1);
  backdrop-filter: blur(12px);
}

.cyber-grid .card-accent {
  width: 20px;
  height: 20px;
  margin-bottom: 18px;
}

.cyber-grid strong,
.cyber-grid small {
  display: block;
}

.cyber-grid small {
  color: var(--muted);
  margin-top: 6px;
}

.m365-visual-card {
  position: absolute;
  inset: 28px 0 24px 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(63, 169, 244, 0.14), transparent 42%),
    white;
  box-shadow: var(--shadow);
  transform: rotateY(-5deg) rotateX(2deg);
}

.m365-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.m365-chip {
  position: absolute;
  z-index: 5;
  min-width: 190px;
  padding: 16px;
  border: 1px solid rgba(221, 228, 234, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(22, 33, 43, 0.12);
  backdrop-filter: blur(16px);
}

.m365-chip strong,
.m365-chip small {
  display: block;
}

.m365-chip small {
  color: var(--muted);
}

.chip-top {
  top: 72px;
  right: 0;
}

.chip-bottom {
  left: 0;
  bottom: 112px;
}

.microsoft-hero .status-card {
  right: 0;
  bottom: 42px;
  width: min(292px, 58%);
}

.signal-panel img {
  width: min(92%, 520px);
  border-radius: var(--radius);
}

.orb {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.orb-blue {
  width: 150px;
  height: 150px;
  top: 4px;
  left: 0;
  background: var(--blue);
}

.orb-red {
  width: 102px;
  height: 102px;
  right: 18px;
  top: 84px;
  background: var(--red);
}

.orb-yellow {
  width: 118px;
  height: 118px;
  left: 8px;
  bottom: 32px;
  background: var(--yellow);
}

.orb-green {
  width: 72px;
  height: 72px;
  right: 80px;
  bottom: 2px;
  background: var(--green);
}

.status-card {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 68px;
  width: min(320px, 72%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-card strong,
.status-card small {
  display: block;
}

.status-card small {
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.proof-strip {
  width: var(--section);
  margin: -28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 132px;
  padding: 24px;
  background: white;
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 650;
}

.section-shell {
  padding: 110px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.text-stack {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.center {
  max-width: 800px;
  margin: 0 auto 42px;
  text-align: center;
}

.services-section {
  padding-top: 90px;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.tab-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.service-panel {
  display: none;
}

.service-panel.active {
  display: block;
}

.panel-copy {
  max-width: 760px;
  margin-bottom: 28px;
}

.panel-copy p:last-child {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 169, 244, 0.45);
  box-shadow: var(--shadow);
}

.service-card p {
  color: var(--muted);
}

.card-accent {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  border-radius: 50%;
}

.card-accent.blue {
  background: var(--blue);
}

.card-accent.green {
  background: var(--green);
}

.card-accent.yellow {
  background: var(--yellow);
}

.card-accent.red {
  background: var(--red);
}

.security-section {
  color: white;
  background:
    radial-gradient(circle at 86% 12%, rgba(63, 169, 244, 0.32), transparent 28%),
    linear-gradient(135deg, #17212c 0%, #223343 100%);
}

.security-section .section-shell {
  padding: 104px 0;
}

.security-section .eyebrow {
  color: var(--yellow);
}

.security-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 34px;
  align-items: stretch;
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-list article,
.security-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.capability-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
}

.capability-list span {
  color: var(--blue);
  font-weight: 900;
  font-size: 1.1rem;
}

.capability-list p,
.security-card li {
  color: rgba(255, 255, 255, 0.78);
}

.security-card {
  padding: 28px;
}

.security-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  min-height: 240px;
  padding: 24px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--soft);
}

.process-step:nth-child(2) {
  border-color: var(--green);
}

.process-step:nth-child(3) {
  border-color: var(--yellow);
}

.process-step:nth-child(4) {
  border-color: var(--red);
}

.process-step span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  background: white;
  font-weight: 900;
}

.process-step p {
  color: var(--muted);
}

.contact-section {
  background:
    linear-gradient(180deg, var(--soft), white),
    radial-gradient(circle at 10% 10%, rgba(4, 131, 62, 0.12), transparent 30%);
}

.contact-grid,
.expert-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.expert-contact {
  align-items: center;
}

.contact-copy p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-weight: 750;
}

.expert-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.expert-card p {
  color: var(--muted);
}

.expert-card .contact-details {
  margin: 24px 0 28px;
}

.expert-card .contact-details a:first-child,
.expert-card .contact-details a:nth-child(2) {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.25;
}

.page-hero {
  padding: 96px 0 72px;
}

.page-hero-grid {
  width: var(--section);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 3.5vw, 3.8rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green);
}

.service-summary-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.service-summary-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    36px 12px 0 -12px var(--red),
    18px 46px 0 -8px var(--yellow),
    4px 70px 0 -18px var(--green);
}

.service-summary-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-grid {
  width: var(--section);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 44px;
  padding: 98px 0;
}

.detail-aside {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.detail-aside h2 {
  font-size: 1.35rem;
}

.detail-aside a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 750;
}

.detail-aside a:hover {
  color: var(--green);
}

.detail-content {
  display: grid;
  gap: 28px;
}

.detail-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.detail-block h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.55rem);
}

.detail-block p,
.detail-block li {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.mini-card p {
  margin-bottom: 0;
}

.cta-panel {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel .button.primary {
  background: white;
  color: var(--ink);
}

.cta-panel .button.primary:hover {
  background: var(--yellow);
}

.vuln-hero .service-summary-card::before {
  background: var(--red);
  box-shadow:
    36px 12px 0 -12px var(--blue),
    18px 46px 0 -8px var(--yellow),
    4px 70px 0 -18px var(--green);
}

.vuln-summary {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.vuln-summary li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.vuln-summary strong {
  font-size: 2rem;
  line-height: 1;
}

.vuln-summary span,
.feed-date,
.vuln-count {
  color: var(--muted);
}

.vuln-section {
  padding-top: 76px;
}

.vuln-hero h1 {
  font-size: clamp(2rem, 3.2vw, 3.45rem);
}

.vuln-section .section-heading h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
}

.vuln-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px 240px;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.vuln-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.vuln-toolbar input,
.vuln-toolbar select {
  min-height: 46px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
}

.vuln-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.vuln-card {
  display: grid;
  gap: 12px;
  min-height: 280px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(22, 33, 43, 0.07);
}

.vuln-card.is-hidden {
  display: none;
}

.vuln-card-top,
.vuln-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vuln-card-top span:last-child,
.vuln-card-footer time {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.vuln-card h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.vuln-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.severity-pill,
.cve-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.severity-critica {
  background: rgba(219, 13, 10, 0.12);
  color: #9f0806;
}

.severity-alta {
  background: rgba(254, 196, 38, 0.24);
  color: #7a5300;
}

.severity-media {
  background: rgba(63, 169, 244, 0.14);
  color: #0f5f91;
}

.severity-baja {
  background: rgba(4, 131, 62, 0.12);
  color: var(--green);
}

.severity-sin-clasificar {
  background: var(--soft);
  color: var(--muted);
}

.cve-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cve-list span {
  background: var(--soft);
  color: var(--ink);
}

.vuln-card-footer {
  align-self: end;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.vuln-card-footer a {
  color: var(--green);
  font-weight: 900;
}

.vuln-error {
  padding: 28px;
  border: 1px solid rgba(219, 13, 10, 0.26);
  border-radius: var(--radius);
  background: rgba(219, 13, 10, 0.06);
}

.monitor-hero {
  padding: 76px 0 46px;
}

.monitor-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.monitor-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.monitor-card {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 36px rgba(22, 33, 43, 0.08);
}

.monitor-card span {
  color: var(--green);
  font-weight: 900;
  font-size: 0.9rem;
}

.monitor-card h3 {
  margin-bottom: 0;
}

.monitor-card p {
  color: var(--muted);
}

.monitor-card .button {
  align-self: end;
  width: fit-content;
}

.monitor-panel {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.monitor-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.monitor-panel-header p {
  color: var(--muted);
}

.monitor-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.monitor-kpis-three {
  grid-template-columns: repeat(3, 1fr);
}

.monitor-kpi,
.monitor-table-wrap,
.monitor-error {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(22, 33, 43, 0.07);
}

.monitor-kpi {
  padding: 18px;
}

.monitor-kpi strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.monitor-kpi span {
  color: var(--muted);
  font-weight: 750;
}

.monitor-table-wrap {
  overflow-x: auto;
}

.monitor-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.94rem;
}

.monitor-table-compact {
  min-width: 680px;
  font-size: 0.84rem;
}

.monitor-table th,
.monitor-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.monitor-table-compact th,
.monitor-table-compact td {
  padding: 9px 11px;
}

.monitor-table .date-col {
  width: 112px;
  white-space: nowrap;
  text-align: right;
}

.monitor-table th {
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.monitor-table td {
  color: var(--muted);
}

.monitor-table td strong {
  color: var(--ink);
}

.monitor-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 850;
  font-size: 0.82rem;
}

.monitor-pill.ok {
  background: rgba(4, 131, 62, 0.12);
  color: var(--green);
}

.monitor-pill.warn {
  background: rgba(254, 196, 38, 0.22);
  color: #7a5300;
}

.monitor-pill.risk {
  background: rgba(219, 13, 10, 0.12);
  color: #9f0806;
}

.monitor-error {
  padding: 24px;
  border-color: rgba(219, 13, 10, 0.28);
  background: rgba(219, 13, 10, 0.06);
}

.monitor-health-layout {
  display: grid;
  gap: 34px;
}

.monitor-subtitle {
  margin: 0 0 16px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.health-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.health-service-card {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 28px rgba(22, 33, 43, 0.06);
}

.health-service-card.ok {
  border-left-color: var(--green);
}

.health-service-card.warn {
  border-left-color: var(--yellow);
}

.health-service-card.risk {
  border-left-color: var(--red);
}

.health-service-card div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.health-service-card strong {
  font-size: 0.98rem;
}

.health-service-card p,
.monitor-empty {
  color: var(--muted);
}

.monitor-empty {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.monitor-vuln-page .page-hero-grid,
.monitor-vuln-page .vuln-section {
  width: min(1080px, calc(100% - 40px));
}

.monitor-vuln-page .page-hero-grid {
  grid-template-columns: 1fr;
}

.monitor-vuln-page .service-summary-card {
  max-width: 720px;
}

.monitor-vuln-page .vuln-grid {
  grid-template-columns: repeat(2, 1fr);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 58px 0 26px;
  color: white;
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 38px;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  width: 220px;
  height: 120px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.copyright {
  width: var(--section);
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #062d17;
  box-shadow: 0 16px 38px rgba(7, 94, 45, 0.28);
  font-weight: 900;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-section,
  .security-layout,
  .contact-grid,
  .expert-contact,
  .page-hero-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .hero-visual {
    min-height: 480px;
  }

  .m365-visual-card {
    transform: none;
  }

  .chip-top {
    top: 48px;
    right: 12px;
  }

  .chip-bottom {
    left: -4px;
    bottom: 96px;
  }

  .cyber-grid {
    grid-template-columns: 1fr;
    inset: auto 22px 22px;
  }

  .cyber-grid article {
    min-height: auto;
  }

  .threat-map {
    inset: 90px 28px 250px;
  }

  .proof-strip,
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.four,
  .card-grid.five,
  .mini-grid,
  .monitor-options,
  .vuln-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .monitor-hero .page-hero-grid,
  .monitor-panel-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .monitor-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .monitor-kpis-three {
    grid-template-columns: 1fr;
  }

  .vuln-toolbar {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 820px) {
  :root {
    --section: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand-logo {
    width: 154px;
  }

  .brand-link {
    width: 154px;
    height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: grid;
    align-items: stretch;
  }

  .site-menu > a,
  .menu-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .mega-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .menu-cluster.is-open .mega-menu {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }

  .section-shell {
    padding: 78px 0;
  }

  .hero-visual {
    min-height: 400px;
  }

  .signal-panel {
    inset: 34px 0 28px 22px;
  }

  .cyber-canvas {
    inset: 34px 0 28px 22px;
    transform: none;
  }

  .m365-visual-card {
    inset: 34px 0 28px 22px;
  }

  .proof-strip,
  .card-grid.four,
  .card-grid.five,
  .mini-grid,
  .monitor-options,
  .monitor-kpis,
  .monitor-vuln-page .vuln-grid,
  .vuln-grid,
  .process-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 106px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .service-tabs {
    display: grid;
  }

  .button,
  .tab-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 340px;
  }

  .microsoft-hero {
    min-height: 420px;
  }

  .m365-chip {
    min-width: 160px;
    padding: 12px;
  }

  .chip-top {
    top: 42px;
    right: 4px;
  }

  .chip-bottom {
    bottom: 82px;
    left: -6px;
  }

  .microsoft-hero .status-card {
    right: 0;
    bottom: 34px;
    width: 68%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 12px 14px;
  }

  .cyber-hero {
    min-height: 560px;
  }

  .cyber-topline {
    margin: 18px;
  }

  .threat-map {
    inset: 84px 20px 310px;
  }

  .orb-blue {
    width: 96px;
    height: 96px;
  }

  .orb-red,
  .orb-yellow {
    width: 78px;
    height: 78px;
  }

  .orb-green {
    width: 52px;
    height: 52px;
  }

  .status-card {
    right: 10px;
    bottom: 42px;
    width: 82%;
  }

  .labor-badge {
    width: 180px;
    height: 180px;
  }

  .labor-badge strong {
    font-size: 3.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Contact card override: keeps phone and email at normal reading size. */
#contacto .expert-card .contact-details a,
#contacto .expert-card .contact-details a:first-child,
#contacto .expert-card .contact-details a:nth-child(2) {
  font-size: 1.08rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}
