/* Small interaction layer kept separate from the published design system. */
.site-header .nav { position: relative; }
.login-nav {
  position: absolute;
  right: 235px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #c9d7e9;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: .76rem;
  font-weight: 850;
  white-space: nowrap;
  transform: translateY(-50%);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.login-nav::before { content: "↗"; color: var(--blue); font-size: .95rem; }
.login-nav:hover, .login-nav:focus-visible {
  color: var(--blue);
  border-color: #8eb3ef;
  background: #f4f8ff;
  transform: translateY(calc(-50% - 1px));
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(17, 113, 52, .28);
  font-size: .88rem;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(17, 113, 52, .36);
}
.whatsapp-icon { width: 23px; height: 23px; flex: 0 0 auto; }
.service-card-details { padding: 0; overflow: hidden; cursor: pointer; }
.service-card-details summary { display: flex; align-items: center; gap: 14px; min-height: 124px; padding: 28px 30px; list-style: none; cursor: pointer; }
.service-card-details summary::-webkit-details-marker { display: none; }
.service-card-details summary .number { position: static; flex: 0 0 auto; color: #a0aec0; }
.service-card-details .service-title { flex: 1 1 auto; color: var(--navy); font-size: 1.32rem; font-weight: 780; line-height: 1.2; }
.service-card-details .service-toggle { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #c9d9ef; border-radius: 50%; color: var(--blue); font-size: 1.3rem; font-weight: 500; line-height: 1; transition: transform .2s ease, background .2s ease; }
.service-card-details[open] summary { border-bottom: 0; }
.service-card-details[open] .service-toggle { color: #fff; background: var(--blue); transform: rotate(45deg); }
.service-card-details .service-detail { display: grid; grid-template-rows: 0fr; padding: 0 30px; transition: grid-template-rows .35s ease, padding .35s ease; }
.service-card-details .service-detail p { min-height: 0; margin: 0; overflow: hidden; color: var(--muted); }
.service-card-details[open] .service-detail { grid-template-rows: 1fr; padding: 0 30px 30px; box-shadow: inset 0 1px 0 rgba(23, 105, 224, .08); }
.service-card-details:hover, .service-card-details:focus-within { border-color: #9ab8e8; box-shadow: 0 16px 34px rgba(7, 26, 61, .12); transform: translateY(-3px); }
.service-card.is-highlighted { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 105, 224, .12), 0 18px 38px rgba(7, 26, 61, .13); }
.capability-link { cursor: pointer; border: 1px solid transparent; border-radius: 999px; padding: 10px 13px; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.capability-link:hover, .capability-link:focus-visible { border-color: #c9d9ef; background: #f7faff; color: var(--blue); transform: translateY(-2px); }
.brand-image img { mix-blend-mode: multiply; }
.hero-page-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #8fdfff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
}
.hero-page-marker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #39ddbc; box-shadow: 0 0 0 5px rgba(57,221,188,.12); }
.nav-links a.hero-active { color: var(--blue); }
.nav-links a.hero-active:not(.nav-cta) { position: relative; }
.nav-links a.hero-active:not(.nav-cta)::after { content: ""; position: absolute; right: 0; left: 0; bottom: -9px; height: 3px; border-radius: 999px; background: var(--blue); }
.bubble, .chat-example p { min-width: 0; overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
@media (max-width: 680px) {
  .login-nav { right: 235px; left: auto; font-size: .7rem; min-height: 31px; padding: 0 8px; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 48px; padding: 0 13px; }
  .whatsapp-float span { display: none; }
  .service-card-details { min-height: 0; }
  .service-card-details summary { min-height: 98px; padding: 22px 24px; }
  .service-card-details .service-title { font-size: 1.1rem; }
  .service-card-details .service-detail { padding: 0 24px; }
  .service-card-details[open] .service-detail { padding: 0 24px 24px; }
  .nav-links a.hero-active:not(.nav-cta)::after { bottom: -5px; }
}
@media (max-width: 980px) {
  .section-dark { overflow: hidden; }
  .section-dark .ai-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: center; }
  .section-dark .wa-demo-body { min-height: 0; padding: 12px; }
  .section-dark .wa-bubble { margin: 5px 0; padding: 7px 9px; font-size: .84rem; line-height: 1.3; }
}
@media (max-width: 680px) {
  .section-dark .ai-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .login-nav, .whatsapp-float { transition: none; } }

/* Focused mobile and WhatsApp presentation refinements. */
.hero-actions .button, .closing-card .button, .contact-actions .button {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
.nav-links a.services-active { color: var(--blue); }
.nav-links a.services-active:not(.nav-cta) { position: relative; }
.nav-links a.services-active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -9px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}
.chat-example.wa-demo {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #e5ddd5;
  color: #172026;
  box-shadow: 0 18px 42px rgba(6, 23, 44, .2);
}
.wa-demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  color: #fff;
  background: #075e54;
}
.wa-avatar {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #075e54;
  background: #d9fdd3;
  font-weight: 900;
}
.wa-contact { display: grid; gap: 2px; min-width: 0; text-align: right; }
.wa-contact strong { font-size: .88rem; }
.wa-contact small { color: rgba(255,255,255,.72); font-size: .72rem; }
.wa-menu { margin-inline-start: auto; color: rgba(255,255,255,.9); font-size: 1.35rem; line-height: 1; }
.wa-demo-body {
  min-height: 305px;
  padding: 18px 15px 20px;
  background-color: #efe7de;
  background-image: radial-gradient(rgba(120, 105, 91, .13) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa-date {
  display: table;
  margin: 0 auto 14px;
  padding: 5px 10px;
  border-radius: 7px;
  color: #6a625b;
  background: rgba(255,255,255,.78);
  font-size: .7rem;
  font-weight: 750;
}
.wa-bubble {
  position: relative;
  max-width: 82%;
  margin: 9px 0;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: .9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow: 0 1px 1px rgba(30, 36, 40, .12);
}
.wa-bubble-in { margin-right: auto; margin-left: 0; background: #fff; border-top-right-radius: 2px; }
.wa-bubble-out { margin-right: 0; margin-left: auto; background: #d9fdd3; border-top-left-radius: 2px; }
.wa-sender { display: block; margin-bottom: 2px; color: #128c7e; font-size: .7rem; }
.wa-bubble small { display: block; margin-top: 3px; color: #6c7b76; font-size: .65rem; line-height: 1; text-align: left; }
.wa-demo-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  color: #7a868b;
  background: #f0f2f5;
  font-size: .78rem;
}
.wa-send { color: #128c7e; font-size: 1.1rem; transform: rotate(180deg); }
.wa-demo-note { margin: 0; padding: 7px 12px 9px; color: #6a625b; background: #e5ddd5; font-size: .68rem; text-align: center; }
@media (max-width: 680px) {
  .login-nav {
    display: inline-flex;
    right: 176px;
    left: auto;
    top: 31px;
    width: 58px;
    min-height: 30px;
    justify-content: center;
    padding: 0;
    font-size: 0;
    transform: translateY(-50%);
  }
  .login-nav::before { font-size: .82rem; }
  .login-nav::after { content: "HERO"; color: var(--navy); font-size: .66rem; font-weight: 900; }
  .login-nav:hover, .login-nav:focus-visible { transform: translateY(calc(-50% - 1px)); }
  .hero-actions .button, .closing-card .button, .contact-actions .button { min-height: 48px; padding: 8px 14px; }
  .nav-links a.services-active:not(.nav-cta)::after { bottom: -5px; }
  .wa-demo-body { min-height: 270px; padding: 15px 12px 17px; }
  .wa-bubble { max-width: 88%; font-size: .84rem; }
}
.wa-handoff {
  width: fit-content;
  margin: 13px auto 0;
  padding: 5px 9px;
  border-radius: 999px;
  color: #66756f;
  background: rgba(255,255,255,.7);
  font-size: .7rem;
  font-weight: 750;
}
