:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --blue-900: #12141a;
  --blue-800: #1c212b;
  --blue-600: #2a303d;
  --blue-400: #3b4250;
  --sand-100: #ffffff;
  --gray-500: #4a5565;
  --gray-700: #1a1f27;
  --white: #ffffff;
  --accent: #0c6ff9;
  --accent-warm: #f5b400;
  --text-primary: #111418;
  --text-secondary: #4a5565;
  --shadow-soft: rgba(17, 20, 26, 0.08);
  --shadow-medium: rgba(17, 20, 26, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--gray-700);
  background: var(--sand-100);
  font-family: inherit;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  color: var(--blue-900);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header .brand img {
  height: 60px;
  width: auto;
}

.site-header.scrolled {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header.hidden {
  transform: translateY(-110%);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 2rem);
}

.site-header nav a,
.nav-cta {
  color: var(--blue-900);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 41, 82, 0.2);
  background: transparent;
  cursor: pointer;
  font: inherit;
  appearance: none;
  transition: background 0.3s ease, transform 0.3s ease, border 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1;
  position: relative;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(31, 63, 132, 0.08);
  transform: translateY(-1px);
}

.nav-cta-group {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-cta--agent {
  background: var(--accent);
  color: var(--white);
  border-color: rgba(12, 111, 249, 0.45);
  box-shadow: 0 12px 24px rgba(12, 111, 249, 0.24);
}

.nav-cta--agent:hover,
.nav-cta--agent:focus-visible {
  background: rgba(12, 111, 249, 0.9);
  box-shadow: 0 16px 28px rgba(12, 111, 249, 0.3);
}

.nav-cta--chat {
  border-color: rgba(245, 180, 0, 0.45);
  background: var(--accent-warm);
  color: var(--blue-900);
}

.nav-cta--chat:hover,
.nav-cta--chat:focus-visible {
  background: rgba(245, 180, 0, 0.88);
}

.icon-chat img {
  width: 24px;
  height: 24px;
}

.hero {
  background: var(--white);
  color: var(--blue-900);
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem) clamp(2.75rem, 6vw, 4.5rem);
  min-height: clamp(520px, 92vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  --hero-step: 2s;
}

.hero-content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(260px, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  justify-content: center;
  justify-items: stretch;
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: clamp(540px, 58vw, 700px);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.4vw, 0.95rem);
}


[data-animate='text'] > :not(.hero-actions) {
  opacity: 0;
  transform: translate3d(-30px, 18px, 0);
}

[data-animate='text'] > .hero-actions {
  opacity: 0;
  transform: translate3d(-14px, 20px, 0);
}

[data-animate='text'].is-visible > :not(.hero-actions) {
  animation: heroTextFly 0.85s cubic-bezier(0.22, 0.72, 0.36, 1) forwards;
}

[data-animate='text'].is-visible > :not(.hero-actions):nth-child(1) {
  animation-delay: 0.08s;
}

[data-animate='text'].is-visible > :not(.hero-actions):nth-child(2) {
  animation-delay: 0.16s;
}

[data-animate='text'].is-visible > :not(.hero-actions):nth-child(3) {
  animation-delay: 0.24s;
}

[data-animate='text'].is-visible > .hero-actions {
  animation: heroFadeUp 0.65s ease-out forwards;
  animation-delay: 0.36s;
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin: 0.75rem 0;
  line-height: 1.15;
}

