:root {
  --ink: #1a1a18;
  --ink-soft: #2d2e2a;
  --paper: #f7f5ef;
  --paper-deep: #ece9df;
  --white: #ffffff;
  --blue: #006c99;
  --blue-deep: #005a7d;
  --yellow: #dbc30e;
  --yellow-soft: #f2dc37;
  --muted: #686b67;
  --line: rgba(26, 26, 24, .16);
  --header-height: 104px;
  --content: min(1240px, calc(100% - 3rem));
  --display: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 18px 60px rgba(18, 22, 20, .14);
  --radius: 2px;

  /* Shared chatbot theme used by La Bohème and Sorogka */
  --chatbot-accent: var(--blue);
  --chatbot-brand: var(--yellow);
  --chatbot-bg: var(--white);
  --chatbot-surface: #eef8fc;
  --chatbot-text: var(--ink);
  --chatbot-muted: var(--muted);
  --chatbot-border: var(--line);
  --chatbot-shadow: var(--shadow);
  --chatbot-launcher-bg: var(--blue);
  --chatbot-launcher-fg: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.container { width: var(--content); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.skip-link { position: fixed; z-index: 2000; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--yellow); color: var(--ink); transform: translateY(-180%); font-weight: 800; text-decoration: none; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 1000; inset: 0 0 auto; height: var(--header-height); color: var(--white); transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { position: fixed; background: rgba(26, 26, 24, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .16); backdrop-filter: blur(12px); }
.nav-shell { display: flex; align-items: center; min-height: var(--header-height); gap: 2rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; width: 144px; height: 84px; text-decoration: none; }
.brand img { width: 138px; height: auto; border-radius: 12px; }
.main-nav { margin-left: auto; }
.main-nav ul, .language-menu, .site-footer ul { display: flex; padding: 0; margin: 0; list-style: none; }
.main-nav ul { gap: clamp(1.2rem, 2.8vw, 3.2rem); align-items: center; }
.main-nav a { position: relative; display: inline-block; padding: .55rem 0; color: var(--white); font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.main-nav a::after { position: absolute; right: 0; bottom: .22rem; left: 0; height: 2px; background: var(--yellow); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current='page']::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: .75rem; }
.language-switcher { position: relative; }
.language-toggle { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .55rem .65rem; border: 1px solid rgba(255, 255, 255, .62); border-radius: 0; background: transparent; color: var(--white); cursor: pointer; font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.language-toggle span { color: var(--yellow-soft); font-size: 1rem; line-height: 1; }
.language-menu { position: absolute; z-index: 1100; top: calc(100% + .55rem); right: 0; min-width: 132px; flex-direction: column; padding: .45rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.language-menu[hidden] { display: none; }
.language-menu a { display: block; padding: .6rem .7rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current='true'] { background: var(--yellow); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: .7rem; border: 1px solid rgba(255,255,255,.55); background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; display: flex; align-items: flex-end; min-height: min(780px, 88vh); padding: calc(var(--header-height) + 4rem) 0 5.4rem; overflow: hidden; background-color: var(--ink); background-position: center; background-size: cover; background-repeat: no-repeat; color: var(--white); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .76) 0%, rgba(0, 0, 0, .38) 48%, rgba(0, 0, 0, .2) 100%), linear-gradient(0deg, rgba(0, 0, 0, .62), transparent 50%); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.eyebrow, .section-kicker { margin: 0 0 1.1rem; color: var(--yellow-soft); font-size: .76rem; font-weight: 850; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.hero h1 { max-width: 780px; margin: 0; font-family: var(--display); font-size: clamp(2.6rem, 5.3vw, 5.3rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hero-lead { max-width: 620px; margin: 1.5rem 0 0; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 0; font-size: .78rem; font-weight: 850; letter-spacing: .08em; line-height: 1.3; text-align: center; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--blue); color: var(--white); }
.button--primary:hover { background: var(--blue-deep); }
.button--ghost { border-color: rgba(255,255,255,.8); background: transparent; color: var(--white); }
.button--ghost:hover { background: var(--white); color: var(--ink); }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--yellow); }
.button--dark { background: var(--ink); color: var(--white); }
.button--dark:hover { background: var(--blue-deep); }
.text-link { display: inline-flex; gap: .3rem; align-items: center; color: var(--blue-deep); font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link:hover { color: var(--ink); }

.section { padding: clamp(4.6rem, 9vw, 8.5rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--yellow { background: var(--yellow); color: var(--ink); }
.section--yellow .section-kicker { color: var(--ink); }
.section h2 { max-width: 680px; margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.section h3 { margin: 0; font-family: var(--display); font-size: clamp(1.65rem, 2.5vw, 2.4rem); font-weight: 400; line-height: 1.05; }
.lead-copy { max-width: 590px; margin: 0; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.55; }
.muted-copy { max-width: 590px; margin: 1.4rem 0 0; color: var(--muted); font-size: .92rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.split--intro { align-items: start; }
.split--intro .lead-copy { padding-top: .25rem; }
.split--intro .text-link { margin-top: 1.5rem; }
.split--feature { gap: clamp(2.5rem, 8vw, 9rem); }
.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child { order: 1; }
.feature-copy { max-width: 550px; }
.feature-copy h2 { margin-bottom: 1.5rem; }
.feature-copy p:not(.section-kicker) { max-width: 520px; margin: 0 0 1.8rem; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.section--paper .feature-copy p:not(.section-kicker) { color: var(--ink-soft); }
.feature-image { position: relative; min-height: 460px; overflow: hidden; }
.feature-image::before { position: absolute; z-index: 1; inset: 1rem; border: 1px solid rgba(255,255,255,.56); content: ''; pointer-events: none; }
.feature-image picture { display: block; width: 100%; height: 100%; }
.feature-image img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.feature-image--tall, .feature-image--tall img { min-height: 560px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: var(--content); margin: 6rem auto 0; border-top: 1px solid var(--line); }
.stat { padding: 1.5rem 1rem 0 0; border-right: 1px solid var(--line); }
.stat:not(:first-child) { padding-left: 1.5rem; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.06em; line-height: .95; }
.stat span { display: block; margin-top: .55rem; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.location-band h2 { max-width: 540px; }
.location-band .lead-copy { max-width: 520px; }
.location-band .button { margin-top: 1.6rem; }

.accommodation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 5.5rem; }
.stay-card { background: var(--white); box-shadow: 0 12px 35px rgba(26,26,24,.08); }
.room-slider { position: relative; overflow: hidden; }
.stay-card__image { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; }
.stay-card__image picture { display: block; }
.stay-card__image img { width: 100%; aspect-ratio: 1.14 / 1; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.stay-card__image:hover img { opacity: .86; transform: scale(1.035); }
.room-nav { position: absolute; z-index: 4; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgba(26,26,24,.18); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); cursor: pointer; font-size: 2rem; line-height: 1; transform: translateY(-50%); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.room-nav:hover { background: var(--yellow); color: var(--ink); transform: translateY(-50%) scale(1.04); }
.room-nav--prev { left: .7rem; }
.room-nav--next { right: .7rem; }
.room-nav span { display: block; margin-top: -.12em; }
.stay-card__body { padding: 1.7rem 1.6rem 2rem; }
.stay-card__body .section-kicker { color: var(--blue-deep); font-size: .68rem; letter-spacing: .12em; }
.stay-card__body p:not(.section-kicker) { min-height: 84px; margin: 1rem 0 1.45rem; color: var(--muted); }

.gallery-intro { margin-top: 1.35rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2.5rem 0 1.8rem; }
.filter-button { min-height: 44px; padding: .6rem .95rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.gallery-card { position: relative; display: block; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--ink); cursor: pointer; text-align: left; }
.gallery-card picture { display: block; }
.gallery-card img { width: 100%; aspect-ratio: 1 / 1.07; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.gallery-card:hover img, .gallery-card:focus-visible img { opacity: .76; transform: scale(1.045); }
.gallery-card__caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 2.7rem .85rem .8rem; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: var(--white); font-size: .76rem; line-height: 1.35; opacity: 0; transition: opacity .2s ease; }
.gallery-card:hover .gallery-card__caption, .gallery-card:focus-visible .gallery-card__caption { opacity: 1; }
.gallery-card__zoom { position: absolute; top: .65rem; right: .65rem; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(0,0,0,.4); color: var(--white); font-size: 1.25rem; line-height: 1; }
.gallery-card[hidden] { display: none; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; }
.contact-panel { min-height: 100%; padding: clamp(2rem, 4vw, 4rem); background: var(--white); box-shadow: 0 12px 35px rgba(26,26,24,.07); }
.contact-panel--map { background: var(--ink); color: var(--white); }
.contact-panel--map .section-kicker { color: var(--yellow-soft); }
.contact-panel h2 { margin-bottom: 1.4rem; }
.contact-panel--map .lead-copy { color: rgba(255,255,255,.82); }
.contact-panel address { margin: 1.8rem 0; color: var(--yellow-soft); font-size: 1.15rem; font-style: normal; font-weight: 750; line-height: 1.4; }
.map-placeholder { display: flex; align-items: center; gap: 1rem; min-height: 175px; margin-top: 2.2rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,.3); background: radial-gradient(circle at 20% 30%, rgba(0,158,227,.45), transparent 20%), linear-gradient(135deg, #23333a, #17201f); color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.map-pin { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 1.8rem; }
.details-list { margin: 0; }
.details-list > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.details-list > div:first-child { padding-top: 0; }
.details-list dt { color: var(--blue-deep); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.details-list dd { margin: 0; font-weight: 650; }
.contact-form-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 8rem); }
.contact-form-wrap > div:first-child p:not(.section-kicker) { max-width: 480px; margin: 1.6rem 0 0; color: rgba(255,255,255,.8); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.15rem; align-content: start; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: rgba(255,255,255,.85); font-size: .75rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: .8rem .9rem; border: 1px solid rgba(255,255,255,.35); border-radius: 0; background: rgba(255,255,255,.08); color: var(--white); }
.field textarea { min-height: 145px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.58); }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: #ffb4a9; }
.field-error { color: #ffcabf; font-size: .78rem; }
.contact-form .button { justify-self: start; margin-top: .3rem; }
.form-status { grid-column: 1 / -1; min-height: 1.8rem; margin: 0; color: var(--yellow-soft); font-size: .86rem; }
.field--checkbox { grid-column: 1 / -1; display: block; }
.field--checkbox .checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: .65rem;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}
.field--checkbox .checkbox-label input {
  width: 1.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  margin: .15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--yellow);
}
.field--checkbox .field-error { margin: .35rem 0 0 1.75rem; }

.site-footer { padding: 3.5rem 0 2rem; background: #111210; color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 2rem; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; }
.footer-brand img { display: block; width: min(190px, 100%); height: auto; border-radius: 12px; }
.site-footer p { margin: .6rem 0 0; color: rgba(255,255,255,.56); font-size: .82rem; }
.site-footer nav ul { flex-direction: column; gap: .45rem; }
.site-footer nav a { color: rgba(255,255,255,.8); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--yellow); }
.footer-meta { text-align: right; }

.icon-button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.icon-button:hover { background: var(--yellow); color: var(--ink); }
.lightbox { position: fixed; z-index: 1600; inset: 0; display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); }
.lightbox__dialog { position: relative; z-index: 1; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 1rem; align-items: center; width: min(1150px, 100%); }
.lightbox figure { margin: 0; }
.lightbox figure img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox figcaption { margin-top: .75rem; color: var(--white); text-align: center; }
.lightbox__close { position: absolute; z-index: 2; top: -3.5rem; right: 0; }
.lightbox__prev, .lightbox__next { position: relative; z-index: 2; }

@media (max-width: 980px) {
  :root { --content: min(100% - 2rem, 760px); }
  .nav-shell { gap: 1rem; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; top: var(--header-height); right: 1rem; left: 1rem; display: none; padding: .8rem; background: rgba(26,26,24,.98); box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { display: block; padding: .9rem .8rem; }
  .main-nav a::after { bottom: .55rem; left: .8rem; right: auto; width: 50px; }
  .header-tools { margin-left: 0; }
  .split, .contact-form-wrap { grid-template-columns: 1fr; gap: 2.6rem; }
  .split--reverse > :first-child, .split--reverse > :last-child { order: initial; }
  .feature-image, .feature-image img { min-height: 430px; }
  .accommodation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 620px) {
  :root { --content: calc(100% - 1.5rem); --header-height: 88px; }
  .site-header { height: var(--header-height); }
  .nav-shell { min-height: var(--header-height); }
  .brand { width: 116px; height: 72px; }
  .brand img { width: 112px; }
  .menu-toggle { width: 44px; height: 44px; }
  .main-nav { top: var(--header-height); right: .75rem; left: .75rem; }
  .language-toggle { min-height: 42px; padding-inline: .5rem; }
  .hero { min-height: 690px; padding: calc(var(--header-height) + 3rem) 0 4.8rem; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 4rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 300px; }
  .section { padding: 4.5rem 0; }
  .section h2 { font-size: clamp(2.35rem, 13vw, 4rem); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4rem; }
  .stat { padding: 1rem .65rem 1.35rem 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: .65rem; border-right: 0; }
  .stat strong { font-size: 3.5rem; }
  .accommodation-grid { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .stay-card__body p:not(.section-kicker) { min-height: 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .gallery-card__caption { padding: 2.2rem .55rem .5rem; font-size: .68rem; opacity: 1; }
  .gallery-card__zoom { width: 28px; height: 28px; font-size: 1rem; }
  .contact-panel { padding: 1.55rem; }
  .details-list > div { grid-template-columns: 1fr; gap: .25rem; }
  .contact-form { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .form-status { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 1rem; }
  .lightbox__dialog { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: .35rem; }
  .lightbox__close { top: -3.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================
   Shared chatbot UI
========================================= */

.pn-chatbot-toggle {
  position: fixed;
  right: 18px;
  bottom: calc(var(--chatbot-safe-bottom, 18px));
  z-index: 9999;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: var(--chatbot-launcher-bg);
  color: var(--chatbot-launcher-fg);
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
  cursor: pointer;
  transition: filter .12s ease, transform .12s ease;
}
.pn-chatbot-toggle:hover { filter: brightness(.98); }
.pn-chatbot-toggle:active { transform: translateY(1px); }
.pn-chatbot-toggle:focus {
  outline: 3px solid rgba(0,108,153,.3);
  outline-offset: 2px;
}
.pn-chatbot-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pn-chatbot-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--chatbot-launcher-fg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pn-chatbot-window {
  position: fixed;
  right: 18px;
  bottom: calc(var(--chatbot-safe-bottom, 18px) + 60px);
  z-index: 9999;
  display: none;
  width: 340px;
  max-width: calc(100vw - 2rem);
  height: min(440px, calc(100dvh - var(--header-height, 0px) - var(--chatbot-safe-bottom, 18px) - 78px));
  max-height: calc(100dvh - var(--header-height, 0px) - var(--chatbot-safe-bottom, 18px) - 78px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(26,26,24,.12);
  border-radius: 1rem;
  background: var(--chatbot-bg);
  color: var(--chatbot-text);
  box-shadow: var(--chatbot-shadow);
}
@media (max-width: 480px) {
  .pn-chatbot-window {
    right: .5rem;
    bottom: calc(var(--chatbot-safe-bottom, .5rem) + 60px);
    left: .5rem;
    width: auto;
    height: auto;
    max-height: 80vh;
  }
}

.pn-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .9rem;
  border-bottom: 1px solid rgba(26,26,24,.1);
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
}
.pn-chatbot-title {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .9rem;
}
.pn-chatbot-title strong {
  color: var(--yellow);
  font-size: .95rem;
}
.pn-chatbot-title small {
  color: var(--white);
  font-size: .75rem;
  opacity: 1;
}
.pn-chatbot-close {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
  font-size: 1.1rem;
}
.pn-chatbot-close:hover,
.pn-chatbot-close:focus-visible {
  background: rgba(219,195,14,.18);
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.pn-chatbot-messages {
  order: 1;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: .75rem .9rem;
  background: var(--chatbot-surface);
}
.pn-chatbot-messages::-webkit-scrollbar { width: 6px; }
.pn-chatbot-messages::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0,0,0,.15);
}
.pn-chatbot-message {
  max-width: 90%;
  margin-block: .35rem;
  font-size: .82rem;
  line-height: 1.4;
}
.pn-chatbot-message.bot { text-align: left; }
.pn-chatbot-message.user {
  margin-inline-start: auto;
  text-align: right;
}
.pn-chatbot-bubble {
  display: inline-block;
  padding: .45rem .65rem;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: .85rem;
}
.pn-chatbot-message.bot .pn-chatbot-bubble {
  background: var(--white);
  color: var(--chatbot-text);
}
.pn-chatbot-message.user .pn-chatbot-bubble {
  border-color: rgba(0,0,0,.04);
  background: var(--chatbot-accent);
  color: var(--white);
}
.pn-chatbot-message.is-typing .pn-chatbot-bubble { padding: .42rem .58rem; }
.pn-typing-dots {
  display: inline-flex;
  min-width: 1.55rem;
  align-items: center;
  gap: .22rem;
}
.pn-typing-dots span {
  width: .28rem;
  height: .28rem;
  border-radius: 999px;
  background: var(--chatbot-muted);
  opacity: .35;
  animation: pnTypingDot 1.05s infinite ease-in-out;
}
.pn-typing-dots span:nth-child(2) { animation-delay: .15s; }
.pn-typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes pnTypingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-.22rem); opacity: 1; }
}

.pn-chatbot-input-area {
  display: flex;
  order: 3;
  flex: 0 0 auto;
  align-items: center;
  gap: .4rem;
  padding: .45rem .6rem .55rem;
  border-top: 1px solid rgba(0,0,0,.08);
  background: var(--blue);
}
.pn-chatbot-input {
  min-width: 0;
  flex: 1;
  padding: .45rem .85rem;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  font-size: .82rem;
}
.pn-chatbot-input:focus {
  border-color: rgba(0,108,153,.6);
  outline: 3px solid rgba(0,108,153,.18);
  outline-offset: 2px;
}
.pn-chatbot-send {
  padding: .4rem .8rem;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  font-size: .82rem;
}
.pn-chatbot-send:hover { filter: brightness(1.02); }
.pn-chatbot-send:disabled { cursor: wait; opacity: .65; }
.pn-chatbot-quick-questions[hidden] { display: none; }
.pn-chatbot-quick-questions {
  order: 2;
  flex: 0 0 auto;
  max-height: 100px;
  overflow-y: auto;
  padding: .45rem .6rem .65rem;
  border-top: 1px solid rgba(0,0,0,.08);
  background: var(--white);
}
.pn-chatbot-window.is-open { display: flex; }
@media (max-width: 350px) {
  .pn-chatbot-input-area { gap: .3rem; padding: .5rem; }
  .pn-chatbot-input { padding: .42rem .7rem; font-size: .78rem; }
  .pn-chatbot-send { padding: .42rem .7rem; font-size: .76rem; }
}
@media (max-width: 295px) {
  .pn-chatbot-input-area { flex-wrap: wrap; }
  .pn-chatbot-input { width: 100%; }
  .pn-chatbot-send { width: 60%; max-width: 90px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pn-typing-dots span {
    animation: none;
    opacity: .65;
  }
}
