/* BitSafe TI — design tokens extracted from the live Elementor global kit (post-300.css) */
:root {
  --color-black: #000000;
  --color-accent: #780000;
  --color-accent-dark: #5a0000;
  --color-text: #555555;
  --color-text-dark: #262626;
  --color-gray-100: #f7f5f5;
  --color-gray-200: #ededed;
  --color-gray-300: #dedede;
  --color-gray-600: #424242;
  --color-white: #ffffff;

  --font-heading: "Poppins", sans-serif;
  --font-subheading: "Inter", sans-serif;
  --font-body: "Heebo", sans-serif;
  --font-accent: "Inter", sans-serif;

  --container-w: 1536px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  transform: translateY(-140%);
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-black);
}

h1 {
  font-size: clamp(32px, 4vw, 41px);
}
.nowrap-line {
  white-space: nowrap;
}
@media (max-width: 500px) {
  .nowrap-line {
    white-space: normal;
  }
}
h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-family: var(--font-subheading);
  font-weight: 600;
  line-height: 1.2;
}
h3 {
  font-size: 22px;
}

p {
  max-width: 65ch;
}

.container {
  width: 80%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

p + .btn,
p + a.btn {
  margin-top: 24px;
}

.hero-video-section .hero-text .btn {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-accent);
}