.hero-pretitle {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.hero-headline {
  position: relative;
  margin: clamp(0.45rem, 1.4vw, 0.8rem) 0 clamp(0.6rem, 1.6vw, 1.05rem);
  min-height: clamp(4.4rem, 8.6vw, 6.8rem);
  overflow: hidden;
  line-height: 1.12;
  padding-block: clamp(0.22rem, 0.7vw, 0.45rem);
}

.hero-headline__phrase {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  animation: heroPhrase var(--hero-step) forwards;
  animation-timing-function: cubic-bezier(0.28, 0.84, 0.46, 0.98);
  animation-play-state: paused;
  line-height: 1.14;
}

.hero-copy.is-visible .hero-headline__phrase {
  animation-play-state: running;
}

.hero-headline__phrase:nth-of-type(1) {
  animation-delay: 0s;
}

.hero-headline__phrase:nth-of-type(2) {
  animation-delay: var(--hero-step);
}

.hero-headline__phrase:nth-of-type(3) {
  animation-delay: calc(var(--hero-step) * 2);
}

.hero-headline__phrase:nth-of-type(4) {
  animation-delay: calc(var(--hero-step) * 3);
}

.hero-headline__phrase--final {
  animation-name: heroPhraseFinal;
  animation-delay: calc(var(--hero-step) * 4);
  animation-duration: calc(var(--hero-step) + 3s);
}

.page-hero {
  background: var(--white);
  color: var(--blue-900);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.page-hero .container {
  width: min(840px, 90vw);
}

.page-hero__eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.page-hero h1 {
  margin: clamp(1rem, 2vw, 1.6rem) 0 clamp(1rem, 2.5vw, 1.8rem);
  font-size: clamp(2.4rem, 4.8vw, 3.4rem);
  line-height: 1.1;
}

.page-hero p {
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 640px;
}

.page-hero__actions {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  display: inline-flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

[data-animate='page'],
[data-animate='contact-form'],
[data-animate='contact-info'],
[data-animate='schedule-form'] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate='page'].is-visible,
[data-animate='contact-form'].is-visible,
[data-animate='contact-info'].is-visible,
[data-animate='schedule-form'].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero p {
  margin: 0;
  color: var(--gray-500);
}

.hero-actions {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
}


.hero-visual {
  position: relative;
  --hero-visual-max-size: clamp(220px, 34vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(var(--hero-visual-max-size), 100%);
  max-width: var(--hero-visual-max-size);
  margin-inline: auto;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-visual__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: var(--hero-visual-max-size);
  margin-inline: auto;
}

.hero-visual__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(60%, 28vw, 68%);
  max-width: calc(var(--hero-visual-max-size) - 90px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  animation-duration: var(--hero-step);
  animation-fill-mode: forwards;
  animation-play-state: paused;
  animation-timing-function: cubic-bezier(0.28, 0.84, 0.46, 0.98);
  filter: drop-shadow(0 20px 36px rgba(17, 20, 26, 0.18));
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.hero-visual__item--clip-one {
  animation-name: heroVisualStage;
  animation-delay: 0.25s;
}

.hero-visual__item--clip-two {
  animation-name: heroVisualStage;
  animation-delay: calc(var(--hero-step) + 0.25s);
}

.hero-visual__item--clip-three {
  animation-name: heroVisualStage;
  animation-delay: calc(var(--hero-step) * 2 + 0.25s);
}

.hero-visual__item--clip-four {
  animation-name: heroVisualStage;
  animation-delay: calc(var(--hero-step) * 3 + 0.25s);
}

.hero-visual__item--logo {
  animation-name: heroVisualFinal;
  animation-duration: calc(var(--hero-step) * 2 + 3s);
  animation-delay: calc(var(--hero-step) * 4 + 0.25s);
  filter: drop-shadow(0 22px 36px rgba(17, 20, 26, 0.24));
  width: clamp(78%, 34vw, 92%);
  max-width: var(--hero-visual-max-size);
  transform: translate(-50%, -50%) scale(0.82);
}

.hero-visual__item--clip-two {
  filter: drop-shadow(0 14px 28px rgba(12, 111, 249, 0.24));
}

.hero-visual__item--clip-three {
  filter: drop-shadow(0 14px 26px rgba(8, 178, 178, 0.26));
}

.hero-visual__item--clip-four {
  filter: drop-shadow(0 14px 24px rgba(245, 180, 0, 0.26));
}

.hero-visual__item img,
.hero-visual__item {
  display: block;
}

.hero-visual.is-visible .hero-visual__item {
  animation-play-state: running;
}

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

.contact-wrapper {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.75rem);
  background: var(--sand-100);
}

.contact-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  grid-template-columns: minmax(280px, 1fr);
  align-items: stretch;
}

.contact-card,
.info-card,
.schedule-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(17, 20, 26, 0.08);
  box-shadow: 0 28px 44px rgba(17, 20, 26, 0.08);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.contact-option {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.contact-option form {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.3rem);
}

.contact-option form .field-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.contact-option form button {
  justify-self: start;
}

.contact-card h2,
.info-card h2,
.schedule-card h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  color: var(--blue-900);
}

.contact-card p,
.info-card p,
.schedule-card p {
  color: var(--text-secondary);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field-row {
  display: flex;
  gap: 1rem;
}

.field-row .field-group {
  flex: 1;
  margin-bottom: 0;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue-900);
}

label .optional {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='date'],
input[type='time'],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 20, 26, 0.16);
  background: var(--white);
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
}

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

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-details span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--blue-800);
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  text-decoration: underline;
}

.contact-details address {
  font-style: normal;
  color: var(--text-secondary);
}

