:root {
  --bg: #07111b;
  --bg-deep: #030811;
  --panel: rgba(8, 20, 35, 0.82);
  --panel-strong: rgba(5, 15, 28, 0.92);
  --text: #eef3fb;
  --muted: #b8c8da;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --primary: #d3223a;
  --primary-dark: #a81328;
  --accent: #2a86ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #07111b 0%, #081421 50%, #07111b 100%);
  line-height: 1.6;
}

body.landing-page { overflow: hidden; }
body.company-page { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.eyebrow,
.hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d6e2ef;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: block;
  box-shadow: 0 0 0 6px rgba(42,134,255,0.14);
}

h1, h2, h3, p, ul { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.btn--full { width: 100%; }
.btn--hero { padding: 15px 28px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}


.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #163a59;
  margin: 5px auto;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover, .footer__links a:hover { color: #fff; }

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LANDING INDEX ===== */
.site-video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(42, 134, 255, 0.18), transparent 28%),
    radial-gradient(circle at right bottom, rgba(211, 34, 58, 0.16), transparent 28%),
    #050d17;
}
.site-video-bg__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.site-video-bg__slide.is-active {
  opacity: 1;
}
.site-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.site-video-bg__single {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.68 !important;
  filter: brightness(0.78) saturate(1.08) contrast(1.06);
}
.site-video-bg__slide video {
  opacity: 0.28;
}
.site-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 9, 18, 0.5) 0%, rgba(3, 9, 18, 0.74) 55%, rgba(3, 9, 18, 0.95) 100%);
}
.site-video-overlay--split {
  background: linear-gradient(180deg, rgba(3, 9, 18, 0.18) 0%, rgba(3, 9, 18, 0.46) 52%, rgba(3, 9, 18, 0.78) 100%);
  backdrop-filter: saturate(1.03);
}

.split-entry {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.split-entry__logo {
  position: fixed;
  top: 18px;
  left: 24px;
  z-index: 100;
}
.split-entry__logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55));
}
.split-entry__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.entry-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 50px 56px;
  border-right: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.entry-panel:last-child { border-right: none; }
.entry-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.entry-panel--empresa::before { background: rgba(211,34,58,.46); }
.entry-panel--trabajo::before { background: rgba(42,134,255,.38); }
.entry-panel:hover::before { opacity: 1; }
.entry-panel__inner { position: relative; z-index: 2; max-width: 460px; }
.entry-panel__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 14px;
}
.entry-panel__eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: currentColor; }
.entry-panel h1, .entry-panel h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 9ch;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.entry-panel p {
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  max-width: 34ch;
}
.entry-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-weight: 700;
}
.entry-panel__ghost {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-family: 'Syne', sans-serif;
  font-size: clamp(90px, 16vw, 220px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
}

/* ===== COMPANY PAGE ===== */
.company-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.company-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.company-logo img {
  height: 50px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
}
.site-nav--company { gap: 10px; }
.site-nav--company a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #163a59;
  font-weight: 700;
}
.site-nav--company a:hover {
  background: rgba(22, 58, 89, 0.08);
  color: #0f2f49;
}
.site-nav__back {
  border: 1px solid rgba(22, 58, 89, 0.18);
  background: #ffffff;
  color: #163a59 !important;
}
.site-nav__contact {
  background: rgba(42,134,255,0.95);
  color: #fff !important;
}
.site-nav__contact:hover {
  background: #2375e0 !important;
  color: #fff !important;
}

.empresa-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #040b14;
}
.empresa-hero__media {
  position: absolute;
  inset: 0;
}
.empresa-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.05s ease;
}
.empresa-slide.is-active { opacity: 1; }
.empresa-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.58) saturate(0.86) contrast(1.04);
}
.empresa-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(42,134,255,0.16), transparent 22%),
    linear-gradient(90deg, rgba(5,12,22,0.88) 0%, rgba(5,12,22,0.54) 42%, rgba(5,12,22,0.38) 64%, rgba(5,12,22,0.74) 100%),
    linear-gradient(180deg, rgba(4,10,18,0.26) 0%, rgba(4,10,18,0.14) 26%, rgba(4,10,18,0.48) 76%, rgba(4,10,18,0.88) 100%);
}
.empresa-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 142px 0 58px;
  display: block;
}
.empresa-hero__content {
  max-width: 1100px;
}
.empresa-hero__rotator {
  position: relative;
  max-width: 980px;
  min-height: clamp(150px, 18vw, 220px);
  margin: 18px 0 18px;
}
.empresa-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.empresa-message.is-active {
  opacity: 1;
  transform: translateY(0);
}
.empresa-message h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.12rem, 1.55vw, 1.7rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 34ch;
  text-wrap: balance;
  margin-bottom: 10px;
  text-shadow: 0 6px 34px rgba(0,0,0,0.28);
}
.empresa-message p {
  font-size: clamp(0.85rem, 0.95vw, 0.96rem);
  color: rgba(240,245,252,0.9);
  max-width: 56ch;
  text-shadow: 0 2px 12px rgba(0,0,0,0.22);
}
.empresa-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.empresa-hero__dots {
  display: flex;
  gap: 10px;
}
.empresa-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.34);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.empresa-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}