.btn-dark-outline {
  border-color: var(--color-black);
  color: var(--color-black);
}
.btn-dark-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--color-accent-dark);
  color: var(--color-white);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  font-size: 13px;
}
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-contacts a,
.topbar-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  opacity: 0.9;
}
.topbar-contacts a:hover {
  opacity: 1;
}
.topbar-contacts svg {
  flex-shrink: 0;
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-social a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .topbar-contacts span {
    display: none;
  }
}
@media (max-width: 640px) {
  .topbar {
    display: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-gray-200);
  transition: transform 0.3s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-logo img {
  height: 64px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  width: 64px;
  height: 64px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  position: relative;
  z-index: 210;
}
.nav-toggle span {
  width: 38px;
  height: 3px;
  background: var(--color-accent);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* ---------- Mega menu (hamburger-triggered, all breakpoints) ---------- */
.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: linear-gradient(150deg, #2a2a2a 0%, #1f1f1f 55%, #2b1010 100%);
  color: var(--color-gray-300);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  overflow-y: auto;
  padding: 110px 0 56px;
}
body.nav-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.nav-open {
  overflow: hidden;
}

.mega-menu-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 211;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr;
  gap: 48px;
}

.mega-menu-col h3 {
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.mega-menu-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.mega-menu-col a {
  font-size: 15px;
}
.mega-menu-col a:hover {
  color: var(--color-accent);
}
.mega-menu-col ul a.active {
  color: var(--color-accent);
  font-weight: 600;
}

.mega-menu-group {
  color: var(--color-white);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.mega-menu-group:first-child {
  margin-top: 0;
}

.mega-menu-text {
  font-size: 14px;
  color: #9a9a9a;
}

.mega-menu-desc {
  font-size: 14px;
  margin-bottom: 20px;
}

.mega-menu-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0;
  background: linear-gradient(
    180deg,
    var(--color-gray-100) 0%,
    var(--color-white) 100%
  );
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 strong {
  color: var(--color-accent);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-badges img {
  height: 48px;
  width: auto;
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  max-height: 420px;
}

/* ---------- Hero with background video ---------- */
.hero-video-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0;
  background: var(--color-black);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero-video-content {
  position: relative;
  z-index: 2;
  min-height: calc(90vh - 280px);
  display: flex;
  align-items: center;
}

.hero-video-section .hero-text {
  max-width: 620px;
}
.hero-video-section h1,
.hero-video-section .eyebrow {
  color: var(--color-white);
}
.hero-video-section h1 {
  font-weight: 300;
}
.hero-video-section .hero-text p {
  color: var(--color-gray-300);
}
.hero-video-section h1 strong {
  color: var(--color-white);
  font-weight: 600;
}

.hero-badges-chip {
  position: absolute;
  right: 0;
  bottom: -104px;
  margin: 0;
  gap: 22px;
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-badges-chip img {
  height: 88px;
}
.hero-badges-chip img.badge-sm {
  height: 52px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* ---------- Generic section ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--color-gray-100);
}
.testimonials-section-bg {
  background: linear-gradient(135deg, #f7f5f5 0%, #f5e6e6 100%);
  overflow-x: hidden;
}
.section-dark {
  background: var(--color-black);
  color: var(--color-gray-300);
}
.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}
.section-dark .card {
  color: var(--color-text);
}
.section-dark .card h3 {
  color: var(--color-black);
}
.section-partners,
.section-excellence {
  background: #262626;
}
.section-partners .eyebrow,
.section-partners h2,
.section-excellence .eyebrow,
.section-excellence h2,
.section-excellence h3,
.section-excellence p,
.section-excellence .stat-number,
.section-excellence .stat-label {
  color: var(--color-white) !important;
}
.section-excellence {
  padding: 64px 0 0;
}
.excellence-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.12fr);
  gap: 56px;
  align-items: start;
}
.section-excellence .excellence-copy {
  max-width: 620px;
  margin: 0;
  text-align: left;
}
.section-excellence .excellence-copy .eyebrow {
  display: none;
}
.section-excellence .excellence-copy h2 {
  max-width: 620px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--color-white);
}
.section-excellence .excellence-copy h2 .title-line {
  display: block;
  white-space: nowrap;
}
.section-excellence .excellence-copy h2 .highlight {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0 4px 4px;
  margin: 4px 0;
}
.section-excellence .excellence-copy p {
  max-width: 560px;
  margin-top: 28px;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.38;
  color: var(--color-white);
}
.excellence-skills {
  display: grid;
  gap: 30px;
  padding-top: 6px;
}
.skill-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}
.skill-row h3 {
  min-width: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--color-white) !important;
}
.skill-row .stat-number {
  justify-self: end;
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-white) !important;
}
.skill-row::after {
  content: "";
  grid-column: 1 / -1;
  height: 11px;
  background:
    linear-gradient(to right, var(--color-accent) 0 99%, var(--color-white) 99% 100%);
}
.excellence-stats {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  margin: 50px auto -58px;
  background:
    linear-gradient(74deg, var(--color-white) 0 47%, var(--color-black) 47.1% 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.excellence-stat {
  min-height: 174px;
  padding: 42px 24px 34px;
  text-align: center;
}
.excellence-stat::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  background-color: var(--color-accent);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.excellence-stat:nth-child(1)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='16' r='7'/%3E%3Cpath d='M12 39v-4c0-6 5-10 12-10s12 4 12 10v4'/%3E%3Ccircle cx='10' cy='20' r='5'/%3E%3Cpath d='M3 38v-3c0-4 3-7 8-7'/%3E%3Ccircle cx='38' cy='20' r='5'/%3E%3Cpath d='M45 38v-3c0-4-3-7-8-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='16' r='7'/%3E%3Cpath d='M12 39v-4c0-6 5-10 12-10s12 4 12 10v4'/%3E%3Ccircle cx='10' cy='20' r='5'/%3E%3Cpath d='M3 38v-3c0-4 3-7 8-7'/%3E%3Ccircle cx='38' cy='20' r='5'/%3E%3Cpath d='M45 38v-3c0-4-3-7-8-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.excellence-stat:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='32' height='24' rx='2'/%3E%3Cpath d='M18 40h12M24 32v8M16 15h16M16 21h10M30 22l7 7M33 29h4v-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='32' height='24' rx='2'/%3E%3Cpath d='M18 40h12M24 32v8M16 15h16M16 21h10M30 22l7 7M33 29h4v-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.excellence-stat:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5l4 6 7-1-1 7 6 4-6 4 1 7-7-1-4 6-4-6-7 1 1-7-6-4 6-4-1-7 7 1 4-6z'/%3E%3Cpath d='M17 25l5 5 10-12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5l4 6 7-1-1 7 6 4-6 4 1 7-7-1-4 6-4-6-7 1 1-7-6-4 6-4-1-7 7 1 4-6z'/%3E%3Cpath d='M17 25l5 5 10-12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.excellence-stat:nth-child(4)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18'/%3E%3Cpath d='M6 24h36M24 6c5 5 8 11 8 18s-3 13-8 18M24 6c-5 5-8 11-8 18s3 13 8 18'/%3E%3Ccircle cx='18' cy='27' r='3'/%3E%3Ccircle cx='30' cy='27' r='3'/%3E%3Cpath d='M10 39c2-6 7-9 14-9s12 3 14 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18'/%3E%3Cpath d='M6 24h36M24 6c5 5 8 11 8 18s-3 13-8 18M24 6c-5 5-8 11-8 18s3 13 8 18'/%3E%3Ccircle cx='18' cy='27' r='3'/%3E%3Ccircle cx='30' cy='27' r='3'/%3E%3Cpath d='M10 39c2-6 7-9 14-9s12 3 14 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.excellence-stat:nth-child(n + 3) .stat-number,
.excellence-stat:nth-child(n + 3) .stat-label {
  color: var(--color-white) !important;
}
.excellence-stat:nth-child(-n + 2) .stat-number {
  color: var(--color-black) !important;
}
.excellence-stat:nth-child(-n + 2) .stat-label {
  color: var(--color-text) !important;
}
.excellence-stat .stat-number {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1;
}
.excellence-stat .stat-number::after {
  content: " +";
  color: var(--color-accent);
  font-size: 0.48em;
  vertical-align: 0.25em;
}
.excellence-stat .stat-label {
  margin-top: 16px;
  font-size: 18px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p {
  margin: 12px auto 0;
  max-width: 55ch;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.card p {
  font-size: 15px;
  transition: color 0.2s ease;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.blog-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-gray-100);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.blog-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.blog-card p {
  margin-bottom: 22px;
  font-size: 15px;
}

.blog-card .btn {
  margin-top: auto;
}

#servicos .card:hover,
#servicos .card:focus-within {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

#servicos .card:hover h3,
#servicos .card:hover p,
#servicos .card:focus-within h3,
#servicos .card:focus-within p {
  color: var(--color-white);
}

#servicos .card:hover .btn-dark-outline,
#servicos .card:focus-within .btn-dark-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}

#servicos .card:hover .icon-badge,
#servicos .card:focus-within .icon-badge {
  background: rgba(255, 255, 255, 0.12);
}

#servicos .card:hover .icon-badge img,
#servicos .card:focus-within .icon-badge img {
  filter: brightness(0) invert(1);
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s ease;
}
.icon-badge img {
  height: 28px;
  width: 28px;
  transition: filter 0.2s ease;
}
.icon-badge svg {
  width: 26px;
  height: 26px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}
.badge-row img {
  height: 56px;
  width: auto;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  color: var(--color-accent);
}
.stat-label {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 6px;
}

/* ---------- Comparison table (vendor category vs. category) ---------- */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-gray-200);
}
.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--color-white);
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
  vertical-align: top;
}
.compare-table th {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--color-black);
  background: var(--color-gray-100);
  white-space: nowrap;
}
.compare-table td:first-child,
.compare-table th:first-child {
  font-weight: 600;
  color: var(--color-black);
  white-space: nowrap;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table .compare-highlight {
  background: rgba(120, 0, 0, 0.05);
  color: var(--color-accent);
}

/* ---------- Blog index (search + category teaser sections) ---------- */
.blog-search {
  display: flex;
  max-width: 480px;
  margin: 28px auto 0;
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-white);
}
.blog-search input {
  flex: 1;
  border: none;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  background: transparent;
}
.blog-search button {
  border: none;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0 26px;
  cursor: pointer;
  font-size: 16px;
}
.blog-search button:hover {
  background: var(--color-accent-dark);
}

