:root {
  --bg: #f8fbfd;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1f2937;
  --muted: #526070;
  --line: rgba(18, 59, 99, 0.12);
  --primary: #123b63;
  --primary-deep: #0c2c4a;
  --secondary: #1b7f8b;
  --accent: #7faf9a;
  --glow: rgba(127, 175, 154, 0.18);
  --shadow: 0 24px 64px rgba(18, 59, 99, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 20%, rgba(27, 127, 139, 0.12), transparent 18%),
    radial-gradient(circle at 85% 18%, rgba(127, 175, 154, 0.12), transparent 20%),
    radial-gradient(circle at 20% 82%, rgba(18, 59, 99, 0.08), transparent 18%),
    radial-gradient(circle at 82% 78%, rgba(27, 127, 139, 0.08), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f3f8fb 28%, var(--bg) 72%, #eef5f8 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent 18%),
    radial-gradient(circle at 50% 6%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(127, 175, 154, 0.05) 72%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 36vh;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(27, 127, 139, 0.08), transparent 38%),
    linear-gradient(180deg, transparent 0%, rgba(238, 245, 248, 0.4) 100%);
  opacity: 0.95;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
}

.page-shell::before {
  left: -4rem;
  bottom: 8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 55% 45% 60% 40%;
  background:
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(135deg, rgba(127, 175, 154, 0.16), rgba(27, 127, 139, 0.05));
  transform: rotate(-18deg);
}

.page-shell::after {
  right: -3rem;
  top: 11rem;
  width: 15rem;
  height: 15rem;
  border-radius: 42% 58% 48% 52%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.68), transparent 40%),
    linear-gradient(135deg, rgba(18, 59, 99, 0.1), rgba(127, 175, 154, 0.06));
  transform: rotate(20deg);
}

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

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

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1rem;
  overflow: hidden;
  background: transparent;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.02rem;
  font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary-deep);
}

.brand-copy span {
  font-size: 0.8rem;
  color: var(--muted);
}

.brand-slogan-wrap {
  position: relative;
  display: block;
  max-width: 19rem;
  margin-top: 0.36rem;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.74rem;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-slogan-track {
  display: inline-block;
  padding-left: 100%;
  font-weight: 700;
  animation: slogan-slide 14s linear infinite;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.65rem 1rem;
}

.section {
  padding: 4rem 0;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  min-height: calc(100vh - 5rem);
  align-items: center;
  padding: 2rem;
  border-radius: calc(var(--radius-xl) + 0.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(27, 127, 139, 0.2), transparent 16%),
    radial-gradient(circle at 78% 72%, rgba(127, 175, 154, 0.22), transparent 18%),
    radial-gradient(circle at 92% 48%, rgba(18, 59, 99, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(248, 251, 253, 0.95) 0%, rgba(248, 251, 253, 0.86) 38%, rgba(248, 251, 253, 0.46) 62%, rgba(248, 251, 253, 0.34) 100%);
  opacity: 1;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(248, 251, 253, 0), rgba(248, 251, 253, 0.34));
  z-index: 0;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -1.5rem auto -1.5rem 52%;
  width: min(34rem, 46vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 58%),
    repeating-linear-gradient(
      115deg,
      rgba(18, 59, 99, 0.12) 0 2px,
      transparent 2px 20px
    ),
    repeating-linear-gradient(
      65deg,
      rgba(27, 127, 139, 0.1) 0 2px,
      transparent 2px 22px
    );
  opacity: 0.8;
  filter: blur(0.2px);
  z-index: 0;
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 8%;
  right: -28rem;
  width: min(42rem, 54vw);
  height: 84%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.6), transparent 14%),
    radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.6), transparent 14%),
    radial-gradient(circle at 44% 20%, rgba(18, 59, 99, 0.7), transparent 2.2%),
    radial-gradient(circle at 56% 28%, rgba(27, 127, 139, 0.72), transparent 2.2%),
    radial-gradient(circle at 44% 36%, rgba(18, 59, 99, 0.65), transparent 2.2%),
    radial-gradient(circle at 56% 44%, rgba(127, 175, 154, 0.72), transparent 2.2%),
    radial-gradient(circle at 44% 52%, rgba(18, 59, 99, 0.62), transparent 2.2%),
    radial-gradient(circle at 56% 60%, rgba(27, 127, 139, 0.68), transparent 2.2%),
    radial-gradient(circle at 44% 68%, rgba(18, 59, 99, 0.6), transparent 2.2%),
    radial-gradient(circle at 56% 76%, rgba(127, 175, 154, 0.66), transparent 2.2%),
    linear-gradient(
      90deg,
      transparent 41%,
      rgba(18, 59, 99, 0.1) 41.5%,
      rgba(18, 59, 99, 0.22) 43%,
      transparent 44%,
      transparent 56%,
      rgba(27, 127, 139, 0.12) 56.5%,
      rgba(27, 127, 139, 0.24) 58%,
      transparent 59%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 0 80px rgba(27, 127, 139, 0.16);
  transform: rotate(16deg);
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
.brand-copy strong {
  font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Times New Roman", serif;
}

h1,
h2 {
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1;
}

h3 {
  font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p,
li,
input,
textarea,
button {
  letter-spacing: 0.01em;
}

.hero-text,
.section-text,
.content-card p,
.feature-card p,
.advantage-card p,
.spotlight-copy p,
.market-card p,
.contact-section p,
.newsletter-card p,
.news-item p,
.training-card p,
.form-note {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-pills {
  margin-top: 1.2rem;
}

.hero-pills span,
.news-tag,
.training-step {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  font-size: 0.84rem;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 12px 28px rgba(18, 59, 99, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--primary-deep), var(--secondary));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero-panel,
.content-card,
.feature-card,
.market-card,
.contact-card,
.status-card,
.advantage-card,
.newsletter-card,
.training-card,
.news-shell {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel,
.content-card,
.contact-card,
.newsletter-card,
.news-shell {
  padding: 1.25rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-label {
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.status-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(18, 59, 99, 0.96), rgba(27, 127, 139, 0.94)),
    var(--surface-strong);
  color: white;
}

.status-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 40%;
  height: 180px;
  background: radial-gradient(circle, rgba(127, 175, 154, 0.24), transparent 60%);
}

.status-card p,
.status-card ul {
  position: relative;
}

.status-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.globe-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(18, 59, 99, 0.96), rgba(27, 127, 139, 0.88)),
    #123b63;
  color: white;
  overflow: hidden;
  position: relative;
}

.globe-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 175, 154, 0.18), transparent 65%);
}

