:root {
  --bg: #07111f;
  --bg-2: #0a1729;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #f5f7fb;
  --muted: #aeb8c8;
  --gold: #d8b86a;
  --gold-2: #ffe4a0;
  --cyan: #6ee7ff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(110, 231, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(216, 184, 106, 0.2), transparent 26%),
    linear-gradient(135deg, #050914 0%, var(--bg) 42%, #071827 100%);
  overflow-x: hidden;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), transparent 20%, transparent 80%, rgba(216,184,106,0.08));
  mix-blend-mode: screen;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #08111f;
  font-weight: 800;
}

.skip-link:focus-visible {
  left: 12px;
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 42px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.25);
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 34px rgba(216, 184, 106, 0.35);
}

.brand-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transform: scale(1.08);
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.76rem;
}

/* ── Hamburger menu ─────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 20;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 200ms ease;
  transform-origin: center;
}

.topbar.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.topbar.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Desktop nav ────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.lang-button:hover {
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-button {
  min-width: 48px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  transition: 180ms ease;
}

.lang-flag {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.lang-button.is-active {
  color: #10131b;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

nav a {
  padding: 11px 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: 180ms ease;
}

nav a:hover,
.nav-cta {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  border: 1px solid rgba(216, 184, 106, 0.38);
}

.section {
  padding: 86px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.align-start {
  align-items: start;
}

.hero {
  min-height: calc(100vh - 130px);
  padding-top: 28px;
  padding-bottom: 64px;
  overflow: hidden;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-panel {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(3.5rem, 6.4vw, 6.45rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.hero-lead,
.content-stack p,
.card p,
.case-card p,
.timeline p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-lead {
  max-width: 760px;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #10131b;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 20px 50px rgba(216, 184, 106, 0.26);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.button.ai-button {
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), #7dd3fc 45%, var(--gold-2));
  box-shadow: 0 20px 50px rgba(110, 231, 255, 0.22);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.trust-strip span {
  padding: 9px 12px;
  color: #dbe7f8;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  font-weight: 800;
}

.trust-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(216, 184, 106, 0.18) !important;
  transition: border-color 280ms ease, background 280ms ease;
}

.trust-logo-wrap:hover {
  border-color: rgba(216, 184, 106, 0.45) !important;
  background: rgba(255, 255, 255, 0.13) !important;
}

.trust-logo-wrap img {
  display: block;
  height: 22px;
  width: auto;
  color: #e2e8f4;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}


.hero-panel,
.card,
.case-card,
.quote-band,
.final-cta {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel {
  padding: 24px;
  border-radius: var(--radius);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(110, 231, 255, 0.28);
  border-radius: 999px;
  color: #d8fbff;
  background: rgba(110, 231, 255, 0.08);
  font-weight: 800;
  font-size: 0.86rem;
}

.status-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #42ffb1;
  box-shadow: 0 0 16px #42ffb1;
}

/* ── ESX Logo ── */
.esx-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  filter: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 24px rgba(110, 231, 255, 0.12);
  animation: esxLogoAlive 5s ease-in-out infinite;
  will-change: transform, box-shadow, filter;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.esx-footer-badge:hover .esx-logo {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32), 0 0 28px rgba(216, 184, 106, 0.18);
}

.portrait-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(216, 184, 106, 0.32), transparent 35%),
    linear-gradient(160deg, rgba(110, 231, 255, 0.13), rgba(255, 255, 255, 0.04));
}

.portrait-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 184, 106, 0.85), transparent 68%);
  filter: blur(18px);
  opacity: 0.55;
  animation: pulse 5s ease-in-out infinite;
}

.portrait-initials {
  position: relative;
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.2rem;
  font-weight: 800;
  background: rgba(7, 17, 31, 0.55);
}

