:root {
  --paper: #fff7f5;
  --paper-strong: #fffdfb;
  --paper-soft: rgba(255, 248, 244, 0.84);
  --ink: #33222a;
  --ink-soft: #69515a;
  --berry: #7b1e3a;
  --berry-deep: #541226;
  --rose: #d98ca5;
  --rose-soft: rgba(217, 140, 165, 0.16);
  --gold: #c8984d;
  --gold-soft: rgba(200, 152, 77, 0.18);
  --sage: #6d8d77;
  --sage-soft: rgba(109, 141, 119, 0.18);
  --line: rgba(95, 46, 60, 0.12);
  --line-strong: rgba(95, 46, 60, 0.22);
  --shadow: 0 28px 60px rgba(92, 35, 58, 0.12);
  --shadow-soft: 0 18px 36px rgba(92, 35, 58, 0.08);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 140, 165, 0.22), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(200, 152, 77, 0.18), transparent 20%),
    radial-gradient(circle at 82% 46%, rgba(109, 141, 119, 0.14), transparent 24%),
    linear-gradient(180deg, #fffaf8 0%, #fff3ef 44%, #fdf7f2 100%);
  line-height: 1.7;
}

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

button,
input {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  inset: 0;
  background:
    linear-gradient(rgba(123, 30, 58, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 30, 58, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 86%);
}

.site-shell::after {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 140, 165, 0.16), transparent 70%);
}

.site-header,
main,
.site-footer,
#chatbot-popup,
.capability-modal {
  position: relative;
  z-index: 1;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 26px 0 14px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px 18px 18px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-strong);
  font-size: 1.15rem;
  background:
    linear-gradient(135deg, var(--berry) 0%, #9a3559 55%, #b96683 100%);
  box-shadow: 0 16px 30px rgba(123, 30, 58, 0.24);
}

.brand-text {
  color: var(--berry-deep);
  font-size: 1.8rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 249, 0.82);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--berry-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(123, 30, 58, 0.08);
  border-radius: 999px;
  background: rgba(255, 252, 249, 0.76);
  box-shadow: var(--shadow-soft);
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--berry);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.82fr);
  gap: 2rem;
  padding: 48px 0 30px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.summary-card,
.impact-card,
.expertise-card,
.banner-card,
.credential-card,
.contact-card,
.panel-card {
  border: 1px solid rgba(123, 30, 58, 0.09);
  background: linear-gradient(180deg, rgba(255, 253, 251, 0.88), rgba(255, 246, 242, 0.78));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 46px;
  border-radius: 42px 42px 42px 18px;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "♪";
  position: absolute;
  right: 28px;
  top: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 4.6rem;
  color: rgba(123, 30, 58, 0.08);
}

.eyebrow,
.section-kicker,
.panel-kicker,
.impact-label,
.credential-tag,
.capability-modal-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--berry);
}

.hero-copy h1,
.section-heading h2,
.banner-card h2,
.capability-modal-card h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.035em;
  color: var(--berry-deep);
}

.hero-copy h1 {
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: 0.92;
  margin: 0.9rem 0 1.1rem;
}

.hero-lead {
  font-size: 1.26rem;
  color: var(--ink);
  max-width: 720px;
}

.hero-support {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 690px;
  margin-top: 1rem;
}

.hero-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 140, 165, 0.12), rgba(200, 152, 77, 0.14));
  color: var(--berry);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-signature::before {
  content: "♪";
  font-size: 1rem;
}

.hero-lyric {
  margin-top: 1.25rem;
  max-width: 640px;
  padding: 1.05rem 1.15rem;
  border-left: 3px solid rgba(123, 30, 58, 0.2);
  border-radius: 0 20px 20px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 241, 237, 0.76));
}

.hero-lyric-mark {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-lyric p {
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.9rem;
}

.primary-button,
.secondary-button,
.ghost-button,
.book-meeting-btn,
.quick-prompt,
.capability-pill,
#send-button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button,
.secondary-button,
.ghost-button,
.book-meeting-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.98rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
}