.globe-card-copy h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.globe-card-copy .panel-label {
  color: rgba(255, 255, 255, 0.72);
}

.globe-visual {
  position: relative;
  width: 220px;
  height: 220px;
  margin-inline: auto;
}

.globe-core {
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.34), transparent 20%),
    linear-gradient(145deg, rgba(119, 196, 235, 0.16), rgba(18, 59, 99, 0.28)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/NASA_Earth_America_2002.jpg") center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(143, 191, 230, 0.22);
  animation: globe-spin 18s linear infinite;
}

.globe-atmosphere {
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  border: 2px solid rgba(157, 220, 255, 0.28);
  box-shadow: 0 0 16px rgba(127, 194, 237, 0.18);
}

.globe-ring,
.globe-meridian {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.ring-secondary {
  inset: 24%;
}

.globe-meridian {
  inset: 8% 34%;
}

.meridian-cross {
  inset: 34% 8%;
}

.globe-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.globe-orbit span {
  position: absolute;
  left: 50%;
  top: -0.6rem;
  transform: translateX(-50%);
  padding: 0;
}

.orbit-one {
  animation: orbit-spin 12s linear infinite;
}

.orbit-two {
  inset: 18px;
  animation: orbit-spin-reverse 10s linear infinite;
}

.orbit-two span {
  top: auto;
  bottom: -0.6rem;
}

.orbit-marker {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

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

.metric-grid article {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
}

.metric-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Baskerville", "Palatino Linotype", "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
}

.grid-section,
.newsletter-section,
.spotlight,
.contact-section,
.market-layout {
  display: grid;
  gap: 1.5rem;
}

.grid-section,
.contact-section,
.newsletter-section {
  grid-template-columns: 0.95fr 1.05fr;
}

.section-heading {
  margin-bottom: 1.6rem;
  max-width: 48rem;
}

.card-grid,
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card,
.training-card,
.advantage-card,
.market-card {
  padding: 2rem;
}

.feature-card h3,
.training-card h3,
.advantage-card h3,
.market-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.training-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(127, 175, 154, 0.08), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
}

.training-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 45%;
  height: 130px;
  background: radial-gradient(circle, rgba(127, 175, 154, 0.18), transparent 60%);
}

