* {
  box-sizing: border-box;
}

:root {
  --blue: #1147b5;
  --dark-blue: #062d78;
  --mid-blue: #0f43ad;
  --light-bg: #f3f4f6;
  --hero-bg: #eef2f8;
  --text: #111111;
  --muted: #444444;
  --card-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light-bg);
  color: var(--text);
}

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

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

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

/* HEADER */

.topbar {
  background: #ffffff;
  border-bottom: 1px solid #d9e0ea;
  padding: 14px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo {
  width: 58px;
  height: auto;
}

.brand-text h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-line {
  width: 100%;
  height: 4px;
  background: var(--blue);
  margin-top: 6px;
  border-radius: 10px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a {
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1;
}

.menu a.active {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 3px solid var(--blue);
  padding-bottom: 4px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s ease;
}

.nav-btn,
.nav-btn:link,
.nav-btn:visited,
.nav-btn:hover,
.nav-btn:active,
.primary-btn {
  background: var(--mid-blue);
  color: #ffffff !important;
}
.secondary-btn {
  background: #fff;
  color: var(--mid-blue);
  border: 2px solid var(--mid-blue);
}

/* HERO */

.hero {
  background: var(--hero-bg);
  padding: 0;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #eef2f8;
  display: flex;
  align-items: center;
  padding: 52px 48px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(238, 242, 248, 0.70);
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  max-width: 470px;
}

.hero-text h2 {
  font-size: 68px;
  line-height: 0.95;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-line {
  width: 120px;
  height: 5px;
  background: var(--blue);
  border-radius: 10px;
  margin: 18px 0 22px;
}

.center-line {
  margin-left: auto;
  margin-right: auto;
}

.small-line {
  width: 70px;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #3a3a3a;
  max-width: 390px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

/* SERVICES */

.services-section {
  background: var(--light-bg);
  padding: 20px 0 48px;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h3 {
  font-size: 32px;
  margin: 0;
  font-weight: 800;
}

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

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 28px 26px 26px;
  text-align: center;
}

.icon-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #eef3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 42px;
}

.card h4 {
  font-size: 20px;
  margin: 0 0 14px;
  line-height: 1.25;
  font-weight: 800;
}

.card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  min-height: 118px;
  margin-bottom: 16px;
}

.card ul {
  text-align: left;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #143a91;
  line-height: 1.8;
  font-weight: 600;
  font-size: 15px;
}

/* WHY */

.why-section {
  background: var(--light-bg);
  padding: 10px 0 42px;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
}

.why-text h3 {
  font-size: 30px;
  margin: 0;
  font-weight: 800;
}

.why-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
}

.why-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.why-item {
  font-size: 14px;
  font-weight: 700;
  color: #1b2e63;
  text-align: center;
  padding: 10px 6px;
}

.why-image-wrap {
  display: flex;
  justify-content: flex-end;
}

.why-image {
  width: 100%;
  max-width: 760px;
  border-radius: 0;
  display: block;
}

/* CONTACT STRIP */

.contact-strip {
  background: var(--light-bg);
  padding: 0 0 36px;
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 0;
  align-items: stretch;
}

.advisor-box {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 14px 0 0 14px;
}

.advisor-photo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}

.advisor-info h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.advisor-title {
  color: var(--blue);
  font-weight: 700;
  margin-top: 8px;
  font-size: 18px;
}

.advisor-info p {
  margin: 8px 0;
  color: #333;
  line-height: 1.5;
  font-size: 15px;
}

