:root {
  --bg: #f6f9ff;
  --bg-soft: #eef5ff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --surface: #ffffff;
  --surface-strong: #f0f6ff;
  --text: #16304f;
  --text-muted: #5e728f;
  --text-soft: #7d8da5;
  --line: rgba(104, 139, 189, 0.2);
  --line-strong: rgba(42, 104, 190, 0.14);
  --primary: #0d6efd;
  --primary-dark: #0b56c4;
  --primary-soft: #dbeaff;
  --accent: #59a5ff;
  --success: #16a34a;
  --shadow-lg: 0 28px 80px rgba(25, 76, 148, 0.14);
  --shadow-md: 0 20px 48px rgba(20, 72, 145, 0.1);
  --shadow-sm: 0 12px 30px rgba(18, 63, 125, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(108, 168, 255, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 36%, #f6f9ff 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.75rem 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(238, 245, 255, 0.65), rgba(255, 255, 255, 0));
}

.section--compact {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-dark);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.section-heading h1,
.section-heading h2,
.section-heading h3,
.page-hero__content h1,
.hero__content h1 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-heading h2,
.section-heading h3 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.section-heading p,
.page-hero__content p,
.hero__content p,
.about-copy p,
.service-card p,
.feature-card p,
.contact-card p,
.legal-card p,
.prose li,
.support-card p,
.detail-card p,
.cta-panel p {
  color: var(--text-muted);
  line-height: 1.8;
}

.site-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(247, 251, 255, 0.82);
  border-bottom: 1px solid rgba(94, 114, 143, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #6db2ff 100%);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 18px 30px rgba(13, 110, 253, 0.22);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.brand__text strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand__text small {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  position: relative;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-strong);
  color: var(--primary-dark);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.header-contact svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #57a3ff 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(13, 110, 253, 0.2);
}

.btn--primary:hover {
  box-shadow: 0 24px 42px rgba(13, 110, 253, 0.25);
}

.btn--secondary {
  border-color: rgba(13, 110, 253, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-dark);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.text-link svg {
  width: 0.95rem;
  height: 0.95rem;
}

.hero {
  position: relative;
  padding: 3rem 0 6rem;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(116, 176, 255, 0.22) 0%, rgba(116, 176, 255, 0) 68%);
  transform: translateX(-10%);
  pointer-events: none;
  filter: blur(10px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.75rem, 7vw, 4.8rem);
  max-width: 12ch;
}

.hero__content p {
  max-width: 62ch;
  margin: 1.35rem 0 0;
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(104, 139, 189, 0.18);
  color: var(--text-muted);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hero__meta li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #75b6ff 100%);
  box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.12);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.visual-card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.2) 0%, rgba(13, 110, 253, 0) 72%);
}

.visual-card--primary {
  padding-bottom: 1.8rem;
}

.visual-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #0f8a3c;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.metric-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(104, 139, 189, 0.18);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.metric-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.signal-chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 0.55rem;
  min-height: 120px;
  margin-top: 1.4rem;
}

.signal-chart span {
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, #91c1ff 0%, #0d6efd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.signal-chart span:nth-child(1) {
  height: 35%;
}

.signal-chart span:nth-child(2) {
  height: 58%;
}

.signal-chart span:nth-child(3) {
  height: 74%;
}

.signal-chart span:nth-child(4) {
  height: 48%;
}

.signal-chart span:nth-child(5) {
  height: 66%;
}

.signal-chart span:nth-child(6) {
  height: 88%;
}

.signal-chart span:nth-child(7) {
  height: 72%;
}

.signal-chart span:nth-child(8) {
  height: 92%;
}

.service-pill-list,
.footer-links,
.footer-contact,
.contact-list,
.legal-meta {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.service-pill-list li {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary-dark);
  font-weight: 700;
}

.card-grid {
  display: grid;
  gap: 1.4rem;
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.feature-card,
.contact-card,
.support-card,
.detail-card,
.stat-panel,
.legal-card,
.cta-panel,
.about-panel,
.story-card {
  position: relative;
  padding: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.service-card,
.feature-card,
.support-card,
.detail-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.feature-card:hover,
.support-card:hover,
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(20, 72, 145, 0.13);
  border-color: rgba(13, 110, 253, 0.12);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.16) 0%, rgba(89, 165, 255, 0.22) 100%);
  color: var(--primary-dark);
}

