/* Redwood Cafe by Chef Julien — v2 build
   Black & white, photo-forward, gallery aesthetic.
   Manrope throughout. No serifs. Warm white on near-black.
*/

:root {
  --bg: #0A0A0A;
  --bg-soft: #141414;
  --text: #F5F0E6;
  --text-muted: rgba(245, 240, 230, 0.62);
  --text-soft: rgba(245, 240, 230, 0.85);
  --line: rgba(245, 240, 230, 0.16);
  --line-strong: rgba(245, 240, 230, 0.45);
  --grad: linear-gradient(90deg, #E91E63 0%, #A855F7 50%, #6366F1 100%);
  --grad-hover: linear-gradient(90deg, #F0357A 0%, #B968FF 50%, #7B7FFF 100%);
  --max: 1280px;
  --pad-x: 2.5rem;
}

@media (max-width: 720px) {
  :root { --pad-x: 1.25rem; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 1.25rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .logo { font-size: 0.7rem; letter-spacing: 0.05em; }
}
.logo img { height: 52px; width: auto; display: block; }
@media (max-width: 480px) {
  .logo img { height: 42px; }
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  transition: filter .2s, transform .2s;
}
.nav-cta:hover { background: var(--grad-hover); filter: brightness(1.05); }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    width: 28px; padding: 0;
  }
  .nav-toggle span {
    height: 1px; background: var(--text); width: 100%;
  }
  .mobile-menu {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text);
    letter-spacing: -0.01em;
  }
}

/* ============ HERO (split panes) ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem var(--pad-x) 5rem;
  min-width: 0;
}
.hero-eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 200;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 1.4rem;
  max-width: 14ch;
  text-transform: uppercase;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 300;
  color: var(--text-soft);
  max-width: 38ch;
}
/* Google rating badge. Numbers live in assets/script.js (GOOGLE_RATING). */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 400;
}
.rating-num { color: var(--text); font-weight: 500; }
.rating-stars {
  --star-gold: #F2B84B;
  position: relative;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
  color: rgba(245, 240, 230, 0.22);
}
.rating-stars::before { content: "\2605\2605\2605\2605\2605"; }
.rating-stars::after {
  content: "\2605\2605\2605\2605\2605";
  position: absolute; top: 0; left: 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: var(--star-gold);
}
.rating-count {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
.rating-badge:hover .rating-count { color: var(--text); border-color: var(--text); }
.rating-badge--feedback { margin-top: 0; justify-self: start; }
.hero-photo {
  flex: 0 0 54%;
  align-self: center;
  aspect-ratio: 1183 / 894;
  position: relative;
  background-image: url('chef_updated.jpg');
  background-color: #0a0a0a;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: grayscale(0.04);
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(10,10,10,0.45) 0%,
    rgba(10,10,10,0.12) 5%,
    transparent 11%);
}
@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    min-height: auto;
  }
  .hero-text {
    padding: 7rem var(--pad-x) 2.5rem;
    order: 1;
  }
  .hero-photo {
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 70vh;
    background-size: cover;
    background-position: center;
  }
  .hero-photo::before {
    background: linear-gradient(180deg,
      rgba(10,10,10,0.45) 0%,
      transparent 10%,
      transparent 90%,
      rgba(10,10,10,0.45) 100%);
  }
}

/* ============ SECTION HEADER ============ */
.section-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem var(--pad-x) 3.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 3rem;
}
.section-header::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--line-strong);
  margin-bottom: 0.5em;
}
.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  text-align: left;
  line-height: 1;
}
@media (max-width: 720px) {
  .section-header { padding-top: 4.5rem; padding-bottom: 2.5rem; gap: 1.5rem; }
}
.section-header--logo { align-items: center; }
.section-header--logo::after { margin-bottom: 0; }
.section-logo { height: clamp(9rem, 16vw, 13rem); width: auto; display: block; }

/* ============ ABOUT ============ */
.about {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 3rem;
}
.about p {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-soft);
  letter-spacing: -0.005em;
}
.about p + p { margin-top: 1.4rem; }
.about .about-lead {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 200;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-wrap: balance;
}