.portrait-photo {
  position: relative;
  width: min(78%, 300px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 55px rgba(216, 184, 106, 0.22);
  transform-origin: center center;
  animation: portraitAlive 5s ease-in-out infinite;
  will-change: transform, filter, box-shadow;
}

.portrait-card.portrait-fallback::after {
  content: "SC";
  position: relative;
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.2rem;
  font-weight: 800;
  background: rgba(7, 17, 31, 0.55);
}

.team-intro {
  max-width: 720px;
  margin: 0 auto 42px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-credential {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(216, 184, 106, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  font-size: 1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.team-credential-star {
  display: inline-block;
  margin-right: 10px;
  color: var(--gold-2);
  font-size: 1.1rem;
  text-shadow: 0 0 14px rgba(216, 184, 106, 0.3);
}

.team-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  text-align: center;
}

.team-photo {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 50%;
  border: 2px solid rgba(216, 184, 106, 0.5);
  box-shadow: 0 0 44px rgba(216, 184, 106, 0.25), 0 12px 40px rgba(0, 0, 0, 0.35);
  background: #3d3d3d;
}

.team-photo--maikol {
  object-position: center 10%;
}

.team-photo--pablo {
  object-position: 54% 8%;
}

.team-photo--alfredo {
  object-position: 50% 8%;
}

.team-photo--candela {
  object-position: center 10%;
}

.team-avatar-fallback {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #06111f;
  box-shadow: 0 0 44px rgba(216, 184, 106, 0.25);
}

.team-role {
  color: var(--gold-2);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 4px 0 14px;
}

.media-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.audio-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.audio-header > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #06111f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 40px rgba(216, 184, 106, 0.22);
  font-weight: 900;
}

.audio-header p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

audio {
  width: 100%;
  margin: 4px 0 20px;
  accent-color: var(--gold);
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.media-fallback {
  margin: -8px 0 16px;
  color: var(--gold-2);
  font-weight: 700;
  line-height: 1.5;
}

.media-actions a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 800;
  transition: 180ms ease;
}

.media-actions a:hover {
  color: var(--gold-2);
  border-color: rgba(216, 184, 106, 0.45);
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1.18fr);
  gap: 26px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(110, 231, 255, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 18%, rgba(110, 231, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.ai-copy {
  align-self: center;
}

.ai-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 26px;
}

.ai-frame-wrap {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.2);
}

.ai-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #08111f;
}

.embed-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: clamp(20px, 4vw, 30px);
  background: transparent;
  pointer-events: none;
}

.embed-fallback h3,
.embed-fallback p {
  display: none;
}

.embed-fallback .button {
  pointer-events: auto;
}

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

.metric-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.16);
}

.metric-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
  font-size: 1.75rem;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.section-heading {
  max-width: 680px;
}

.section-heading.centered {
  margin: 0 auto 38px;
  text-align: center;
}

.content-stack {
  padding-top: 8px;
}

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

.card,
.case-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 30px;
  border-radius: 26px;
}

.card::after,
.case-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -50% 20%;
  height: 170px;
  background: radial-gradient(circle, rgba(216, 184, 106, 0.18), transparent 65%);
}

.card-index {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dark-panel {
  margin: 40px calc(50% - 50vw);
  padding: 98px calc(50vw - 50%);
  background: linear-gradient(135deg, rgba(3, 7, 15, 0.72), rgba(9, 28, 43, 0.82));
  border-block: 1px solid var(--line);
}

.case-card ul {
  position: relative;
  z-index: 1;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  padding: 10px 0;
  color: #dce6f5;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #10131b;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
}


.quote-band {
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius);
  text-align: center;
}

.quote-band blockquote {
  max-width: 940px;
  margin: 0 auto 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.quote-band p {
  color: var(--gold-2);
  font-weight: 900;
}

.final-cta {
  margin-bottom: 72px;
  padding: clamp(34px, 6vw, 76px);
  border-radius: var(--radius);
  text-align: center;
}

.final-cta .button + .button {
  margin-left: 10px;
}

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  color: var(--muted);
  font-weight: 800;
}