.blog-teaser-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.blog-teaser-head h2 {
  margin-bottom: 8px;
}
.blog-teaser-head p {
  margin: 0;
  max-width: 480px;
}
.blog-teaser-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-teaser-item .blog-card-body {
  padding: 24px;
}
.blog-teaser-item .eyebrow {
  margin-bottom: 8px;
}
.blog-teaser-item h3 {
  font-size: 18px;
  margin: 0;
}
.blog-teaser-item[hidden],
.blog-teaser-section[hidden] {
  display: none;
}

.blog-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.blog-newsletter-form input {
  flex: 1;
  min-width: 160px;
  padding: 13px 14px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
}

.blog-category-nav {
  border-bottom: 1px solid var(--color-gray-200);
  background: var(--color-white);
}
.blog-category-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  padding: 18px 0;
}
.blog-category-nav a {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-category-nav a:hover {
  color: var(--color-accent);
}

/* ---------- Article (blog post) ---------- */
.article-hero {
  padding: 56px 0 40px;
  background: var(--color-gray-100);
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 24px;
}
.article-back:hover {
  color: var(--color-accent);
}
.article-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--color-text);
}
.article-meta .article-author {
  font-weight: 600;
  color: var(--color-text-dark);
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.article-share button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  color: var(--color-text-dark);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.article-share button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}
.article-share svg {
  width: 16px;
  height: 16px;
}
.article-cover {
  margin-top: 40px;
}
.article-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0;
}
.article-body h2 {
  font-size: 26px;
  margin: 48px 0 16px;
}
.article-body h3 {
  font-size: 20px;
  margin: 36px 0 12px;
}
.article-body p {
  max-width: none;
  margin-bottom: 20px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body a {
  color: var(--color-accent);
  text-decoration: underline;
}
.article-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 8px 0 28px;
}
.article-callout {
  background: rgba(120, 0, 0, 0.05);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 8px 0 28px;
}
.article-callout strong {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.article-callout p {
  margin: 0 !important;
  font-size: 15px;
}

/* ---------- Testimonials ---------- */
.carousel {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
}
.carousel-viewport {
  overflow: hidden;
  padding: 52px 70px 88px;
  margin: -52px -70px -72px;
  pointer-events: none;
}
.carousel-track.testimonials-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}
.carousel-track.testimonials-track .testimonial-slide {
  flex: 1 0 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.carousel-track.testimonials-track .testimonial-slide.is-active,
.carousel-track.testimonials-track .testimonial-slide.is-moving {
  opacity: 1;
  visibility: visible;
}
.carousel-track.testimonials-track .testimonial-slide.is-active {
  pointer-events: auto;
}
.carousel-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}
.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  color: var(--color-black);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-arrow:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--color-gray-300);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.is-active {
  background: var(--color-accent);
  width: 22px;
  border-radius: 5px;
  transition: width 0.25s ease;
}