.section--video {
  overflow: hidden;
}
.section--video > .container {
  position: relative;
  z-index: 2;
}
.section-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(0.9);
}
.section-video-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(42,134,255,0.16), transparent 22%),
    linear-gradient(180deg, rgba(4,10,18,0.64) 0%, rgba(4,10,18,0.52) 26%, rgba(4,10,18,0.72) 70%, rgba(4,10,18,0.9) 100%);
}
.section-video-bg__overlay--soft {
  background:
    radial-gradient(circle at 82% 24%, rgba(211,34,58,0.14), transparent 18%),
    linear-gradient(180deg, rgba(4,10,18,0.64) 0%, rgba(4,10,18,0.46) 26%, rgba(4,10,18,0.68) 72%, rgba(4,10,18,0.88) 100%);
}
.section-video-bg__overlay--value {
  background:
    radial-gradient(circle at 50% 22%, rgba(42,134,255,0.15), transparent 20%),
    linear-gradient(180deg, rgba(4,10,18,0.58) 0%, rgba(4,10,18,0.42) 28%, rgba(4,10,18,0.62) 74%, rgba(4,10,18,0.9) 100%);
}
.section--video .section-copy,
.section--video .value-block,
.section--video .bullet-card {
  background: rgba(6, 18, 34, 0.42);
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.section--video .bullet-card {
  min-height: 170px;
}
.section--video-tight .value-block {
  max-width: 880px;
}
.section {
  position: relative;
  padding: 78px 0;
}
.section--pullup { margin-top: -12px; }
.section-heading {
  margin-bottom: 22px;
}
.section-heading--company h2 {
  position: relative;
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  margin: 14px 0 0;
  will-change: transform;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255,255,255,0.12);
  letter-spacing: -0.03em;
}
.section-heading--company h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: min(140px, 36%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.96), rgba(255,255,255,0.28));
  box-shadow: 0 0 22px rgba(255,255,255,0.18);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s ease 0.15s;
}
.section-heading--company.is-visible h2 {
  animation: headingFloat 5.4s ease-in-out infinite;
}
.section-heading--company.is-visible h2::after {
  transform: scaleX(1);
}
.section-heading p {
  color: var(--muted);
  max-width: 58ch;
  margin-top: 12px;
}
.section-copy,
.value-block,
.form-card,
.contact-details,
.logo-grid {
  border-radius: var(--radius-xl);
}
.section-copy { padding: 30px; }
.section-copy p,
.value-block p { color: #dfe9f4; font-size: 1.02rem; }
.section-copy p + p,
.value-block p + p { margin-top: 16px; }

.cards-grid {
  display: grid;
  gap: 18px;
}
.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-card,
.bullet-card,
.logo-box,
.profile-card {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.26s ease, border-color 0.26s ease;
}
.info-card:hover,
.bullet-card:hover,
.logo-box:hover,
.profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}
.info-card h3,
.bullet-card p { margin-bottom: 14px; }
.info-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.22rem;
}
.info-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.info-card li + li { margin-top: 8px; }
.bullet-card p,
.logo-box { color: #e7eef7; }

.cards-grid--profiles {
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.profile-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  isolation: isolate;
}
.profile-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.95);
}
.profile-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,12,22,0.18) 0%, rgba(5,12,22,0.52) 48%, rgba(5,12,22,0.9) 100%);
}
.profile-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 24px;
}
.profile-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.22rem;
  margin-bottom: 14px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.45);
}
.profile-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(238,243,251,0.94);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.profile-card li + li { margin-top: 8px; }
.logo-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.logo-box {
  min-height: 110px;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #b7c7da;
}
.value-block { padding: 34px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}
.contact-details {
  padding: 22px;
  margin-top: 22px;
}
.contact-details p {
  margin: 0;
  color: #e7eef7;
}
.contact-details p + p { margin-top: 10px; }
.form-card { padding: 28px; }
.form-alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-alert--success {
  background: rgba(29, 165, 107, 0.16);
  border: 1px solid rgba(29, 165, 107, 0.32);
  color: #d7fff0;
}
.form-alert--error {
  background: rgba(212, 70, 70, 0.16);
  border: 1px solid rgba(212, 70, 70, 0.34);
  color: #ffe1e1;
}
.contact-form { display: grid; gap: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label { display: grid; gap: 8px; }
label span { font-size: 0.92rem; color: #d9e4f1; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.24s ease, background 0.24s ease;
}
input:focus, textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
textarea { resize: vertical; min-height: 150px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 18, 0.92);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  color: var(--muted);
}
.footer__brand img {
  height: 96px;
  width: auto;
  margin-bottom: 12px;
}
.footer__brand p {
  margin: 0;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.placeholder-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 48px 0;
}
.placeholder-card {
  padding: 42px;
  max-width: 760px;
  border-radius: var(--radius-xl);
}
.placeholder-card h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  margin: 16px 0;
}
.placeholder-card p { color: var(--muted); }