.contact-links a:hover {
  color: var(--gold-2);
}

/* ── ESX Footer Badge ── */
.esx-footer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.esx-logo-wrap {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(216, 184, 106, 0.28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 34px rgba(216, 184, 106, 0.08);
}

.esx-footer-badge p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.7;
}

.esx-footer-badge p a {
  color: var(--gold-2);
  font-weight: 800;
  transition: color 200ms ease;
}

.esx-footer-badge p a:hover {
  color: var(--cyan);
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(37, 211, 102, 0.26);
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.08);
  color: #e8fff0;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.whatsapp-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.48);
  background: rgba(37, 211, 102, 0.14);
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #25d366;
  color: #07111f;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.35);
}

.whatsapp-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Brands / Marcas Section ── */
.brands-intro {
  max-width: 680px;
  margin: 0 auto 42px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  font-size: 1.04rem;
}

.capabilities-intro {
  max-width: 680px;
  margin: 0 auto 38px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  font-size: 1.02rem;
}

.cases-intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(216, 184, 106, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 184, 106, 0.35);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(216, 184, 106, 0.1);
}

.brand-card:hover::before {
  opacity: 1;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: min(78%, 260px);
  height: auto;
  margin-bottom: 6px;
  color: #e2e8f4;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: color 400ms ease, filter 400ms ease;
}

.brand-logo--lenels2 {
  width: min(72%, 228px);
  margin-bottom: 8px;
}

.brand-logo--genetec {
  width: min(70%, 220px);
  margin-bottom: 7px;
}

.brand-logo--gallagher {
  width: min(69%, 214px);
  margin-bottom: 4px;
}

.brand-logo-png {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: filter 400ms ease;
}

.brand-logo-honeywell {
  width: min(69%, 182px);
  height: auto;
  margin-bottom: 11px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.brand-card:hover .brand-logo {
  color: #ffffff;
  filter: drop-shadow(0 0 18px rgba(216, 184, 106, 0.35));
}

.brand-card:hover .brand-logo-png {
  filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(216, 184, 106, 0.35));
}

.brand-card:hover .brand-logo-honeywell {
  filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(216, 184, 106, 0.35));
}

.brand-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  min-height: 5.2em;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.6;
}

.brand-badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: auto;
  padding: 7px 14px;
  border: 1px solid rgba(110, 231, 255, 0.18);
  border-radius: 999px;
  color: #9db8d8;
  background: rgba(110, 231, 255, 0.06);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  transition: border-color 320ms ease, background 320ms ease, color 320ms ease;
}

.brand-card:hover .brand-badge {
  border-color: rgba(216, 184, 106, 0.35);
  background: rgba(216, 184, 106, 0.08);
  color: var(--gold-2);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.45; }
  50% { transform: scale(1.08); opacity: 0.72; }
}

@keyframes portraitAlive {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: brightness(1) saturate(1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 55px rgba(216, 184, 106, 0.22);
  }
  35% {
    transform: translate3d(0, -2px, 0) scale(1.012);
    filter: brightness(1.04) saturate(1.03);
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.46), 0 0 60px rgba(216, 184, 106, 0.28);
  }
  50% {
    transform: translate3d(1px, -3px, 0) scale(1.02);
    filter: brightness(1.08) saturate(1.05);
    box-shadow: 0 30px 82px rgba(0, 0, 0, 0.48), 0 0 66px rgba(216, 184, 106, 0.34);
  }
  70% {
    transform: translate3d(-1px, -1px, 0) scale(1.01);
    filter: brightness(1.03) saturate(1.02);
    box-shadow: 0 26px 74px rgba(0, 0, 0, 0.46), 0 0 58px rgba(216, 184, 106, 0.26);
  }
}