.primary-button {
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--berry) 0%, #a13c63 100%);
  box-shadow: 0 16px 28px rgba(123, 30, 58, 0.22);
}

.secondary-button {
  color: var(--berry-deep);
  border: 1px solid rgba(123, 30, 58, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

.ghost-button {
  color: var(--sage);
  border: 1px solid rgba(109, 141, 119, 0.28);
  background: rgba(109, 141, 119, 0.1);
  cursor: pointer;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.book-meeting-btn:hover,
.quick-prompt:hover,
.capability-pill:hover,
#send-button:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  padding: 1.05rem 1.05rem;
  border-radius: 22px 22px 22px 12px;
  border: 1px solid rgba(123, 30, 58, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 243, 239, 0.74));
}

.metric-card strong {
  display: block;
  color: var(--berry-deep);
  font-size: 1.22rem;
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 0.24rem;
}

.metric-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-panel {
  padding: 26px;
  border-radius: 42px 18px 42px 42px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.9), rgba(250, 243, 237, 0.84));
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px 28px 12px 28px;
  width: min(100%, 220px);
  min-height: 260px;
  margin: 0 auto;
  padding: 6px;
  background:
    linear-gradient(135deg, rgba(123, 30, 58, 0.34), rgba(217, 140, 165, 0.26), rgba(109, 141, 119, 0.22));
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(123, 30, 58, 0.09));
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 248px;
  border-radius: 24px 24px 10px 24px;
  object-fit: cover;
  object-position: center top;
}

.panel-card {
  border-radius: 26px 14px 26px 26px;
  padding: 1.45rem;
}

.artist-note {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1.25rem 1.25rem;
  border-radius: 26px 12px 26px 26px;
  border: 1px solid rgba(123, 30, 58, 0.08);
  background:
    linear-gradient(135deg, rgba(123, 30, 58, 0.9), rgba(161, 60, 99, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
}

.artist-note::after {
  content: "♫";
  position: absolute;
  right: 16px;
  bottom: 6px;
  font-size: 2.9rem;
  color: rgba(255, 255, 255, 0.14);
}

.artist-note-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-note p {
  color: rgba(255, 255, 255, 0.94);
}

.focus-list,
.check-list,
.impact-card ul,
.timeline-content ul,
.capability-modal-card ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.focus-list li,
.check-list li,
.impact-card li,
.timeline-content li,
.capability-modal-card li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.focus-list li::before,
.check-list li::before,
.impact-card li::before,
.timeline-content li::before,
.capability-modal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--berry), var(--rose));
  transform: translateY(-50%);
}

.mini-badges,
.role-tags,
.badge-stack,
.pill-group,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mini-badges span,
.role-tags span,
.credential-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(123, 30, 58, 0.08);
  color: var(--berry-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1.6rem;
}

.trust-strip span {
  text-align: center;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  color: var(--berry-deep);
  font-size: 0.95rem;
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(255, 251, 248, 0.82), rgba(255, 240, 235, 0.82));
  border: 1px solid rgba(123, 30, 58, 0.08);
}

.trust-strip span:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(255, 248, 244, 0.86), rgba(248, 242, 232, 0.84));
}

.trust-strip span:nth-child(3n) {
  background:
    linear-gradient(135deg, rgba(247, 242, 236, 0.88), rgba(242, 248, 243, 0.84));
}

.section {
  padding: 92px 0;
}

.section-toned {
  position: relative;
}

.section-toned::before {
  content: "";
  position: absolute;
  inset: 20px -26px;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(255, 248, 244, 0.7), rgba(255, 241, 237, 0.72));
  z-index: -1;
}

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

.section-heading h2 {
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  margin: 0.58rem 0 0.9rem;
  line-height: 0.98;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.summary-grid,
.impact-grid,
.expertise-grid,
.credentials-grid,
.contact-grid {
  display: grid;
  gap: 1.4rem;
}

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

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

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

.summary-card,
.impact-card,
.expertise-card,
.credential-card,
.contact-card {
  padding: 1.75rem;
  border-radius: 30px 18px 30px 30px;
}

.summary-card,
.impact-card,
.expertise-card,
.credential-card,
.contact-card,
.timeline-content {
  position: relative;
  overflow: hidden;
}

.summary-card::before,
.impact-card::before,
.expertise-card::before,
.credential-card::before,
.contact-card::before,
.timeline-content::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(217, 140, 165, 0.12), transparent 72%);
  pointer-events: none;
}

