:root {
  --bg: #eef4fb;
  --bg-soft: #f7faff;
  --navy: #0b1f3a;
  --navy-soft: #16345c;
  --blue: #1f6fff;
  --blue-deep: #1557d6;
  --blue-soft: #e7f0ff;
  --text: #10233f;
  --muted: #60728f;
  --line: #d9e4f2;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(16, 35, 63, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #f6f9fe 0%, #eef4fb 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 24px), var(--content));
  margin: 14px auto 36px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.eyebrow {
  margin: 0 0 2px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a.active {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.site-nav a.nav-cta {
  background: var(--blue);
  color: var(--white);
}

.hero,
.page-intro,
.section-card,
.contact-card,
.agreement-card,
.feature-band,
.cta-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.hero-copy {
  padding: 38px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-deep);
  font-weight: 700;
}

.hero-copy h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.hero-copy p,
.page-intro p,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.9), rgba(22, 52, 92, 0.82)),
    url("images/hero-tech.svg") center/cover no-repeat;
  padding: 34px 28px;
  color: var(--white);
}

.hero-panel h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  color: var(--white);
}

.hero-panel p,
.hero-panel li {
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.stack-actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pill-row {
  margin-top: 18px;
}

.button,
.button-secondary,
.schedule-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 160ms ease;
}

.button,
.schedule-link,
button {
  background: var(--blue);
  color: var(--white);
}

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

.button:hover,
.button-secondary:hover,
.schedule-link:hover,
button:hover {
  transform: translateY(-1px);
}

.pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.section {
  margin-top: 18px;
}

.section-card,
.contact-card,
.agreement-card,
.page-intro,
.cta-strip {
  padding: 30px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--navy);
}

.grid-2,
.grid-3,
.contact-grid,
.split-layout {
  display: grid;
  gap: 16px;
}

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

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

.service-block,
.price-card,
.step-card,
.mini-card,
.contact-method {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.service-icon,
.step-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 700;
  margin-bottom: 14px;
}

.service-block h3,
.price-card h3,
.step-card h3,
.mini-card h3,
.contact-panel h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--navy);
}

.feature-list,
.plain-list,
.timeline,
.check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.feature-list li,
.plain-list li,
.timeline li,
.check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-list li::before,
.plain-list li::before,
.timeline li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-panel .plain-list li {
  color: rgba(255, 255, 255, 0.88);
}

.hero-panel .plain-list li::before {
  background: #6ea7ff;
}

.feature-band {
  padding: 26px;
}

.portrait-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.portrait {
  width: 150px;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: 20px;
}

.page-intro {
  background: linear-gradient(135deg, #0c2241, #143662);
}

.page-intro h1,
.page-intro p,
.page-intro .section-kicker {
  color: var(--white);
}

.price {
  margin: 8px 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-note,
.schedule-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}

.contact-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0d2242, #143764);
  color: var(--white);
}

.contact-panel h3 {
  color: var(--white);
}

.contact-panel p,
.contact-panel a,
.contact-panel .section-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.contact-panel .contact-method {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.contact-panel .contact-method strong,
.contact-panel .contact-method a {
  color: var(--white);
}

form {
  display: grid;
  gap: 14px;
}

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

input,
textarea,
select {
  width: 100%;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.tiny-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.code-inline {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.package-grid {
  margin-top: 18px;
}

.package-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.package-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.site-footer {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}

.site-footer a {
  color: var(--blue-deep);
  font-weight: 600;
}

.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;
}

.chatbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--navy-soft));
  color: var(--white);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(11, 31, 58, 0.25);
  cursor: pointer;
}

.chatbot-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.chatbot-toggle-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.chatbot-toggle-text {
  line-height: 1;
}

.chatbot-panel {
  width: min(380px, calc(100vw - 24px));
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 35, 63, 0.18);
  overflow: hidden;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, #0d2242, #143764);
  color: var(--white);
}

.chatbot-header h2 {
  margin: 4px 0 0;
  font-size: 1.15rem;
}

.chatbot-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.74);
}

.chatbot-close {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  padding: 14px 14px 10px;
}

.chatbot-messages {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.chatbot-message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.55;
  font-size: 0.95rem;
}

.chatbot-message-bot {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
}

.chatbot-message-user {
  margin-left: auto;
  background: var(--blue);
  color: var(--white);
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chatbot-suggestions button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 0 14px 14px;
}

.chatbot-input {
  min-width: 0;
}

.chatbot-send {
  min-height: 46px;
  padding: 0 16px;
}

.chatbot-status {
  padding: 10px 14px;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .split-layout,
  .contact-grid,
  .portrait-card {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 280px;
  }

  .portrait {
    width: min(170px, 100%);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--content));
    margin-top: 8px;
  }

  .site-header,
  .hero-copy,
  .hero-panel,
  .page-intro,
  .section-card,
  .contact-card,
  .agreement-card,
  .cta-strip,
  .feature-band {
    padding: 20px;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

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

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

  .chatbot {
    right: 12px;
    bottom: 12px;
  }

  .chatbot-toggle {
    min-height: 52px;
    padding: 0 16px 0 14px;
  }

  .chatbot-panel {
    width: min(360px, calc(100vw - 24px));
  }

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