:root {
  --navy: #07152f;
  --navy-2: #0d244a;
  --cyan: #17c8ff;
  --green: #42d392;
  --text: #10213f;
  --muted: #5f6f86;
  --line: #dce6f2;
  --surface: #f5f9fc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 188px;
  max-width: 44vw;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 28%, rgba(23, 200, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4fbff 100%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #087da4;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 21px;
}

.lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 8px;
}

.signal-card,
.service-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(7, 21, 47, 0.08);
}

.signal-card {
  padding: 24px;
}

.signal-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: #e8f8ff;
  font-weight: 800;
}

.signal-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 23px;
}

.signal-card p,
.service-grid p,
.split p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-grid article {
  padding: 26px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  background: var(--surface);
}

.split p {
  margin: 0;
  font-size: 19px;
}

.contact {
  margin: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px);
  padding: clamp(34px, 6vw, 64px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.contact h2,
.contact p,
.contact .eyebrow {
  color: var(--white);
}

.contact p {
  max-width: 660px;
}

.contact .button.primary {
  margin-top: 14px;
  color: var(--navy);
  background: var(--cyan);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.kurebot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  font-family: Arial, Helvetica, sans-serif;
}

.kurebot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(7, 21, 47, 0.22);
  cursor: pointer;
  font-weight: 800;
}

.kurebot-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--cyan);
}

.kurebot-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: none;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(7, 21, 47, 0.22);
}

.kurebot.is-open .kurebot-panel {
  display: block;
}

.kurebot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.kurebot-head strong,
.kurebot-head span {
  display: block;
}

.kurebot-head span {
  margin-top: 4px;
  color: #bfeeff;
  font-size: 13px;
}

.kurebot-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.kurebot-messages {
  display: grid;
  gap: 10px;
  max-height: 330px;
  min-height: 230px;
  padding: 16px;
  overflow-y: auto;
  background: #f7fbff;
}

.kurebot-message {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 8px;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(7, 21, 47, 0.07);
  line-height: 1.5;
  font-size: 14px;
}

.kurebot-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--navy);
}

.kurebot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  background: #f7fbff;
}

.kurebot-quick button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.kurebot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.kurebot-form input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  font: inherit;
}

.kurebot-form button {
  height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--navy);
  background: var(--cyan);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header,
  .nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .kurebot {
    right: 16px;
    bottom: 16px;
  }
}