.consult-box {
  background: #0b3c9c;
  color: #fff;
  padding: 30px 28px;
  border-radius: 0 14px 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.consult-box h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.consult-box p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* FOOTER */

.footer {
  background: var(--dark-blue);
  color: #fff;
  padding: 34px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 42px;
}

.footer h3,
.footer h4 {
  margin-top: 0;
  margin-bottom: 14px;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

.footer-tagline {
  font-style: italic;
  margin-top: 16px;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.copyright {
  margin-top: 24px;
  font-size: 14px;
  opacity: 0.9;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .service-cards,
  .why-grid,
  .contact-strip-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .advisor-box,
  .consult-box {
    border-radius: 14px;
  }

  .hero-panel {
    min-height: 460px;
    padding: 36px 28px;
  }

  .hero-text h2 {
    font-size: 52px;
  }

  .why-icons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    gap: 14px;
  }

  .hero-panel {
    min-height: 420px;
    padding: 28px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h2 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .section-heading h3,
  .why-text h3 {
    font-size: 28px;
  }
}

/* =========================
   INTERNAL PAGE ADDITIONS
   ========================= */

.internal-hero .hero-panel {
  min-height: 430px;
}

.internal-hero .hero-text {
  max-width: 560px;
}

.internal-hero .hero-text h2 {
  font-size: 62px;
}

.internal-hero .hero-text p {
  max-width: 500px;
}

.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

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

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

.feature-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 26px 20px 22px;
  text-align: center;
}

.feature-card h4 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 800;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}

.feature-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.process-section {
  padding: 10px 0 42px;
}

.process-box {
  background: #eef2f8;
  border-radius: 18px;
  padding: 28px 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.process-step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.step-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 38px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.process-step h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.process-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.value-banner {
  margin-top: 24px;
  background: #f6f9ff;
  border: 1px solid #d9e4fa;
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  color: var(--blue);
  font-weight: 700;
}

.overview-section {
  padding: 28px 0 42px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.overview-text h3 {
  margin: 0 0 14px;
  font-size: 44px;
  font-weight: 800;
}

.overview-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.overview-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
}

.pillars-section {
  padding: 10px 0 36px;
}

.pillar-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 24px 22px;
  text-align: center;
}

.pillar-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.pillar-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.advisor-wide {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.advisor-wide-left {
  display: flex;
  gap: 22px;
  align-items: center;
}

.advisor-wide-photo {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.advisor-wide-left h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.advisor-wide-left p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.advisor-wide-right p {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.form-card,
.info-card,
.office-card,
.mini-service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
}

.form-card,
.info-card {
  padding: 26px 24px;
}

.form-card h3,
.info-card h3,
.office-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
}

.form-intro,
.info-intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 18px;
}

.form-note {
  margin-top: 14px;
  color: #6b7280;
  font-size: 13px;
}

.info-card + .consult-box {
  margin-top: 18px;
  border-radius: 18px;
}

.office-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  margin-top: 24px;
}

.office-text {
  padding: 24px;
}

.office-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.office-map {
  min-height: 280px;
  background:
    linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
    linear-gradient(135deg, #e9eef8 0%, #d9e6fb 50%, #edf2fb 100%);
  position: relative;
}

.office-map::before,
.office-map::after {
  content: "";
  position: absolute;
  background: rgba(17, 71, 181, 0.15);
}

.office-map::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,71,181,0.08) 1px, transparent 1px),
    linear-gradient(rgba(17,71,181,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.office-map::after {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--blue);
  top: 52%;
  left: 60%;
}

.office-address {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}

.mini-services {
  margin-top: 18px;
}

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

.mini-service-card {
  padding: 18px 18px 16px;
}

.mini-service-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.mini-service-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .card-grid-5,
  .card-grid-4,
  .process-steps,
  .overview-grid,
  .advisor-wide,
  .contact-layout,
  .office-card,
  .mini-service-row {
    grid-template-columns: 1fr;
  }

  .advisor-wide-left {
    align-items: flex-start;
  }

  .internal-hero .hero-text h2 {
    font-size: 52px;
  }
}