@keyframes headingFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, 0, 0); }
}

@media (max-width: 1180px) {
  .cards-grid--profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .empresa-hero__inner {
    padding-top: 136px;
    padding-bottom: 46px;
  }
  .cards-grid--three,
  .logo-grid,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.landing-page { overflow: auto; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 88px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(6, 16, 30, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; }

  .split-entry__logo { top: 14px; left: 14px; }
  .split-entry__logo img { height: 56px; }
  .split-entry__grid {
    grid-template-columns: 1fr;
  }
  .entry-panel {
    min-height: 50vh;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 110px 28px 38px;
  }
  .entry-panel:last-child { border-bottom: none; }
  .entry-panel h1,
  .entry-panel h2 { font-size: clamp(1.9rem, 7vw, 3rem); }
  .entry-panel__ghost { font-size: 88px; }

  .company-header__inner { min-height: 76px; }
  .company-logo img { height: 46px; max-width: 240px; }
  .empresa-hero__inner {
    padding-top: 136px;
    padding-bottom: 42px;
  }
  .empresa-hero__rotator {
    max-width: 760px;
    min-height: 190px;
  }
  .empresa-message h1 {
    font-size: clamp(1.02rem, 2.5vw, 1.45rem);
    max-width: 30ch;
  }
  .empresa-message p {
    max-width: 48ch;
  }
}

@media (max-width: 720px) {
  .cards-grid--three,
  .cards-grid--profiles,
  .logo-grid,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .empresa-hero {
    min-height: 92vh;
  }
  .empresa-hero__rotator {
    max-width: 100%;
    min-height: 175px;
  }
  .empresa-message h1 {
    font-size: clamp(0.96rem, 4vw, 1.22rem);
    max-width: 26ch;
  }
  .empresa-message p {
    font-size: 0.88rem;
    max-width: 38ch;
  }
  .empresa-hero__actions {
    width: 100%;
  }
  .empresa-hero__actions .btn {
    flex: 1 1 180px;
  }
  .section {
    padding: 62px 0;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .empresa-hero__inner { padding-top: 124px; }
  .empresa-hero__rotator { min-height: 160px; }
  .empresa-message h1 {
    font-size: clamp(0.92rem, 4.8vw, 1.08rem);
    max-width: 24ch;
  }
  .empresa-message p {
    font-size: 0.82rem;
    max-width: 32ch;
  }
  .hero-eyebrow, .eyebrow { padding: 8px 12px; }
  .section-copy, .form-card, .value-block { padding: 22px; }
  .info-card, .bullet-card, .logo-box, .profile-card__content { padding: 20px; }
}


/* ===== HUNTING IT BOT ===== */
.hbot-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff174f, #d3223a);
  box-shadow: 0 14px 34px rgba(211,34,58,0.42);
  transition: transform .22s ease, box-shadow .22s ease;
}
.hbot-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 42px rgba(211,34,58,0.5);
}
.hbot-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hbot-panel {
  position: fixed;
  right: 28px;
  bottom: 102px;
  z-index: 9998;
  width: min(390px, calc(100vw - 28px));
  height: min(610px, calc(100vh - 140px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #0b1524;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 26px 64px rgba(0,0,0,0.5), 0 10px 24px rgba(0,0,0,0.22);
  transform-origin: bottom right;
}
.hbot-panel.open {
  display: flex;
  animation: hbotOpen .28s cubic-bezier(.34,1.56,.64,1);
}
@keyframes hbotOpen {
  from { transform: scale(.82) translateY(16px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.hbot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, #a3122b, #ff174f);
}
.hbot-head-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hbot-head-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hbot-head-info { flex: 1; }
.hbot-head-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.hbot-head-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.76);
  font-size: 11px;
}
.hbot-head-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: hbotPulse 2s infinite;
}
@keyframes hbotPulse { 0%,100%{opacity:1;} 50%{opacity:.5;} }
.hbot-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background .2s ease, transform .2s ease;
}
.hbot-close:hover {
  background: rgba(0,0,0,0.3);
  transform: scale(1.04);
}
.hbot-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hbot-quick-btn {
  flex: 1;
  min-width: 0;
  padding: 10px 10px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #16243a;
  color: #eef4ff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.hbot-quick-btn:hover,
.hbot-quick-btn.active {
  transform: translateY(-1px);
  background: #22324b;
  border-color: rgba(255,255,255,0.16);
}
.hbot-quick-btn--wa {
  background: #0f2a20;
}
.hbot-quick-btn--wa:hover {
  background: #153829;
}
.hbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: #314562 transparent;
}
.hbot-msg {
  max-width: 84%;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #e9f0fb;
  animation: hbotMsg .22s ease-out;
}
@keyframes hbotMsg {
  from { transform: translateY(7px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.hbot-msg.bot {
  align-self: flex-start;
  background: #17253a;
  border-radius: 5px 16px 16px 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.hbot-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #ff174f, #d3223a);
  color: #fff;
  border-radius: 16px 16px 5px 16px;
}
.hbot-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hbot-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255,23,79,0.12);
  border: 1px solid rgba(255,23,79,0.28);
}
.hbot-chip:hover {
  background: rgba(255,23,79,0.24);
}
.hbot-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  align-self: flex-start;
  padding: 12px 14px;
  border-radius: 5px 16px 16px 16px;
  background: #17253a;
  border: 1px solid rgba(255,255,255,0.06);
}
.hbot-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ca0bc;
  animation: hbotDot 1.2s infinite;
}
.hbot-typing span:nth-child(2) { animation-delay: .2s; }
.hbot-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes hbotDot {
  0%,80%,100% { transform: scale(.6); opacity: .4; }
  40% { transform: scale(1); opacity: 1; }
}
.hbot-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #16243a;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hbot-input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: #0c1626;
  color: #fff;
  padding: 11px 14px;
  font: inherit;
  outline: none;
}
.hbot-input::placeholder {
  color: #90a0b7;
}
.hbot-input:focus {
  border-color: rgba(255,255,255,0.16);
}
.hbot-send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff174f, #d3223a);
  box-shadow: 0 8px 18px rgba(211,34,58,0.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hbot-send:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(211,34,58,0.35);
}
.hbot-nudge {
  position: fixed;
  right: 98px;
  bottom: 30px;
  z-index: 9997;
  display: none;
  align-items: center;
  gap: 10px;
  max-width: 255px;
  padding: 12px 14px 12px 12px;
  border-radius: 16px;
  background: #ffffff;
  color: #09111e;
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
  cursor: pointer;
}
.hbot-nudge.show {
  display: flex;
  animation: hbotNudge .22s ease-out;
}
@keyframes hbotNudge {
  from { transform: scale(.9) translateX(10px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.hbot-nudge-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.hbot-nudge-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hbot-nudge-txt {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.hbot-nudge-x {
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
}
@media (max-width: 640px) {
  .hbot-panel { right: 12px; bottom: 88px; width: calc(100vw - 24px); }
  .hbot-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .hbot-nudge { right: 78px; bottom: 18px; }
}


.company-header .site-nav.is-open {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15,23,42,0.14);
}
.company-header .site-nav.is-open a {
  color: #163a59;
}