.training-step {
  background: rgba(248, 251, 253, 0.92);
  color: var(--secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.advantage-card {
  background:
    linear-gradient(180deg, rgba(18, 59, 99, 0.04), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.92);
}

.spotlight {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.spotlight-list {
  display: grid;
  gap: 1rem;
}

.spotlight-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.spotlight-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--glow);
  color: var(--primary);
  font-weight: 800;
}

.news-shell {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 59, 99, 0.04), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.news-item {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(248, 251, 253, 0.96);
}

.news-item h3 {
  margin: 0.85rem 0 0.65rem;
  font-size: 1.15rem;
}

.news-item a {
  color: var(--primary);
  font-size: 0.95rem;
}

.news-tag {
  background: rgba(127, 175, 154, 0.12);
  color: var(--secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-layout {
  grid-template-columns: repeat(2, 1fr);
}

.market-card.accent {
  background: linear-gradient(180deg, rgba(127, 175, 154, 0.1), rgba(255, 255, 255, 0.92));
}

.newsletter-section {
  align-items: center;
}

.newsletter-card {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(18, 59, 99, 0.04), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
}

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

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

.field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-card input,
.contact-card textarea,
.contact-card select,
.newsletter-card input,
.newsletter-card select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(248, 251, 253, 0.98);
  padding: 0.9rem 1rem;
  color: var(--text);
}

.contact-card input:focus,
.contact-card textarea:focus,
.contact-card select:focus,
.newsletter-card input:focus,
.newsletter-card select:focus {
  outline: 2px solid rgba(27, 127, 139, 0.18);
  border-color: rgba(27, 127, 139, 0.36);
}

.contact-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-points div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.form-note {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  max-width: 34rem;
  color: var(--muted);
}

.chat-launcher {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 25;
  min-height: 3.4rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(18, 59, 99, 0.16);
  border-radius: 999px;
  color: #f8fbfd;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 40px rgba(18, 59, 99, 0.22);
}

.chatbot-panel {
  position: fixed;
  right: 1.5rem;
  bottom: 6.2rem;
  z-index: 30;
  width: min(24rem, calc(100vw - 2rem));
  height: min(39rem, calc(100vh - 8rem));
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 250, 0.98)),
    rgba(242, 247, 250, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chatbot-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-header,
.chatbot-form {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
}

.chatbot-header {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.chatbot-header strong,
.chatbot-message strong {
  display: block;
}

.chatbot-header span {
  color: var(--muted);
  font-size: 0.88rem;
}

.chatbot-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 251, 253, 0.9);
  color: var(--text);
  padding: 0.55rem 0.9rem;
}

.chatbot-body {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
}

.chatbot-note {
  margin: 1rem 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--muted);
  background: rgba(248, 251, 253, 0.92);
  font-size: 0.88rem;
  line-height: 1.6;
}

.chatbot-messages {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  overflow-y: auto;
  padding: 1rem;
}

.chatbot-message {
  max-width: 90%;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  line-height: 1.65;
}

.chatbot-message.bot {
  border: 1px solid var(--line);
  background: rgba(248, 251, 253, 0.96);
}

.chatbot-message.user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(18, 59, 99, 0.12), rgba(127, 175, 154, 0.16));
}

.chatbot-form {
  border-top: 1px solid var(--line);
}

.chatbot-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 251, 253, 0.98);
  padding: 0.9rem 1rem;
  color: var(--text);
}

.chatbot-form .button {
  min-width: 5.5rem;
}

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

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

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

@keyframes globe-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slogan-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 920px) {
  .hero,
  .grid-section,
  .spotlight,
  .contact-section,
  .newsletter-section,
  .market-layout,
  .card-grid,
  .training-grid,
  .advantage-grid,
  .news-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-inline: 1.4rem;
  }

  .hero-copy::before,
  .hero-copy::after {
    inset: auto;
    right: -6rem;
    width: 22rem;
  }

  .hero-copy::before {
    top: 2rem;
    bottom: 2rem;
    opacity: 0.42;
  }

  .hero-copy::after {
    top: 3rem;
    height: 20rem;
    opacity: 0.48;
  }

  .globe-card {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    min-width: 13rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

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

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

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

  .button {
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
  }

  .chat-launcher {
    right: 1rem;
    bottom: 1rem;
  }

  .chatbot-panel {
    right: 1rem;
    bottom: 5.6rem;
    width: calc(100vw - 2rem);
    height: min(35rem, calc(100vh - 7rem));
  }
}
