﻿:root {
  --primary: #0b2a4a;
  --primary-deep: #07182b;
  --accent: #19c7ba;
  --accent-deep: #0f9a91;
  --text: #112840;
  --muted: #516881;
  --bg: #ffffff;
  --soft: #f4f8fc;
  --soft-2: #eef4fb;
  --border: #d4e0ee;
  --shadow: 0 10px 35px rgba(11, 42, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -5%, rgba(25, 199, 186, 0.08), transparent 32%),
    radial-gradient(circle at 100% 10%, rgba(11, 42, 74, 0.06), transparent 30%),
    var(--bg);
  line-height: 1.6;
}

main {
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1200;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.nav-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.nav-list a {
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--accent-deep);
  font-weight: 700;
}

.hero {
  position: relative;
  color: #fff;
  padding: 5.2rem 0 4.5rem;
  background: linear-gradient(140deg, #0a2846 0%, #164b77 55%, #0f3f66 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(25, 199, 186, 0.35), rgba(25, 199, 186, 0));
  animation: floatBlob 9s ease-in-out infinite;
}

.hero::after {
  width: 260px;
  height: 260px;
  bottom: -80px;
  left: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  animation: floatBlob 10s ease-in-out infinite reverse;
}

.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  max-width: 830px;
  animation: riseIn 0.7s ease both;
}

.hero p {
  margin: 0 0 1.2rem;
  color: #ddeaf7;
  max-width: 760px;
  animation: riseIn 0.9s ease both;
}

.hero .btn {
  animation: riseIn 1.1s ease both;
}

.page-head {
  background: linear-gradient(180deg, var(--soft), var(--soft-2));
  border-bottom: 1px solid var(--border);
  padding: 2.8rem 0;
}

.page-head h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.2;
}

.section {
  padding: 3.3rem 0;
}

.alt {
  background: linear-gradient(180deg, var(--soft), #f8fbff);
}

.grid {
  display: grid;
  gap: 1rem;
}

.two,
.three,
.four {
  grid-template-columns: 1fr;
}

.card,
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 1px 0 rgba(6, 24, 40, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c2d6eb;
}

.stack {
  display: grid;
  gap: 1rem;
}

.service-card h2,
.card h2,
.card h3 {
  margin-top: 0;
}

.service-card h3 {
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.service-card ul {
  margin-top: 0;
  padding-left: 1.1rem;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-list li {
  border: 1px solid #c8ddf3;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  transition: transform 0.2s ease;
}

.pill-list li:hover {
  transform: translateY(-2px);
}

.roadmap {
  margin: 0;
  padding-left: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.12rem;
  border-radius: 10px;
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #05302d;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  background: #12afa3;
  border-color: #12afa3;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(25, 199, 186, 0.3);
}

.cta {
  text-align: center;
  background: linear-gradient(145deg, var(--primary), #143f66);
  color: #e6f0fa;
}

.cta h2 {
  color: #fff;
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

form {
  display: grid;
  gap: 0.65rem;
}

label {
  font-weight: 600;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b8cadc;
  border-radius: 10px;
  padding: 0.68rem;
}

input:focus,
textarea:focus {
  outline: 2px solid #89dfd7;
  outline-offset: 1px;
  border-color: #6bcfc5;
}

button.btn {
  width: fit-content;
  cursor: pointer;
}

.site-footer {
  background: var(--primary-deep);
  color: #d2e1f0;
  padding: 1.3rem 0;
}

.site-footer a {
  color: #fff;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.chat-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(145deg, var(--accent), #10a89e);
  color: #05302d;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(7, 24, 43, 0.28);
  transition: transform 0.2s ease;
}

.chat-launcher:hover,
.chat-launcher:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: min(360px, calc(100vw - 24px));
  max-height: 75vh;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(6, 24, 40, 0.2);
  overflow: hidden;
  z-index: 991;
  display: none;
}

.chat-panel.open {
  display: flex;
  flex-direction: column;
}

.chat-head {
  padding: 0.8rem 0.95rem;
  background: linear-gradient(145deg, var(--primary), #164b77);
  color: #fff;
}

.chat-head h2 {
  margin: 0;
  font-size: 1rem;
}

.chat-head p {
  margin: 0.2rem 0 0;
  color: #d8e6f5;
  font-size: 0.88rem;
}

.chat-log {
  padding: 0.9rem;
  display: grid;
  gap: 0.6rem;
  overflow: auto;
  background: #f8fbff;
}

.chat-msg {
  max-width: 90%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chat-msg.bot {
  background: #e7f6f5;
  color: #0a3a37;
  justify-self: start;
}

.chat-msg.user {
  background: #e5edf8;
  color: #122843;
  justify-self: end;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0.9rem 0.6rem;
  background: #f8fbff;
}

.chat-quick button {
  border: 1px solid #b9d8ee;
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.chat-input {
  border-top: 1px solid var(--border);
  padding: 0.55rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  background: #fff;
}

.chat-input input {
  margin: 0;
}

.chat-input button {
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  padding: 0 0.85rem;
  cursor: pointer;
}

.chat-handoff {
  display: flex;
  gap: 0.45rem;
  padding: 0 0.9rem 0.85rem;
  background: #fff;
}

.chat-handoff a {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #b5cadf;
  border-radius: 8px;
  padding: 0.45rem;
  color: var(--primary);
}

.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;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

@media (max-width: 430px) {
  .chat-panel {
    right: 8px;
    bottom: 74px;
  }

  .chat-launcher {
    right: 8px;
    bottom: 10px;
  }
}

@media (min-width: 760px) {
  .nav-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

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

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #c5d8ea;
}

.brand img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  flex: 0 0 34px;
}