.status-message {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  min-height: 1.3rem;
}

.status-message.is-success {
  color: #1f9254;
}

.status-message.is-error {
  color: #c43d3d;
}

.agent-body {
  background: radial-gradient(circle at top right, rgba(12, 111, 249, 0.08), transparent 40%),
    radial-gradient(circle at bottom left, rgba(245, 180, 0, 0.1), transparent 42%), var(--sand-100);
}

.agent-main {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: clamp(4rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
}

.agent-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 111, 249, 0.16) 0%, rgba(12, 111, 249, 0) 42%),
    linear-gradient(140deg, rgba(17, 20, 26, 0.08), transparent 55%);
  pointer-events: none;
}

.agent-shell {
  position: relative;
  width: min(1160px, 94vw);
  margin: clamp(-3.8rem, -6vw, -2.8rem) auto 0;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 42px 90px rgba(15, 23, 42, 0.22);
  padding: clamp(2.2rem, 5vw, 3.2rem);
  overflow: hidden;
}

.agent-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(12, 111, 249, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.agent-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  min-height: clamp(540px, 72vh, 780px);
  z-index: 1;
}

.agent-sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(1.3rem, 3.5vw, 2.2rem);
  color: var(--blue-900);
}

.agent-sidebar p {
  color: var(--text-secondary);
  margin: 0;
}

.agent-quickstart {
  display: grid;
  gap: 0.85rem;
}

.agent-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.8rem;
  height: 38px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(12, 111, 249, 0.25);
  color: var(--blue-800);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.agent-chip:hover,
.agent-chip:focus-visible {
  background: rgba(12, 111, 249, 0.12);
  border-color: rgba(12, 111, 249, 0.35);
  transform: translateY(-1px);
}

.agent-chip__label {
  flex: 1;
  text-align: center;
}

.agent-settings {
  display: grid;
  gap: 0.65rem;
}

.agent-settings__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-900);
}

.agent-settings input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 20, 26, 0.16);
  background: var(--sand-100);
  font-size: 0.95rem;
}

.agent-settings input:focus-visible {
  outline: none;
  border-color: rgba(12, 111, 249, 0.5);
  box-shadow: 0 0 0 4px rgba(12, 111, 249, 0.12);
}

.agent-settings__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.agent-console {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(12, 111, 249, 0.06);
  border-radius: 22px;
  border: 1px solid rgba(12, 111, 249, 0.14);
  padding: 0.85rem 1.2rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  flex: 1 1 auto;
  min-height: 0;
}

.agent-messages {
  min-height: 120px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 0.15rem;
}

.agent-message {
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 20, 26, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue-900);
  box-shadow: 0 8px 20px rgba(17, 20, 26, 0.08);
  max-width: 85%;
  align-items: flex-start;
}

.agent-message--user {
  justify-self: end;
  margin-left: auto;
  border-color: rgba(245, 180, 0, 0.32);
  background: rgba(245, 180, 0, 0.18);
}

.agent-message--assistant {
  justify-self: start;
  margin-right: auto;
}

.agent-message__avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(12, 111, 249, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.agent-message__avatar img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.agent-message__wrapper {
  display: grid;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.agent-message__role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.agent-message__content {
  display: grid;
  gap: 0.4rem;
}

.agent-message__content p {
  margin: 0;
  line-height: 1.5;
  color: var(--blue-800);
}

.agent-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  flex-shrink: 0;
}

.agent-form {
  display: grid;
  gap: 0.55rem;
  flex-shrink: 0;
}

.agent-form__label {
  font-weight: 600;
  color: var(--blue-900);
  font-size: 0.9rem;
}

.agent-input-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--white);
  border: 1px solid rgba(17, 20, 26, 0.18);
  border-radius: 24px;
  padding: 8px 8px 8px 16px;
  transition: border-color 0.2s ease;
}

.agent-input-wrapper:focus-within {
  border-color: rgba(17, 20, 26, 0.25);
}

.agent-form textarea {
  flex: 1;
  resize: none;
  min-height: 24px;
  max-height: 200px;
  padding: 0;
  border: none;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: inherit;
  background: transparent;
  overflow-y: auto;
}

.agent-form textarea:focus {
  outline: none;
}

.agent-form textarea::placeholder {
  color: rgba(17, 20, 26, 0.4);
}

.agent-send-button {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 111, 249, 0.9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-left: 8px;
}

.agent-send-button:hover:not(:disabled) {
  background: rgba(12, 111, 249, 1);
  transform: scale(1.05);
}