@media (max-width: 700px) {
  .internal-hero .hero-text h2 {
    font-size: 42px;
  }

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

/* =========================
   IKONMSP ADDITIONS + PAGE WIDTH SAFETY
   ========================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1320px;
}

.brand-text {
  min-width: 0;
}

.brand-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--mid-blue);
}

.msp-footer-note {
  margin: -4px 0 12px;
  font-weight: 700;
  color: #dbe7ff;
}

@media (max-width: 700px) {
  .brand-subtitle {
    font-size: 12px;
  }

  .menu {
    width: 100%;
  }
}


/* =========================
   CYBERSECURITY SERVICE DETAIL PAGES
   ========================= */

.service-detail-section {
  padding: 34px 0 34px;
  background: var(--light-bg);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.service-detail-main,
.service-detail-callout {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 30px 28px;
}

.service-detail-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #eef3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 18px;
}

.service-detail-main h3,
.service-detail-callout h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--dark-blue);
}

.service-detail-main p,
.service-detail-callout p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.service-detail-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: #143a91;
  font-weight: 700;
  line-height: 1.85;
}

.service-detail-callout {
  border: 2px solid #d9e4fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-process {
  padding-top: 0;
}

.service-detail-related {
  padding: 0 0 36px;
}

.service-detail-related-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-detail-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.card li a {
  color: var(--blue);
  text-decoration: none;
}

.card li a:hover,
.feature-link:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.service-icon a,
.advisor-photo-link {
  display: inline-block;
  cursor: pointer;
}

.advisor-photo-link img {
  transition: transform 0.2s ease;
}

.advisor-photo-link:hover img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .service-detail-main,
  .service-detail-callout {
    padding: 24px 20px;
  }

  .service-detail-main h3,
  .service-detail-callout h3 {
    font-size: 25px;
  }
}
.card ul li a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.card ul li a:hover {
  color: var(--blue);
  text-decoration: underline;
}


.why-icons a.why-item {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.why-icons a.why-item:hover {
  text-decoration: underline;
  transform: translateY(-2px);
}

.card ul li a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.card ul li a:hover {
  text-decoration: underline;
}





/* =========================================================
   Sally AI Assistant - Global Floating Widget + Hero Intro
   ========================================================= */
.sally-widget-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a3aa8, #1677f3);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(8, 50, 143, 0.32);
  cursor: pointer;
  font-family: inherit;
}
.sally-widget-launcher:hover { transform: translateY(-2px); }
.sally-widget-launcher.hidden { display: none; }

.sally-launcher-avatar,
.sally-avatar-chip,
.sally-hero-intro-avatar {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 20%, #edf3ff, #9ec6ff 48%, #2a58b8 100%);
}
.sally-launcher-avatar {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255,255,255,.28);
  box-shadow: 0 0 0 0 rgba(137, 195, 255, .0);
}
.sally-avatar-chip {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255,255,255,.18);
}
.sally-launcher-avatar img,
.sally-avatar-chip img,
.sally-hero-intro-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.sally-avatar-mouth {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  width: 18%;
  height: 4px;
  border-radius: 999px;
  background: rgba(18, 34, 70, .70);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
  transition: all .15s ease;
}
.sally-launcher-avatar.speaking,
.sally-avatar-chip.speaking,
.sally-hero-intro-avatar.speaking {
  animation: sallySpeakBob .55s ease-in-out infinite alternate;
  box-shadow: 0 0 0 6px rgba(126, 198, 255, .12), 0 0 26px rgba(115, 186, 255, .35);
}
.sally-launcher-avatar.speaking .sally-avatar-mouth,
.sally-avatar-chip.speaking .sally-avatar-mouth,
.sally-hero-intro-avatar.speaking .sally-avatar-mouth {
  animation: sallyMouthMove .18s ease-in-out infinite alternate;
}
@keyframes sallySpeakBob {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-2px) scale(1.04); }
}
@keyframes sallyMouthMove {
  0% { width: 16%; height: 3px; border-radius: 999px; }
  100% { width: 24%; height: 10px; border-radius: 0 0 14px 14px; }
}
.sally-launcher-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.sally-launcher-text strong {
  font-size: 16px;
  color: #ffffff;
}
.sally-launcher-text small {
  font-size: 12px;
  color: rgba(255,255,255,.84);
  font-weight: 700;
  margin-top: 3px;
}