.card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.service-card h3,
.feature-card h3,
.contact-card h3,
.support-card h3,
.detail-card h3,
.about-panel h2,
.story-card h2,
.cta-panel h2 {
  margin: 0 0 0.75rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.service-card p,
.feature-card p,
.contact-card p,
.support-card p,
.detail-card p {
  margin: 0 0 1.2rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-panel {
  padding: 1.4rem;
  text-align: center;
}

.stat-panel strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.stat-panel span {
  color: var(--text-soft);
}

.about-grid,
.contact-grid,
.detail-grid,
.cta-grid {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}

.about-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.contact-grid {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
}

.about-copy p:first-of-type {
  margin-top: 0;
}

.bullet-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.75rem 0 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #75b6ff 100%);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.check-card {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.4rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
}

.check-card::before {
  content: "";
  position: absolute;
  top: 1.18rem;
  left: 1.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #57a3ff 100%);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.check-card::after {
  content: "";
  position: absolute;
  top: 1.53rem;
  left: 1.55rem;
  width: 0.52rem;
  height: 0.26rem;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.about-panel {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 246, 255, 0.94)),
    #ffffff;
}

.about-panel__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  align-self: start;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary-dark);
  font-weight: 700;
}

.about-panel__list {
  display: grid;
  gap: 0.9rem;
}

.about-panel__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(104, 139, 189, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
}

.about-panel__item strong {
  font-family: "Poppins", sans-serif;
}

.about-panel__item span {
  color: var(--text-soft);
}

.contact-card a,
.footer-contact a {
  color: var(--primary-dark);
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-muted);
}

.contact-list svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.35rem;
  color: var(--primary);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(104, 139, 189, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 9rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(13, 110, 253, 0.55);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.form-status {
  min-height: 1.2rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.page-hero {
  position: relative;
  padding: 2rem 0 4.25rem;
}

.page-hero__content {
  max-width: 720px;
}

.page-hero__content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.page-hero__content p {
  margin: 1rem 0 0;
}

.story-card {
  display: grid;
  gap: 1rem;
}

.story-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-card__metric {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(240, 246, 255, 0.88);
  border: 1px solid rgba(104, 139, 189, 0.18);
}

.story-card__metric strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
}

.cta-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(104, 174, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.96));
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.site-footer__panel {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.9fr));
  gap: 1.6rem;
}

.footer-grid h2 {
  margin: 0 0 0.9rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.02rem;
}

.footer-grid p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover,
.legal-links a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(104, 139, 189, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-soft);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links a {
  color: var(--text-muted);
  font-weight: 600;
}

.legal-wrap {
  padding-bottom: 5.75rem;
}

.legal-card {
  max-width: 960px;
  margin: 0 auto;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.legal-meta li {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary-dark);
  font-weight: 700;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.75rem;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.02em;
}

.prose ul {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.prose p:first-of-type {
  margin-top: 0;
}

.chat-widget {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 30;
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, #57a3ff 100%);
  color: #ffffff;
  box-shadow: 0 24px 42px rgba(13, 110, 253, 0.25);
}

.chat-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 1rem);
  width: min(360px, calc(100vw - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(104, 139, 189, 0.16);
}

.chat-panel__header strong {
  display: block;
  font-family: "Poppins", sans-serif;
}

.chat-panel__header span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.chat-close {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text-muted);
}

.chat-messages {
  display: grid;
  gap: 0.85rem;
  max-height: 320px;
  padding: 1rem;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  line-height: 1.65;
  color: var(--text-muted);
}

.chat-bubble--bot {
  background: rgba(240, 246, 255, 0.94);
  border-bottom-left-radius: 6px;
}

.chat-bubble--user {
  justify-self: end;
  background: linear-gradient(135deg, var(--primary) 0%, #57a3ff 100%);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
}

.chat-chip {
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(13, 110, 253, 0.14);
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.06);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.chat-form {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid rgba(104, 139, 189, 0.16);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(104, 139, 189, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.chat-form button {
  border: 0;
}

@media (max-width: 1080px) {
  .hero__grid,
  .about-grid,
  .contact-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--3,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-grid,
  .stats-strip,
  .story-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .header-actions {
    margin-left: auto;
    order: 1;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding-top: 0.4rem;
    order: 3;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    border-radius: 18px;
  }

  .header-contact {
    display: none;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .site-header__inner,
  .site-footer__panel,
  .visual-card,
  .service-card,
  .feature-card,
  .contact-card,
  .support-card,
  .detail-card,
  .stat-panel,
  .legal-card,
  .cta-panel,
  .about-panel,
  .story-card {
    padding: 1.25rem;
  }

  .hero {
    padding: 1.8rem 0 4.5rem;
  }

  .hero__content h1,
  .page-hero__content h1 {
    max-width: none;
  }

  .metric-grid,
  .card-grid--4,
  .card-grid--3,
  .check-grid,
  .stats-strip,
  .story-card__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .cta-panel__actions,
  .footer-bottom,
  .legal-links {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-toggle {
    padding-inline: 1rem;
  }
}