.testimonial-card {
  position: relative;
  margin: 0 0 30px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow:
    0 24px 70px rgba(74, 38, 38, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 32px 36px;
}
.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 48px;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border-right: 1px solid rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 12px 12px 28px rgba(74, 38, 38, 0.08);
  border-radius: 0 0 5px 0;
  transform: rotate(45deg);
}
.testimonial-card p {
  font-size: 15px;
  font-style: italic;
}
.testimonial-name {
  margin-top: 16px;
  margin-left: 8px;
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--color-black);
}

/* ---------- Methodology section watermark ---------- */
.methodology-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 28%, #f3f3f3 100%);
  overflow: hidden;
}
.methodology-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/2022/09/map-dotted.jpg");
  background-position: center center;
  background-size: cover;
  opacity: 0.05;
  pointer-events: none;
}
.methodology-section .container {
  position: relative;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  position: relative;
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 auto 16px;
}
.step-arrow::before {
  content: "\2192";
  position: absolute;
  top: 24px;
  left: -40px;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--color-accent);
  opacity: 0.5;
}
@media (max-width: 720px) {
  .step-arrow::before {
    content: "\2193";
    position: static;
    display: block;
    transform: none;
    margin: 0 0 12px;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--color-white);
}
.cta-banner p {
  margin: 16px auto 28px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner-split {
  text-align: left;
  padding: 88px 0;
}
.cta-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-split-text p {
  margin: 12px 0 0;
  max-width: 46ch;
}
.cta-benefits,
.cta-contact-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.cta-contact-list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-form {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.cta-form h3 {
  color: var(--color-black);
}
.cta-form > p {
  color: var(--color-text);
  margin: 8px 0 20px;
}
.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
}
.cta-form textarea {
  resize: vertical;
  margin-bottom: 16px;
}
.cta-form-feedback {
  margin-top: 14px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 900px) {
  .cta-split-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .cta-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Partners ---------- */
.partners-marquee {
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-shrink: 0;
  padding-right: 56px;
  animation: partners-scroll 28s linear infinite;
}
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}
.partners-marquee {
  display: flex;
}
.partners-track img {
  max-height: 52px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.partners-track img:hover {
  opacity: 1;
}
.partners-track img.on-dark-logo {
  background: var(--color-black);
  padding: 10px 16px;
  border-radius: 8px;
  max-height: 44px;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}

/* ---------- Group companies ---------- */
.group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.group-card {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.group-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.group-logo {
  height: 64px;
  width: auto;
  margin: 0 auto 16px;
  object-fit: contain;
}

/* ---------- Footer certifications ---------- */
.footer-certs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}
.footer-certs img {
  height: 72px;
  width: auto;
}
.footer-certs img.footer-certs-sm {
  height: 52px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-black);
  color: var(--color-gray-300);
  padding: 72px 0 24px;
}
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--color-gray-600);
}
.footer-newsletter h2 {
  color: var(--color-white);
  font-size: clamp(20px, 2.4vw, 28px);
  max-width: 480px;
}
.footer-newsletter-note {
  font-size: 12px;
  color: var(--color-gray-300);
  max-width: 480px;
  margin-top: 12px;
}
.footer-newsletter .newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-newsletter .newsletter-form input {
  padding: 14px 16px;
  border: 1px solid var(--color-gray-600);
  border-radius: var(--radius);
  background: var(--color-gray-600);
  color: var(--color-white);
  min-width: 180px;
}
.footer-newsletter .newsletter-form input::placeholder {
  color: var(--color-gray-300);
}
.footer-newsletter .newsletter-feedback {
  flex-basis: 100%;
  margin-top: 12px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 720px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 2fr;
  gap: 32px;
}
.footer-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px 32px;
}
.footer-col-infra {
  grid-column: 1;
  grid-row: 1;
}
.footer-col-bitgroup {
  grid-column: 1;
  grid-row: 2;
}
.footer-col-outsourcing {
  grid-column: 2;
  grid-row: 1;
}
.footer-col-legal {
  grid-column: 2;
  grid-row: 2;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-col a:hover {
  color: var(--color-accent);
}
.footer-about img {
  height: 56px;
  margin-bottom: 16px;
}
.footer-about p {
  font-size: 14px;
  color: var(--color-gray-300);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.footer-social svg {
  width: 22px;
  height: 22px;
}
.footer-social a:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-600);
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ---------- Page hero (secondary pages) ---------- */
.page-hero {
  padding: 64px 0;
  background: var(--color-gray-100);
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.page-hero .hero-award-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.page-hero .hero-award-row img {
  height: 40px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row:not(:last-child) {
  margin-bottom: 72px;
}
.feature-row.reverse .feature-text {
  order: 2;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 12px;
}
.about-features div {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 72px;
  overflow: hidden;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 14px 12px;
  box-sizing: border-box;
}
.about-features div::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.feature-list li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
}

.icon-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.icon-feature {
  text-align: center;
  padding: 24px;
}
.icon-feature img {
  height: 48px;
  margin: 0 auto 16px;
}
.icon-feature h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.icon-feature p {
  font-size: 14px;
  margin: 0 auto;
}

.pill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pill-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--color-white);
  border-radius: 999px;
  padding: 20px 32px;
  flex-wrap: wrap;
}
.pill-item img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.pill-item img.pill-photo {
  border-radius: 50%;
  object-fit: cover;
}
.pill-item-text {
  flex: 1;
  min-width: 220px;
}
.pill-item-text h4 {
  font-size: 18px;
}
.pill-item-text p {
  margin-top: 4px;
  font-size: 15px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.why-item {
  display: flex;
  gap: 16px;
}
.why-item .why-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-accent);
}