.agent-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.agent-send-button svg {
  width: 18px;
  height: 18px;
}

.agent-footer {
  background: rgba(12, 111, 249, 0.16);
  color: var(--blue-900);
}

body.agent-widget-open {
  overflow: hidden;
}

.agent-widget {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 160;
}

.agent-widget[data-open='true'] {
  opacity: 1;
  pointer-events: auto;
}

.agent-widget__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.agent-widget[data-open='true'] .agent-widget__overlay {
  opacity: 1;
  pointer-events: auto;
}

.agent-widget__panel {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  max-height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
  pointer-events: none;
}

.agent-widget[data-open='true'] .agent-widget__panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.agent-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(12, 111, 249, 0.12);
}

.agent-widget__title-group {
  display: grid;
  gap: 0.35rem;
}

.agent-widget__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}

.agent-widget__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  color: var(--blue-900);
}

.agent-widget__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.agent-widget__close {
  border: none;
  background: transparent;
  color: var(--blue-900);
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.agent-widget__close:hover {
  background: rgba(12, 111, 249, 0.1);
  transform: translateY(-1px);
}

.agent-widget__close:focus-visible {
  background: rgba(12, 111, 249, 0.1);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 111, 249, 0.2);
}

.agent-widget__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.5rem 0;
  overflow-y: auto;
  min-height: 0;
}

.agent-widget__footer {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem 1.2rem;
  background: var(--white);
  border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.agent-widget__intro {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.agent-widget .agent-quickstart {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  flex-shrink: 0;
  gap: 0.7rem;
}

.agent-widget .agent-console {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.agent-samples {
  margin: 0.2rem 0 0;
  display: grid;
  gap: 0.5rem;
  max-height: 120px;
  overflow-y: auto;
}

.agent-samples__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.agent-samples__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.agent-sample {
  border: 1px solid rgba(12, 111, 249, 0.18);
  background: rgba(12, 111, 249, 0.12);
  color: var(--blue-900);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-sample:hover,
.agent-sample:focus-visible {
  background: rgba(12, 111, 249, 0.2);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 111, 249, 0.18);
}

.agent-widget .agent-messages {
  max-height: none;
}

.agent-widget .agent-form textarea {
  min-height: 80px;
  max-height: 120px;
}

@media (max-width: 720px) {
  .agent-widget__body {
    padding: 1rem 1.2rem 0;
    gap: 0.8rem;
  }
  
  .agent-widget__footer {
    padding: 0.6rem 1.2rem 1rem;
  }
  
  .agent-console {
    padding: 0.75rem 1rem 0.85rem;
  }
  
  .agent-input-wrapper {
    padding: 6px 6px 6px 12px;
  }
  
  .agent-form textarea {
    font-size: 0.9rem;
  }
  
  .agent-send-button {
    width: 28px;
    height: 28px;
  }
  
  .agent-send-button svg {
    width: 16px;
    height: 16px;
  }
  
  .agent-messages {
    min-height: 100px;
    max-height: 300px;
  }
}

@media (max-width: 520px) {
  .agent-widget__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .agent-widget__close {
    align-self: flex-end;
  }
}

.hero-sba {
  position: fixed;
  right: 5px;
  bottom: 5px;
  width: clamp(78px, 10vw, 110px);
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
  z-index: 40;
}

.button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  appearance: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(8, 178, 178, 0.25);
  position: relative;
}

.button.primary:hover,
.button.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(8, 178, 178, 0.35);
}

.button.ghost {
  background: transparent;
  color: var(--blue-800);
  border: 1px solid rgba(31, 63, 132, 0.24);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 63, 132, 0.4);
}

.button.chat {
  background: var(--accent-warm);
  color: var(--blue-900);
  border: 1px solid rgba(245, 180, 0, 0.4);
  box-shadow: 0 14px 32px rgba(245, 180, 0, 0.28);
}

