/* ================================================================
   RYAN WILLIAMS MEDIA — Global Stylesheet
   ================================================================ */

/* ----------------------------------------------------------------
   FONTS
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'Designer';
  src: url('assets/fonts/DESIGNER.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MyriadVariable';
  src: url('assets/fonts/MyriadVariableConcept-Roman.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------
   VARIABLES
   ---------------------------------------------------------------- */
:root {
  --blue:       #0b0072;
  --navy:       #040351;
  --silver:     #999999;
  --off-white:  #f8f8fc;
  --white:      #ffffff;
  --dark:       #1a1a2e;
  --muted:      #555568;
  --border:     #e0dff0;

  --font-display: 'Designer', sans-serif;
  --font-sans:    'MyriadVariable', 'Arial Narrow', Arial, sans-serif;

  --max-w:   1160px;
  --nav-h:   72px;
}

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */
h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}
h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
p { font-size: 1.05rem; line-height: 1.75; }

/* ----------------------------------------------------------------
   SHARED COMPONENTS
   ---------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

/* ----------------------------------------------------------------
   NAV
   ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
}
.nav-cta:hover { background: #1200a8 !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  width: 36px;
  height: 36px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
  padding: clamp(5rem, 12vw, 9rem) 2rem clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid rgba(153,153,153,0.5);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  margin-bottom: 2rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.78;
  max-width: 640px;
  margin-bottom: 2.75rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ----------------------------------------------------------------
   FRUSTRATION
   ---------------------------------------------------------------- */
.frustration {
  background: var(--white);
  border-top: 3px solid var(--navy);
  padding: 5rem 2rem;
}
.frustration-inner {
  max-width: 760px;
  margin: 0 auto;
}
.frustration blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  color: var(--dark);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
  border-left: 3px solid var(--blue);
}
.frustration p {
  color: var(--muted);
  font-size: 1.05rem;
  padding-left: 1.75rem;
}

/* ----------------------------------------------------------------
   PROBLEM PILLS
   ---------------------------------------------------------------- */
.problems {
  background: var(--off-white);
  padding: 4.5rem 2rem;
  border-top: 1px solid var(--border);
}
.problems-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.problems-label {
  margin-bottom: 1.75rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1;
}
.pill-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #d93025;
  color: var(--white);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

/* ----------------------------------------------------------------
   STORY
   ---------------------------------------------------------------- */
.story {
  background: var(--white);
  padding: 6rem 2rem;
}
.story-inner {
  max-width: 720px;
  margin: 0 auto;
}
.story h2 {
  color: var(--navy);
  margin-bottom: 2.5rem;
}
.story-body {
  border-left: 3px solid var(--silver);
  padding-left: 2rem;
}
.story-body p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.story-body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   SERVICES
   ---------------------------------------------------------------- */