@keyframes esxLogoAlive {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: brightness(1) saturate(1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 24px rgba(110, 231, 255, 0.12);
  }
  40% {
    transform: translate3d(0, -1px, 0) scale(1.01);
    filter: brightness(1.03) saturate(1.02);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), 0 0 28px rgba(216, 184, 106, 0.16);
  }
  55% {
    transform: translate3d(1px, -2px, 0) scale(1.015);
    filter: brightness(1.05) saturate(1.03);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32), 0 0 32px rgba(216, 184, 106, 0.2);
  }
  75% {
    transform: translate3d(-1px, -1px, 0) scale(1.008);
    filter: brightness(1.02) saturate(1.01);
    box-shadow: 0 13px 31px rgba(0, 0, 0, 0.29), 0 0 26px rgba(216, 184, 106, 0.14);
  }
}

/* ── Certifications Section ── */
.cert-intro {
  max-width: 680px;
  margin: 0 auto 42px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  font-size: 1.02rem;
}

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

.cert-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 320ms ease, border-color 320ms ease;
}

.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(216, 184, 106, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 184, 106, 0.3);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 18px;
}

.cert-logo {
  display: block;
  height: 28px;
  width: auto;
  color: #e2e8f4;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}

.cert-logo--avigilon {
  height: 80px;
  width: min(320px, 96%);
  object-fit: contain;
}

.cert-logo--cisco {
  height: 38px;
  width: min(150px, 80%);
  object-fit: contain;
}

.cert-logo--pelco {
  height: 52px;
  width: min(168px, 46%);
  object-fit: contain;
}

.cert-logo--amag {
  height: 68px;
  width: min(184px, 52%);
  object-fit: contain;
}

.cert-logo--honeywell {
  height: 42px;
  width: min(190px, 84%);
  object-fit: contain;
}

.cert-logo-png {
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}

.cert-platform-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-platform-stack--dual {
  min-height: 48px;
}

.cert-platform-stack--triple {
  min-height: 48px;
  gap: 18px;
  flex-wrap: nowrap;
}

.cert-platform-name {
  color: var(--gold-2);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-platform-name--ccna {
  color: #9ddcff;
  border: 1px solid rgba(110, 231, 255, 0.22);
  background: rgba(110, 231, 255, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}


.cert-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  text-align: center;
}

.cert-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}

.cert-badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cert-badge--pro {
  border-color: rgba(110, 231, 255, 0.22);
  color: #c0ecf8;
  background: rgba(110, 231, 255, 0.08);
}

.cert-badge--ent {
  border-color: rgba(216, 184, 106, 0.25);
  color: var(--gold-2);
  background: rgba(216, 184, 106, 0.08);
}

.cert-badge--acc {
  border-color: rgba(66, 255, 177, 0.2);
  color: #c1ffe4;
  background: rgba(66, 255, 177, 0.06);
}

.cert-badge--cyber {
  border-color: rgba(216, 184, 106, 0.2);
  color: #ffe0a8;
  background: rgba(216, 184, 106, 0.05);
}

.cert-detail {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.7;
}

.cert-gallery-card {
  margin-top: 30px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.cert-gallery-heading {
  margin-bottom: 22px;
}

.cert-gallery-heading h3 {
  margin: 0 0 10px;
}

.cert-gallery-intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.cert-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.cert-gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.cert-gallery-thumb:hover,
.cert-gallery-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 184, 106, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.cert-gallery-thumb-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 16px;
}

.cert-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  display: block;
  pointer-events: none;
}

.cert-gallery-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cert-gallery-watermark img {
  width: min(28%, 120px);
  height: auto;
  opacity: 0.14;
  filter: brightness(0) invert(1);
}

.cert-gallery-count {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.82);
  border: 1px solid rgba(216, 184, 106, 0.35);
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cert-gallery-title,
.cert-gallery-caption {
  display: block;
}

.cert-gallery-title {
  margin-top: 12px;
  color: #e8eef8;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.cert-gallery-caption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.cert-preview-image {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.cert-gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.cert-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
}