/* Hero intro popup */
.sally-hero-intro {
  position: fixed;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(720px, calc(100vw - 36px));
  display: none;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(198, 214, 246, 0.95);
  box-shadow: 0 24px 70px rgba(13, 35, 86, 0.28);
  backdrop-filter: blur(10px);
}
.sally-hero-intro.open {
  display: flex;
  animation: sallyIntroIn .32s ease-out both;
}
.sally-hero-intro.closing {
  animation: sallyIntroOut .28s ease-in both;
}
@keyframes sallyIntroIn {
  from { opacity: 0; transform: translate(-50%, 14px) scale(.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes sallyIntroOut {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to { opacity: 0; transform: translate(-50%, 10px) scale(.97); }
}
.sally-hero-intro-avatar {
  width: 132px;
  height: 132px;
  border: 3px solid #ffffff;
  box-shadow: 0 18px 38px rgba(16, 53, 130, .22);
}
.sally-hero-intro-content {
  flex: 1;
  min-width: 0;
}
.sally-hero-intro-label {
  margin: 0 0 7px;
  color: #1147b5;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sally-hero-intro-content h3 {
  margin: 0 0 8px;
  color: #062d78;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
}
.sally-hero-intro-content p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
}
.sally-hero-intro-reminder {
  margin-top: 12px !important;
  color: #1147b5 !important;
  font-weight: 800;
}
.sally-hero-intro-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #eef4ff;
  color: #12398f;
  font-size: 20px;
  cursor: pointer;
}

/* Chat panel */
.sally-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 24px));
  max-height: min(78vh, 680px);
  z-index: 1000;
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #d9e3fb;
  box-shadow: 0 20px 46px rgba(15, 33, 82, 0.24);
  overflow: hidden;
}
.sally-widget.open { display: flex; }
.sally-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 14px;
  background: linear-gradient(135deg, #072467, #1147b5);
  color: #ffffff;
}
.sally-chat-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.sally-chat-title h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.1;
}
.sally-chat-title p {
  margin: 4px 0 0;
  color: #dfe8ff;
  font-size: 12px;
}
.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31d17c;
  margin-right: 6px;
}
.sally-chat-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sally-voice-toggle,
.sally-minimize-toggle {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.sally-minimize-toggle {
  font-size: 18px;
  line-height: 1;
  padding: 6px 12px 9px;
}
.sally-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.sally-messages {
  background: #f6f8ff;
  border: 1px solid #e3eafc;
  border-radius: 16px;
  padding: 14px;
  min-height: 180px;
  max-height: 260px;
  overflow: auto;
}
.sally-message {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
}
.sally-message.bot {
  background: #ffffff;
  color: #22304d;
  border: 1px solid #e4ebfc;
  margin-right: 28px;
}
.sally-message.user {
  background: linear-gradient(135deg, #0a3aa8, #1677f3);
  color: #ffffff;
  margin-left: 28px;
}
.sally-message.sally-auto-message {
  border-left: 4px solid #1677f3;
}
.sally-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.sally-quick-actions button {
  border: 1px solid #d4e1fd;
  background: #ffffff;
  color: #12398f;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.sally-quick-actions button:hover { background: #f1f6ff; }
.sally-input-row {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 10px;
  margin-top: 12px;
}
.sally-input-row input {
  border: 1px solid #d4ddf8;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.sally-input-row button {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a3aa8, #1677f3);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}
.sally-voice-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #5b6b88;
  text-align: center;
}
@media (max-width: 760px) {
  .sally-hero-intro {
    top: 92px;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }
  .sally-hero-intro-avatar {
    width: 86px;
    height: 86px;
  }
  .sally-hero-intro-content p {
    font-size: 14px;
  }
  .sally-widget,
  .sally-widget.open {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }
  .sally-widget-launcher {
    right: 12px;
    bottom: 12px;
    padding-right: 14px;
  }
  .sally-chat-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .sally-chat-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .sally-quick-actions { grid-template-columns: 1fr; }
}