.button.chat:hover,
.button.chat:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(245, 180, 0, 0.35);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroTextFly {
  0% {
    opacity: 0;
    transform: translate3d(-26px, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroPhrase {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  18% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}

@keyframes heroPhraseFinal {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  24% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualStage {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78) rotate(-3deg);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08) rotate(2deg);
  }
}

@keyframes heroVisualFinal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .hero-actions,
  .hero-visual,
  .hero-visual__item,
  .hero-headline__phrase {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-headline {
    min-height: auto;
  }

  .hero-headline__phrase {
    position: static;
  }

  .hero-headline__phrase:not(.hero-headline__phrase--final) {
    display: none;
  }

  .hero-visual__item {
    opacity: 0 !important;
  }

  .hero-visual__item--logo {
    opacity: 1 !important;
  }
}

.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: minmax(320px, 1fr);
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .hero-visual {
    margin-left: 0;
    justify-self: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .agent-main {
    padding: 2rem 0 3rem;
  }

  .agent-layout {
    grid-template-columns: 1fr;
  }

  .agent-sidebar {
    order: 2;
  }

  .agent-console {
    order: 1;
    min-height: 360px;
  }
}

.section-alt {
  background: var(--white);
}

.section h2 {
  color: var(--blue-900);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 720px;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.section-state {
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.85) 0%, rgba(237, 241, 255, 0.95) 100%);
}

.state-local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.state-local-grid article {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(31, 63, 132, 0.12);
}

.state-local-grid h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--blue-800);
}

.state-local-grid p {
  margin: 0;
  color: var(--gray-500);
}

.grid.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.grid.capabilities article {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(31, 63, 132, 0.12);
}

.grid.capabilities h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--blue-800);
}

.capability-download {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.capability-download a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--blue-800);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(20, 41, 82, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.capability-download a:hover,
.capability-download a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(20, 41, 82, 0.3);
}

.contracts {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contracts ul,
.contracting-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(20, 41, 82, 0.12);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.contracts li,
.contracting-list li {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(20, 41, 82, 0.08);
  font-weight: 500;
  color: var(--blue-800);
}

.contracts li:last-child,
.contracting-list li:last-child {
  border-bottom: none;
}

.contracting-list .label,
.contracts li span:first-child {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.contracting-list .value,
.contracts li span:last-child {
  text-align: right;
  color: var(--blue-800);
}

.contracting-list .multi-line .value {
  line-height: 1.55;
}

.past-performance-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(20, 41, 82, 0.12);
}

.past-performance-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--blue-800);
}

.past-performance-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.past-performance-card li {
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.4;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.badge-grid figure {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(31, 63, 132, 0.1);
}

.badge-grid figure img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.section-ai {
  background: linear-gradient(135deg, rgba(20, 41, 82, 0.92), rgba(58, 110, 219, 0.82));
  color: var(--white);
}

.section-ai .ai {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.section-ai p {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 2rem;
  text-align: center;
}

.site-footer .footer {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  text-align: left;
}

.site-footer a {
  color: var(--accent);
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.copyright {
  margin: 2rem auto 0;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .site-header nav {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-content {
    text-align: center;
    justify-items: center;
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 4rem;
  }

  .hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    justify-self: center;
    margin-inline: auto;
    margin-top: 2.5rem;
    --hero-visual-max-size: clamp(200px, 64vw, 320px);
    width: min(var(--hero-visual-max-size), 64vw);
  }

  .hero-visual__item {
    width: clamp(64%, 58vw, 70%);
    max-width: calc(var(--hero-visual-max-size) - 48px);
  }

  .hero-sba {
    width: clamp(62px, 18vw, 92px);
    bottom: 5px;
    right: 5px;
  }

  .contact-wrapper {
    padding: 3rem 0;
  }

  .contact-grid {
    gap: 1.75rem;
  }

  .field-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-footer .footer {
    text-align: center;
  }

  .agent-shell {
    margin-top: -2.2rem;
    padding: 1.6rem 1.4rem;
    border-radius: 22px;
  }

  .agent-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .agent-chip__icon {
    width: 38px;
    height: 38px;
  }

  .agent-console {
    min-height: 320px;
  }
}
.icon-gemini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-gemini svg,
.icon-gemini img {
  display: block;
  width: 1.1em;
  height: 1.1em;
}

.nav-cta .icon-gemini img {
  width: 28px;
  height: 28px;
}

.button.primary .icon-gemini img {
  width: 42px;
  height: 42px;
}

/* Beta badge on buttons */
.nav-cta--beta::after,
.button--beta::after {
  content: 'BETA';
  position: absolute;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
  background: linear-gradient(135deg, #0c6ff9 0%, #0a5dd1 100%);
  border: 1.5px solid white;
  border-radius: 4px;
  padding: 2px 4px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
  pointer-events: none;
}

/* Beta badge for nav buttons (smaller) */
.nav-cta--beta::after {
  bottom: -4px;
  right: -4px;
}

/* Beta badge for primary buttons (larger) */
.button--beta::after {
  font-size: 9px;
  padding: 2.5px 5px;
  bottom: -6px;
  right: -6px;
}