.cert-preview-modal[hidden] {
  display: none !important;
}

.cert-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cert-preview-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(92vh, 940px);
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(10, 20, 34, 0.96), rgba(5, 12, 22, 0.94));
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cert-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f8ff;
  font-size: 1.6rem;
  line-height: 1;
}

.cert-preview-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: end;
  justify-content: space-between;
  padding-right: 54px;
}

.cert-preview-header h3 {
  margin: 0;
}

.cert-preview-eyebrow {
  margin: 0 0 6px;
}

.cert-preview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-preview-counter {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cert-preview-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  min-height: 0;
}

.cert-preview-search-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: min(70vh, 720px);
}

.cert-preview-search-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9d8ee;
}

.cert-preview-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 12, 22, 0.7);
  color: #f4f8ff;
  font: inherit;
}

.cert-preview-search-input::placeholder {
  color: #8fa6c7;
}

.cert-preview-search-input:focus {
  outline: none;
  border-color: rgba(216, 184, 106, 0.42);
  box-shadow: 0 0 0 4px rgba(216, 184, 106, 0.12);
}

.cert-preview-search-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cert-preview-search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.cert-preview-search-result,
.cert-preview-search-empty {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cert-preview-search-result {
  text-align: left;
  color: #edf3ff;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cert-preview-search-result:hover,
.cert-preview-search-result:focus-visible,
.cert-preview-search-result.is-active {
  border-color: rgba(216, 184, 106, 0.28);
  background: rgba(216, 184, 106, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.cert-preview-search-result-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.cert-preview-search-result-file {
  display: block;
  margin-top: 4px;
  color: #8fa6c7;
  font-size: 0.75rem;
  line-height: 1.5;
  word-break: break-word;
}

.cert-preview-search-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.cert-preview-stage-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 0;
}

.cert-preview-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f8ff;
  font-size: 1.8rem;
  line-height: 1;
}

.cert-preview-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cert-preview-stage {
  position: relative;
  min-height: min(70vh, 720px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.cert-preview-image,
.cert-preview-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cert-preview-image {
  object-fit: contain;
  background: #fff;
  padding: 16px;
}

.cert-preview-empty {
  display: grid;
  place-items: center;
  padding: 28px;
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cert-preview-empty[hidden],
.cert-preview-image[hidden] {
  display: none !important;
}

.cert-preview-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
}

.cert-preview-watermark img {
  width: min(42vw, 340px);
  height: auto;
  opacity: 0.12;
  filter: brightness(0) invert(1) drop-shadow(0 0 24px rgba(7, 17, 31, 0.18));
  mix-blend-mode: normal;
}

body.modal-open {
  overflow: hidden;
}

/* ── Testimonials Section ── */
.testimonials-section {
  padding-top: 64px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  position: relative;
  padding: 38px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 320ms ease, border-color 320ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 184, 106, 0.3);
}

.testimonial-quote-mark {
  position: absolute;
  top: 12px;
  left: 22px;
  color: rgba(216, 184, 106, 0.18);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card blockquote {
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card blockquote p {
  margin: 0;
  color: #dce6f5;
  font-size: 0.95rem;
  line-height: 1.82;
  font-style: italic;
}

.testimonial-card footer {
  position: relative;
  z-index: 1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-card footer strong {
  display: block;
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 800;
}

.testimonial-card footer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── Site Footer ── */
.site-footer {
  margin-top: 28px;
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 42px;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo-wrap {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 6px;
  border: 1px solid rgba(216, 184, 106, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: border-color 200ms ease;
}

.footer-logo-wrap:hover {
  border-color: rgba(216, 184, 106, 0.45);
}

.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.footer-esx-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-esx-tagline a {
  color: var(--gold-2);
  font-weight: 800;
}

.footer-esx-tagline a:hover {
  color: var(--cyan);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.06);
  color: #e8fff0;
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.footer-whatsapp:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 211, 102, 0.4);
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-sep {
  color: var(--line);
}

.footer-privacy {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.footer-privacy:hover {
  color: var(--gold-2);
}

/* ── Engagement Section ── */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.engagement-card {
  position: relative;
  padding: 38px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 320ms ease, border-color 320ms ease;
}

.engagement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 184, 106, 0.3);
}

.engagement-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #10131b;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 0 28px rgba(216, 184, 106, 0.2);
}

.engagement-card h3 {
  margin-bottom: 8px;
}

.engagement-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.engagement-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.engagement-card li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: #dce6f5;
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 600;
}

.engagement-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  opacity: 0.55;
}

/* ── FAQ Section ── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 200ms ease;
}

.faq-item[open] {
  border-color: rgba(216, 184, 106, 0.2);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 180ms ease;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 250ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  color: var(--gold-2);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.82;
}

@media (max-width: 920px) {
  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 26px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .topbar-actions {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .topbar.is-open .topbar-actions {
    display: flex;
  }

  .topbar-tools {
    justify-content: flex-end;
  }

  nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    overflow-y: auto;
    max-height: 60vh;
    padding: 0;
  }

  nav a {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  nav a[aria-current="true"] {
    color: var(--gold-2);
    background: rgba(216, 184, 106, 0.12);
    border: 1px solid rgba(216, 184, 106, 0.26);
  }

  /* Bottom nav visible on mobile */
  .mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-col--brand {
    align-items: center;
  }

  .footer-whatsapp {
    align-self: center;
  }

  .engagement-grid,
  .section-grid,
  .ai-section,
  .cards.three,
  .case-grid,
  .team-grid,
  .brands-grid,
  .cert-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .ai-frame-wrap {
    min-height: 560px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.35rem, 15vw, 5.2rem);
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    top: 8px;
    margin-top: 8px;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .topbar-actions,
  .topbar-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .hamburger {
    width: 42px;
    height: 42px;
  }

  .lang-switch {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .final-cta .button + .button {
    margin-left: 0;
    margin-top: 12px;
  }

  .audio-header {
    align-items: flex-start;
  }

  .ai-frame-wrap {
    min-height: 500px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .footer-sep {
    display: none;
  }

  .section {
    padding: 58px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

/* ── Mobile Bottom Navigation ───────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 24px));
  z-index: 30;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
  padding: 8px 10px;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.bottom-nav-item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: 180ms ease;
  min-width: 0;
  text-align: center;
}

.bottom-nav-item:hover,
.bottom-nav-item:active,
.bottom-nav-item:focus-visible {
  color: var(--gold-2);
  background: rgba(216, 184, 106, 0.1);
}

.bottom-nav-icon {
  width: 21px;
  height: 21px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: content-box;
}

.bottom-nav-item:hover .bottom-nav-icon,
.bottom-nav-item:active .bottom-nav-icon,
.bottom-nav-item:focus-visible .bottom-nav-icon {
  background: rgba(216, 184, 106, 0.14);
  border-color: rgba(216, 184, 106, 0.24);
}

.bottom-nav-label {
  line-height: 1.1;
}

@media (max-width: 920px) {
  .cert-gallery-grid {
    grid-template-columns: minmax(0, 100%);
  }

  .cert-preview-dialog {
    padding: 20px;
  }

  .cert-preview-layout {
    grid-template-columns: 1fr;
  }

  .cert-preview-search-panel {
    min-height: auto;
    max-height: 280px;
  }

  .cert-preview-stage-wrap {
    grid-template-columns: 1fr;
  }

  .cert-preview-nav {
    width: 100%;
    height: 42px;
    border-radius: 14px;
  }

  .cert-preview-stage {
    min-height: 62vh;
  }
}

@media (max-width: 560px) {
  .cert-gallery-grid {
    grid-template-columns: 1fr;
  }

  .cert-preview-header {
    padding-right: 46px;
  }

  .cert-preview-search-panel {
    padding: 14px;
  }
}