.summary-card h3,
.impact-card h3,
.expertise-card h3,
.timeline-content h3,
.credential-card h3,
.contact-card h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--berry-deep);
  letter-spacing: -0.02em;
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.summary-quote,
.impact-card p,
.expertise-card p,
.timeline-content p,
.credential-card p,
.contact-card p {
  color: var(--ink-soft);
}

.impact-header {
  margin-bottom: 0.9rem;
}

.impact-card ul,
.timeline-content ul {
  margin-top: 1rem;
}

.capability-pill {
  border: 1px solid rgba(123, 30, 58, 0.12);
  background: linear-gradient(135deg, rgba(255, 252, 250, 0.94), rgba(255, 239, 235, 0.9));
  color: var(--berry-deep);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.section-banner {
  padding-top: 14px;
}

.banner-card {
  border-radius: 36px 18px 36px 36px;
  padding: 2.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background:
    linear-gradient(135deg, rgba(123, 30, 58, 0.92), rgba(164, 72, 106, 0.92)),
    linear-gradient(135deg, rgba(255, 244, 239, 0.2), rgba(200, 152, 77, 0.16));
}

.banner-card h2,
.banner-card p,
.banner-card .section-kicker {
  color: var(--paper-strong);
}

.banner-card .section-kicker {
  opacity: 0.78;
}

.banner-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.52rem 0 0.7rem;
}

.banner-card p {
  max-width: 720px;
}

.banner-card .primary-button {
  background: linear-gradient(135deg, var(--gold), #dca85c);
  color: #432611;
  box-shadow: 0 18px 28px rgba(67, 38, 17, 0.18);
}

.contact-card:last-child {
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.96), rgba(255, 246, 241, 0.92));
}

.timeline {
  position: relative;
  margin-left: 1rem;
  padding-left: 2rem;
  display: grid;
  gap: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--rose), rgba(123, 30, 58, 0.18));
}

.timeline-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.4rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-strong);
  border: 4px solid var(--berry);
  box-shadow: 0 0 0 8px rgba(217, 140, 165, 0.16);
}

.timeline-meta {
  padding-top: 0.2rem;
}

.timeline-date,
.timeline-company,
.credential-subtitle {
  display: block;
  color: var(--ink-soft);
}

.timeline-date,
.credential-subtitle {
  font-weight: 800;
}

.timeline-company {
  margin-top: 0.3rem;
}

.timeline-content {
  padding: 1.5rem 1.55rem;
  border-radius: 28px 16px 28px 28px;
  border: 1px solid rgba(123, 30, 58, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.9), rgba(255, 244, 239, 0.82));
  box-shadow: var(--shadow-soft);
}

.badge-stack {
  margin-top: 1rem;
}

.coming-soon {
  background: linear-gradient(135deg, rgba(200, 152, 77, 0.16), rgba(109, 141, 119, 0.12));
  border-color: rgba(200, 152, 77, 0.22);
}

.contact-links {
  flex-direction: column;
  align-items: flex-start;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--berry);
  font-weight: 800;
}

.contact-links a:hover {
  color: var(--berry-deep);
}

.site-footer {
  padding: 0 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink-soft);
}

.footer-copy p {
  font-family: "Cormorant Garamond", serif;
  color: var(--berry-deep);
  font-weight: 700;
  font-size: 1.65rem;
}

.footer-copy span,
.footer-note {
  font-size: 0.95rem;
}