/* ============ SERVICES ============ */
.services-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) 4rem;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 1.5rem;
  align-items: center;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: padding-left .25s ease;
}
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-row:hover { padding-left: 0.5rem; }
.service-num {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.service-name {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.05;
}
.service-desc {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.45rem;
  letter-spacing: 0;
}
.circle-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  transition: background .2s, color .2s;
  justify-self: end;
}
.service-row:hover .circle-arrow { background: var(--text); color: var(--bg); }
@media (max-width: 720px) {
  .service-row { grid-template-columns: 44px 1fr 36px; gap: 0.8rem; padding: 1.6rem 0; }
  .circle-arrow { width: 34px; height: 34px; font-size: 0.85rem; }
  .service-desc { font-size: 0.78rem; }
}

/* ============ MOSAIC ============ */
.mosaic-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) 3rem;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 14vw;
  gap: 8px;
  margin-bottom: 2.5rem;
}
.photo {
  background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 50%, #1a1a1a 100%);
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.photo[style*="background-image"] {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}
.photo::before {
  content: attr(data-label);
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.22);
}
.photo[style*="background-image"]::before { display: none; }

/* mosaic patterns — every tile is 2 rows for near-square aspect */
/* Cafe: 3 photos. Sandwich + grain stacked left (7c wide), pancake hero right (5c x 4r, near photo aspect) */
.mosaic--cafe .photo:nth-child(1) { grid-column: 1 / span 7; grid-row: span 2; }
.mosaic--cafe .photo:nth-child(2) { grid-column: 1 / span 7; grid-row: span 2; }
.mosaic--cafe .photo:nth-child(3) { grid-column: 8 / span 5; grid-row: 1 / span 4; }

.mosaic--catering .photo:nth-child(1) { grid-column: 1 / span 4; grid-row: span 4; }
.mosaic--catering .photo:nth-child(2) { grid-column: 5 / span 4; grid-row: span 4; }
.mosaic--catering .photo:nth-child(3) { grid-column: 9 / span 4; grid-row: span 4; }

.mosaic--chef .photo:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.mosaic--chef .photo:nth-child(2) { grid-column: span 4; grid-row: span 3; }
.mosaic--chef .photo:nth-child(3) { grid-column: span 4; grid-row: span 3; }

/* Events: one photo, full width */
.mosaic--events { grid-auto-rows: auto; }
.mosaic--events .photo:nth-child(1) { grid-column: span 12; aspect-ratio: 3 / 1; }

@media (max-width: 720px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 6px;
  }
  .mosaic .photo {
    grid-column: span 1 !important;
    grid-row: auto !important;
    aspect-ratio: 4 / 5;
  }
  .mosaic .photo:nth-child(1) {
    grid-column: span 2 !important;
    aspect-ratio: 16 / 10;
  }
  .mosaic--chef .photo:nth-child(1) {
    grid-column: span 2 !important;
    aspect-ratio: 16 / 10;
  }
  .mosaic--events .photo:nth-child(1) {
    aspect-ratio: 2 / 1;
  }
}

/* Mosaic block: tagline + cta */
.mosaic-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-top: 1rem;
}
.mosaic-block p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 52ch;
}
.mosaic-block small {
  display: block;
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.btn-circle {
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.94rem 1.55rem;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  transition: filter .2s, transform .2s;
}
.btn-circle:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn-circle.is-primary {
  border: none;
  padding: 1rem 1.6rem;
  background: var(--grad);
  color: #fff;
  font-weight: 500;
  transition: filter .2s, transform .2s, background .2s;
}
.btn-circle.is-primary:hover {
  background: var(--grad-hover);
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .mosaic-block { grid-template-columns: 1fr; }
  .btn-circle { justify-self: start; }
}

/* ============ LOGO BAR (catering clients) ============ */
.client-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--pad-x) 4rem;
}
.client-bar-label {
  text-align: center;
  margin-bottom: 1.6rem;
}
.client-list {
  max-width: 78ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 300;
  color: var(--text-soft);
  line-height: 2;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.25rem 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.client-logo { height: var(--h, 40px); width: auto; max-width: 100%; opacity: 0.85; }
@media (max-width: 720px) {
  .client-bar { padding-bottom: 3rem; }
  .client-list { line-height: 1.85; font-size: 1rem; }
  .client-logos { gap: 1.5rem 2rem; }
  .client-logo { height: calc(var(--h, 40px) * 0.75); }
}

/* ============ FEEDBACK ============ */
.feedback {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) 6rem;
  display: grid;
  gap: 3rem;
}
.feedback-quote {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.feedback-quote blockquote {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 60ch;
  letter-spacing: -0.005em;
}
.feedback-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.feedback-quote cite a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.feedback-quote cite a:hover {
  color: var(--text);
  border-bottom-color: var(--line-strong);
}
.feedback-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
  transition: color .2s, border-color .2s;
}
.feedback-more:hover {
  color: var(--text);
  border-bottom-color: var(--line-strong);
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 4rem var(--pad-x) 2.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand h4 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
}
.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