.contact-strip {
  background: var(--color-gray-100);
  padding: 32px 0;
  text-align: center;
}
.contact-strip p {
  margin: 0 auto 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container,
  .page-hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .grid-3,
  .grid-4,
  .stats-grid,
  .steps,
  .group-grid,
  .icon-feature-grid,
  .blog-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-text {
    order: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 48px);
  }
  .grid-3,
  .grid-4,
  .stats-grid,
  .steps,
  .group-grid,
  .icon-feature-grid,
  .blog-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-secondary-grid {
    grid-template-columns: 1fr;
  }
  .footer-col-infra,
  .footer-col-bitgroup,
  .footer-col-outsourcing,
  .footer-col-legal {
    grid-column: 1;
  }
  .footer-col-bitgroup { grid-row: 2; }
  .footer-col-outsourcing { grid-row: 3; }
  .footer-col-legal { grid-row: 4; }
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 900px) {
  .mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mega-menu {
    padding-top: 92px;
  }
}

@media (max-width: 900px) {
  .hero-video-content {
    min-height: auto;
    display: block;
  }
  .hero-badges-chip {
    position: static;
    margin-top: 32px;
  }
  .hero-badges-chip img {
    height: 68px;
  }
  .hero-badges-chip img.badge-sm {
    height: 42px;
  }
  .section-excellence {
    padding-top: 58px;
  }
  .excellence-container {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .section-excellence .excellence-copy h2 {
    max-width: 680px;
  }
  .section-excellence .excellence-copy p {
    margin-top: 22px;
  }
  .excellence-stats {
    margin-top: 38px;
    grid-template-columns: repeat(2, 1fr);
    background: none;
  }
  .excellence-stat:nth-child(-n + 2) {
    background: var(--color-white);
  }
  .excellence-stat:nth-child(n + 3) {
    background: var(--color-black);
  }
}

@media (max-width: 720px) {
  .section-excellence .excellence-copy h2 {
    font-size: clamp(29px, 8.4vw, 34px);
  }
  .section-excellence .excellence-copy h2 .title-line {
    white-space: normal;
  }
  .section-excellence .excellence-copy p {
    font-size: 19px;
  }
  .skill-row {
    gap: 10px 14px;
  }
  .skill-row h3,
  .skill-row .stat-number {
    font-size: 16px;
  }
  .excellence-stats {
    grid-template-columns: 1fr;
    margin-bottom: -42px;
  }
  .excellence-stat {
    min-height: 140px;
    padding: 30px 20px 28px;
  }
}

/* ---------- Live-site parity and containment ---------- */
*,
*::before,
*::after {
  min-width: 0;
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
li,
a,
blockquote {
  overflow-wrap: break-word;
}

#conteudo-principal {
  background: var(--color-white);
}

.live-page-content .elementor-widget-metform,
.live-page-content .formpicker_warper,
.live-page-content .mf-form-wrapper,
.live-page-content .metform-form-content {
  display: none !important;
}

.live-page-content .site-contact-section {
  margin-top: 0;
}

.container,
.grid,
.feature-row,
.page-hero .container,
.cta-split-grid,
.footer-grid,
.footer-newsletter,
.mega-menu-grid,
.site-contact-section,
.cta-form {
  min-width: 0;
}

.page-hero {
  overflow: hidden;
}

.page-hero .hero-visual {
  align-items: center;
  min-height: 260px;
}

.page-hero .hero-visual img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.page-hero .hero-text p {
  max-width: 680px;
}

.section-dark .card[style*="transparent"] p {
  color: var(--color-gray-300);
}

.cta-form input,
.cta-form textarea,
.newsletter-form input,
.newsletter-form button,
.btn {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .nowrap-line {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .page-hero {
    padding: 52px 0;
  }

  .page-hero .container {
    gap: 32px;
  }

  .page-hero .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 28px;
  }

  .topbar .container {
    height: auto;
    min-height: 40px;
    padding: 8px 0;
  }

  .topbar-contacts {
    gap: 14px;
    flex-wrap: wrap;
  }

  .page-hero .hero-text,
  .page-hero .hero-text p {
    max-width: 100%;
  }

  .btn {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 36px);
  }

  body {
    font-size: 17px;
  }

  .page-hero {
    padding: 44px 0;
  }

  .card,
  .cta-form,
  .group-card,
  .icon-feature {
    padding: 24px;
  }
}

/* .back-to-top rules live in shell-lock.css so they survive imported WordPress/Elementor page CSS. */