.capability-modal {
  position: fixed;
  inset: 0;
  background: rgba(71, 21, 38, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  z-index: 10000;
}

.capability-modal.hidden {
  display: none;
}

.capability-modal-card {
  width: min(680px, 100%);
  padding: 2rem;
  border-radius: 32px 18px 32px 32px;
  background: var(--paper-strong);
  box-shadow: 0 30px 80px rgba(71, 21, 38, 0.24);
  position: relative;
}

.capability-modal-card h3 {
  font-size: 2.2rem;
  margin: 0.38rem 0 0.8rem;
}

.capability-modal-card p {
  color: var(--ink-soft);
}

.capability-modal-card ul {
  margin-top: 1rem;
}

.capability-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(123, 30, 58, 0.08);
  color: var(--berry-deep);
  font-size: 1.8rem;
  cursor: pointer;
}

#chatbot-popup {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 9999;
}

#chatbot-toggle {
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--berry), #a03d63);
  box-shadow: 0 20px 40px rgba(123, 30, 58, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chatbot-avatar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

#chatbot-window {
  width: min(430px, 95vw);
  height: 620px;
  position: absolute;
  right: 0;
  bottom: 88px;
  border-radius: 30px 18px 30px 30px;
  border: 1px solid rgba(123, 30, 58, 0.08);
  background: rgba(255, 250, 247, 0.96);
  box-shadow: 0 32px 80px rgba(71, 21, 38, 0.24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#chatbot-window.hidden {
  display: none;
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(135deg, var(--berry-deep), #8d2e53);
  color: var(--paper-strong);
}

.chatbot-avatar-header {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.84);
}

.chatbot-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.chatbot-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 250, 242, 0.78);
}

#chatbot-close,
#chatbot-clear {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper-strong);
  cursor: pointer;
}

#chatbot-close {
  margin-left: 0.35rem;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background:
    radial-gradient(circle at top right, rgba(217, 140, 165, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 244, 239, 0.92));
}

.message {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.message.user {
  justify-content: flex-end;
}

.message.user .message-avatar {
  display: none;
}

.message-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.message-content {
  max-width: 78%;
  padding: 0.88rem 1rem;
  border-radius: 18px 18px 18px 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  border: 1px solid rgba(123, 30, 58, 0.06);
}

.message.user .message-content {
  background: linear-gradient(135deg, var(--berry), #98385e);
  color: var(--paper-strong);
  border-radius: 18px 18px 8px 18px;
}

.chatbot-quick-prompts {
  padding: 0.85rem 1rem 0.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.55);
}

.quick-prompt {
  border: 1px solid rgba(123, 30, 58, 0.08);
  background: rgba(255, 251, 248, 0.95);
  color: var(--berry-deep);
  border-radius: 16px;
  padding: 0.72rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.quick-prompt i {
  display: block;
  margin-bottom: 0.3rem;
}

.chat-input {
  display: flex;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.7);
}

#user-input {
  flex: 1;
  border: 1px solid rgba(123, 30, 58, 0.12);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
}

#user-input:focus {
  outline: 2px solid rgba(217, 140, 165, 0.24);
  border-color: rgba(123, 30, 58, 0.26);
}

#send-button {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 800;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--berry), #98385e);
  cursor: pointer;
}

.chatbot-booking {
  padding: 0 1rem 1rem;
}

.book-meeting-btn {
  width: 100%;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--sage), #87a391);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .summary-grid,
  .impact-grid,
  .expertise-grid,
  .credentials-grid,
  .contact-grid,
  .timeline-item,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .timeline {
    margin-left: 0;
  }

  .timeline::before,
  .timeline-item::before {
    display: none;
  }

  .site-footer,
  .banner-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 840px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    padding-top: 18px;
  }

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

  .nav-links {
    position: absolute;
    top: 76px;
    right: 0;
    min-width: 244px;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 26px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-copy,
  .hero-panel {
    padding: 26px;
    border-radius: 30px;
  }

  .hero-metrics,
  .chatbot-quick-prompts {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 2.95rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions,
  .mini-badges,
  .pill-group,
  .badge-stack {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .portrait-frame {
    width: min(100%, 220px);
    min-height: 240px;
  }

  #chatbot-popup {
    right: 12px;
    bottom: 12px;
  }

  #chatbot-window {
    right: -4px;
    bottom: 82px;
    height: 72vh;
  }
}