.services {
  background: var(--off-white);
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.services-header {
  margin-bottom: 3rem;
}
.services-header h2 { color: var(--navy); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-top: 3px solid var(--navy);
  border-radius: 0 0 6px 6px;
  padding: 2.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(4,3,81,0.1);
  transform: translateY(-2px);
}
.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-tag {
  font-size: 0.78rem;
  color: var(--silver);
  letter-spacing: 0.04em;
}
.service-tag strong {
  color: var(--blue);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   PROOF / STATS
   ---------------------------------------------------------------- */
.proof {
  background: var(--navy);
  padding: 6rem 2rem;
}
.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}
.stat-tile {
  border-top: 2px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
}
.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.stat-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.55;
}
.proof-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 3.5rem;
}
.proof-quote blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.proof-quote cite {
  font-size: 0.82rem;
  color: var(--silver);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   CTA SECTION
   ---------------------------------------------------------------- */
.cta-section {
  background: var(--off-white);
  padding: 6rem 2rem;
}
.cta-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-top: 4px solid var(--navy);
  border-radius: 0 0 8px 8px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: 0 4px 40px rgba(4,3,81,0.07);
}
.cta-card h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}
.cta-card > p {
  color: var(--muted);
  margin-bottom: 2.25rem;
  font-size: 1.05rem;
}
.cta-fine {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--silver);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--navy);
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-left {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ----------------------------------------------------------------
   PAGE HEADER (inner pages)
   ---------------------------------------------------------------- */
.page-header {
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-header h1 { color: var(--white); }
.page-header p  {
  color: rgba(255,255,255,0.68);
  margin-top: 1rem;
  font-size: 1.1rem;
  max-width: 600px;
}

/* ----------------------------------------------------------------
   WORK PAGE — CASE STUDIES
   ---------------------------------------------------------------- */
.case-studies-section {
  background: var(--off-white);
  padding: 5rem 2rem;
}
.case-studies-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.case-study {
  background: var(--white);
  border-top: 3px solid var(--navy);
  border-radius: 0 0 8px 8px;
  padding: 2.5rem;
}
.case-meta {
  margin-bottom: 1rem;
}
.case-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
}
.case-headline {
  color: var(--navy);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.case-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.case-block h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.6rem;
}
.case-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.case-result {
  background: var(--off-white);
  border-left: 3px solid var(--blue);
  padding: 1.1rem 1.4rem;
  border-radius: 0 4px 4px 0;
}
.case-result p {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
}

/* ----------------------------------------------------------------
   ABOUT PAGE
   ---------------------------------------------------------------- */
.about-section {
  background: var(--white);
  padding: 5rem 2rem;
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
}
.about-inner h2 {
  color: var(--navy);
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.about-inner h2:first-child { margin-top: 0; }
.about-inner p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.about-inner p:last-child { margin-bottom: 0; }
.about-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}

/* ----------------------------------------------------------------
   CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-section {
  background: var(--off-white);
  padding: 5rem 2rem;
  min-height: 60vh;
}
.contact-inner {
  max-width: 580px;
  margin: 0 auto;
}
.contact-intro {
  margin-bottom: 2.5rem;
}
.contact-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}
.contact-form-card {
  background: var(--white);
  border-top: 4px solid var(--navy);
  border-radius: 0 0 8px 8px;
  padding: 2.75rem;
  box-shadow: 0 4px 32px rgba(4,3,81,0.06);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,0,114,0.1);
}
.form-group textarea {
  height: 172px;
  resize: vertical;
  line-height: 1.65;
}
.form-submit {
  width: 100%;
  font-size: 1rem;
  padding: 1rem;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: sticky;
    top: 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-links .nav-cta {
    width: auto;
    align-self: flex-start;
  }

  .services-grid  { grid-template-columns: 1fr; }
  .work-grid      { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons .btn { width: 100%; text-align: center; }

  .cta-card { padding: 2.5rem 1.75rem; }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .contact-form-card { padding: 2rem 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 375px) {
  .pills { gap: 0.5rem; }
  .pill  { font-size: 0.82rem; }
}

/* ================================================================
   CONTACT PAGE — AI INTAKE CHAT
   ================================================================ */

body.page-contact {
  background: var(--navy);
}

.contact-main {
  min-height: calc(100vh - var(--nav-h) - 60px);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.chat-wrap {
  width: 100%;
  max-width: 640px;
}

.chat-window {
  background: #07065c;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 72vh;
  min-height: 480px;
  max-height: 700px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

/* Header */
.chat-header {
  background: #030240;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.chat-header-icon {
  border-radius: 50%;
  flex-shrink: 0;
}
.chat-header-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.chat-header-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

/* Bubbles */
.bubble {
  max-width: 82%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.bubble-assistant {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.88);
  align-self: flex-start;
  border-radius: 4px 12px 12px 12px;
}
.bubble-user {
  background: var(--white);
  color: var(--dark);
  align-self: flex-end;
  border-radius: 12px 4px 12px 12px;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.85rem 1rem;
  min-height: 44px;
}
.typing-indicator span {
  display: block;
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: typingBounce 1.3s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.18s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typingBounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%            { opacity: 1;   transform: translateY(-5px); }
}

/* Input row */
.chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.chat-textarea {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  resize: none;
  outline: none;
  line-height: 1.55;
  min-height: 42px;
  max-height: 120px;
  overflow-y: auto;
  transition: border-color 0.2s;
}
.chat-textarea::placeholder { color: rgba(255,255,255,0.3); }
.chat-textarea:focus { border-color: rgba(153,153,153,0.5); }

.chat-send-btn {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.2s, opacity 0.2s;
}
.chat-send-btn:hover:not(:disabled) { background: #1200a8; }
.chat-send-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Fine print */
.chat-fine-print {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  padding: 0.4rem 1.25rem 0.875rem;
  flex-shrink: 0;
}

/* Summary card */
.summary-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 1.25rem;
  align-self: stretch;
  margin-top: 0.25rem;
}
.summary-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}
.summary-card p:last-child { margin-bottom: 0; }
.summary-card strong { color: rgba(255,255,255,0.88); font-weight: 600; }
.summary-title  {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  margin-bottom: 0.75rem !important;
}
.summary-followup {
  font-style: italic;
  margin-top: 0.75rem !important;
}

/* Contact page footer stays navy */
body.page-contact .footer {
  border-top-color: rgba(255,255,255,0.05);
}

@media (max-width: 480px) {
  .chat-window {
    height: 78vh;
    border-radius: 8px;
  }
}