/* ============ MENU PAGE ============ */
.menu-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem var(--pad-x) 4rem;
}
.menu-page-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-strong);
}
.menu-page-head .head-meta { color: var(--text-muted); }
.menu-page-head .head-meta p {
  max-width: 46ch;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.55;
}
.menu-page-head h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  text-align: right;
  line-height: 1;
}
.menu-cat {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}
.menu-cat h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 300;
  letter-spacing: -0.012em;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
}
.menu-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1.2rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.menu-item:nth-child(1), .menu-item:nth-child(2) { border-top: none; }
.menu-item-photo {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 50%, #1a1a1a 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
}
.menu-item-photo::after {
  content: attr(data-label);
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.22);
}
.menu-item-photo[style*="background-image"]::after { display: none; }
.menu-item-photo[style*="background-image"] { border: none; }
.menu-item h4 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.menu-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 300;
  line-height: 1.5;
}
.menu-item .price {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
}
.menu-foot {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 720px) {
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .menu-item { grid-template-columns: 72px 1fr auto; gap: 0.8rem; }
  .menu-item-photo { width: 72px; height: 72px; }
  .menu-item:nth-child(2) { border-top: 1px solid var(--line); }
}

/* ============ CHATBOT ============ */
.chatbot-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
  transition: transform .2s, box-shadow .2s;
}
.chatbot-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.6);
}
.chatbot-launcher.hidden { display: none; }
@media (max-width: 480px) {
  .chatbot-launcher {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
}

.chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 48px);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
.chatbot.open { display: flex; }
.chatbot-head {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-head h4 {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.chatbot-head .eyebrow { margin-top: 3px; font-size: 0.6rem; }
.chatbot-close {
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0;
  line-height: 1;
  font-family: inherit;
}
.chatbot-close:hover { color: var(--text); }
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.chatbot-msg {
  max-width: 85%;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
}
.chatbot-msg--bot {
  align-self: flex-start;
  background: rgba(245,240,230,0.05);
  border: 1px solid var(--line);
  padding: 0.7rem 0.95rem;
  border-radius: 14px 14px 14px 4px;
  color: var(--text-soft);
}
.chatbot-msg--user {
  align-self: flex-end;
  background: var(--text);
  color: var(--bg);
  padding: 0.6rem 0.95rem;
  border-radius: 14px 14px 4px 14px;
  font-weight: 400;
}
.chatbot-options {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  align-self: stretch;
  margin-top: 0.2rem;
}
.chatbot-option {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 400;
  transition: background .2s, color .2s;
}
.chatbot-option:hover { background: var(--text); color: var(--bg); }
.chatbot-form {
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.chatbot-form input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  padding: 0.55rem 0.95rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 300;
}
.chatbot-form input::placeholder { color: var(--text-muted); }
.chatbot-form input:focus { outline: none; border-color: var(--line-strong); }
.chatbot-form button {
  background: var(--text);
  color: var(--bg);
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .chatbot { width: calc(100vw - 24px); right: 12px; bottom: 12px; height: calc(100vh - 24px); }
  .chatbot-launcher { right: 16px; bottom: 16px; }
}
