@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  /* dark — used only by the hero */
  --ink: #0c0a08;
  --ink-2: #17130e;
  --ink-3: #211a12;
  --bone: #f2ecdf;
  --sand: #b9ad96;
  --sand-dim: #7d7462;
  --line: rgba(242, 236, 223, 0.08);

  /* light — everything else */
  --paper: #fafafa;
  --paper-2: #fafafa;
  --card: #ffffff;
  --text: #241c12;
  --text-body: #5b4e3e;
  --text-dim: #8c7f6b;
  --line-light: rgba(36, 28, 18, 0.1);

  /* shared accent */
  --amber: rgb(19, 70, 175);
  --amber-ink: #0d317b;
  --amber-hover: #3468d9;
  --gold: #e3a23b;
  --title-blue: #2c3c5e;
  --ember: #b33b24;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

.section {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 56px);
}
.page-header + .section { padding-top: clamp(32px, 4vw, 56px); }

.section-inner { max-width: 1180px; margin: 0 auto; }

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 18px;
}

.h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title-blue);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.lede {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-body);
  max-width: 56ch;
  margin: 0 0 8px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.btn-cta:hover { background: var(--amber-hover); transform: translateY(-2px); }
.btn-cta svg { width: 15px; height: 15px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-light);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber-ink); }

/* nav — dark/transparent over the hero, flips light once scrolled past it */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-nav__brand { display: flex; flex-direction: column; gap: 2px; align-self: flex-start; }
.site-nav__mark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-decoration: none;
  white-space: nowrap;
  margin-top: 15px;
  transition: color 0.25s ease;
}
.site-nav__mark span { color: var(--gold); }
.site-nav__tagline {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--sand);
  white-space: nowrap;
}
.site-nav.is-scrolled .site-nav__tagline { color: var(--text-dim); }

.site-nav__links {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__links a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--sand);
  font-weight: 500;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.site-nav__links a:hover,
.site-nav__links a:focus-visible { color: var(--bone); }
.site-nav__links .cta-link { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--bone); transition: background 0.25s ease; }

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom-color: var(--line-light);
  box-shadow: 0 1px 32px rgba(36, 28, 18, 0.05);
}
.site-nav.is-scrolled .site-nav__mark { color: var(--text); }
.site-nav.is-scrolled .site-nav__mark span { color: var(--amber); }
.site-nav.is-scrolled .site-nav__links a { color: var(--text-body); }
.site-nav.is-scrolled .site-nav__links a:hover,
.site-nav.is-scrolled .site-nav__links a:focus-visible { color: var(--text); }
.site-nav.is-scrolled .site-nav__links .cta-link { color: var(--amber-ink); }
.site-nav.is-scrolled .nav-toggle span { background: var(--text); }

/* about */
.about { background: var(--paper-2); }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media img {
  border-radius: 6px;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.about-bio { color: var(--text-body); font-size: 16px; margin-bottom: 28px; }
.about-bio strong { color: var(--text); font-weight: 600; }

/* testimonials */
.testimonials { background: var(--paper); }
.testimonial-nav { position: relative; }
.testimonial-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--text-dim) transparent;
}
.testimonial-row::-webkit-scrollbar { height: 6px; }
.testimonial-row::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 4px; }

.t-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(36, 28, 18, 0.1);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.t-arrow:hover { border-color: var(--amber); color: var(--amber-ink); }
.t-arrow:active { transform: translateY(-50%) scale(0.94); }
.t-arrow svg { width: 18px; height: 18px; }
.t-arrow--prev { left: -18px; }
.t-arrow--next { right: -18px; }
.t-arrow:disabled { opacity: 0.35; cursor: default; }
.t-arrow:disabled:hover { border-color: var(--line-light); color: var(--text); }

@media (max-width: 640px) {
  .t-arrow { display: none; }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.t-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(260px, 32vw, 360px);
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.t-card .stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.t-card p {
  font-size: 15px;
  color: var(--text-body);
  margin: 0 0 18px;
  flex: 1;
}
.t-card .who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
}
.t-card .who b { color: var(--text); font-size: 14px; font-weight: 600; }
.t-card .who span { color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

/* music */
.music { background: var(--paper); }
.music-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.music-card {
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  overflow: hidden;
}
.music-embed { position: relative; aspect-ratio: 16/9; }
.music-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .music-grid { grid-template-columns: 1fr; }
}

/* vouchers */
.vouchers { background: var(--paper-2); }
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 36px 0 28px;
}
.v-card {
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 32px;
}
.v-card .amount {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--amber-ink);
  display: block;
  margin-bottom: 6px;
}
.v-card p { color: var(--text-body); margin: 0; }
.v-card--media { padding: 0; overflow: hidden; }
.v-card--media img { width: 100%; height: auto; display: block; }
.v-card--media .v-card__body { padding: 24px 32px 32px; }
.voucher-guarantee {
  color: var(--text-dim);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}

/* articles */
.articles { background: var(--paper); }
.faq-list { margin-top: 36px; border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber-ink); }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--amber-ink);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 14px; color: var(--text-body); margin: 0 0 16px; padding-right: 40px; }
.faq-item .readmore {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-ink);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 22px;
}

/* contact */
.contact { background: var(--paper-2); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 40px);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}
.field input, .field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  padding: 13px 15px;
  border-radius: 6px;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(52, 87, 168, 0.15);
}
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

/* footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line-light); padding: 36px clamp(20px, 5vw, 56px); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-inner p { font-size: 13px; color: var(--text-dim); margin: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: 13px; color: var(--text-body); text-decoration: none; }
.footer-nav a:hover { color: var(--amber-ink); }
.footer-credit a { text-decoration: none; }

@media (max-width: 860px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
}

@media (max-width: 640px) {
  .site-nav__links { display: none; }
  .nav-toggle { display: flex; }
  .site-nav__links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px clamp(20px, 5vw, 56px) 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-light);
  }
  .site-nav__links.open a { color: var(--text-body); }
  .site-nav__links.open a:hover { color: var(--text); }
  .site-nav__links.open .cta-link { color: var(--amber-ink); }
}

/* hero — the one dark section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  margin-top: -100px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 45%;
  transform: scale(1.08);
  animation: kenburns 40s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(12,10,8,0.96) 0%, rgba(12,10,8,0.72) 30%, rgba(12,10,8,0.22) 58%, rgba(12,10,8,0.15) 100%),
    linear-gradient(0deg, rgba(12,10,8,0.95) 0%, rgba(12,10,8,0.15) 40%, rgba(12,10,8,0.05) 60%, rgba(12,10,8,0.35) 100%);
}
.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(20px, 5vw, 56px) clamp(90px, 15vh, 150px);
}
.hero__content { max-width: 760px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--bone); opacity: 0; margin-top: -20px; animation: rise 0.8s 0.5s ease forwards; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade6f;
  box-shadow: 0 0 6px 2px rgba(74, 222, 111, 0.45), 0 0 14px 5px rgba(74, 222, 111, 0.22);
  animation: status-pulse 2.4s infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(74, 222, 111, 0.45), 0 0 14px 5px rgba(74, 222, 111, 0.22); }
  50% { box-shadow: 0 0 9px 3px rgba(74, 222, 111, 0.55), 0 0 22px 9px rgba(74, 222, 111, 0.32); }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}
.hero__headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title-blue);
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.hero__headline .line { display: block; overflow: hidden; }
.hero__headline .line > span { display: block; transform: translateY(100%); animation: rise-line 0.9s ease forwards; }
.hero__headline .line:nth-child(1) > span { animation-delay: 0.55s; color: var(--bone); }
.hero__headline .line:nth-child(2) > span { animation-delay: 0.68s; color: var(--gold); }
.hero__headline .line:nth-child(3) > span { animation-delay: 0.81s; color: var(--bone); }
.hero__word--gold { color: var(--gold); }
.hero__sub {
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.55;
  color: var(--sand);
  max-width: 46ch;
  margin: 0 0 34px;
  opacity: 0;
  animation: rise 0.8s 1.05s ease forwards;
}
.hero__sub strong { color: var(--bone); font-weight: 600; }
.hero__author { color: var(--gold); font-weight: 700; text-decoration: none; }
.hero__author:hover { text-decoration: underline; }
.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.8s 1.2s ease forwards;
}
.hero__caption {
  position: absolute; z-index: 2;
  right: clamp(20px, 5vw, 56px); top: calc(50% + 101px);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  color: var(--sand-dim); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; white-space: nowrap;
  opacity: 0; animation: fade 1s 1.4s ease forwards;
}
@media (max-width: 640px) {
  .hero__caption { display: none; }
}
.hero__scrollcue {
  position: absolute; z-index: 2;
  left: clamp(20px, 5vw, 56px); bottom: 26px;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  animation: fade 1s 1.5s ease forwards, chevron-bounce 1.8s 2.5s ease-in-out infinite;
}
.hero__scrollcue svg { width: 26px; height: 26px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise-line { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes chevron-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
  .hero__eyebrow, .hero__sub, .hero__actions, .hero__scrollcue,
  .hero__headline .line > span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .hero__body { padding-bottom: 64px; }
}

/* page header (non-hero pages, e.g. /contacto) — light, matches the rest of the theme */
.page-header {
  background: var(--paper-2);
  padding: clamp(64px, 12vh, 120px) clamp(20px, 5vw, 56px) clamp(24px, 3vh, 32px);
  text-align: left;
}
.page-header__inner { max-width: 1180px; margin: 0 auto; }

/* chat assistant */
.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: var(--card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(52, 87, 168, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}
.chat-launcher:hover { background: var(--amber-hover); transform: translateY(-2px); }
.chat-launcher svg { width: 24px; height: 24px; }
.chat-launcher .chat-launcher__close { display: none; }
.chat-launcher.is-open .chat-launcher__chat { display: none; }
.chat-launcher.is-open .chat-launcher__close { display: block; }

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 80;
  width: min(360px, calc(100vw - 48px));
  height: min(520px, calc(100vh - 140px));
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(36, 28, 18, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.is-open { display: flex; }

.chat-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-light);
}
.chat-panel__header strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--text);
  text-transform: uppercase;
}
.chat-panel__header span {
  font-size: 12px;
  color: var(--text-dim);
}
.chat-panel__close {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.chat-panel__close:hover { background: var(--line-light); color: var(--text); }
.chat-panel__close svg { width: 16px; height: 16px; }

.chat-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.chat-msg--bot {
  align-self: flex-start;
  background: var(--paper-2);
  color: var(--text-body);
  border-bottom-left-radius: 3px;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--amber);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.chat-msg--error {
  align-self: flex-start;
  background: rgba(179, 59, 36, 0.12);
  color: var(--ember);
  border-bottom-left-radius: 3px;
}

.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: chat-bounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-panel__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line-light);
  background: var(--card);
}
.chat-panel__form textarea {
  flex: 1;
  resize: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--text);
  max-height: 80px;
}
.chat-panel__form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(52, 87, 168, 0.15);
}
.chat-panel__form button {
  border: none;
  background: var(--amber);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.2s ease;
}
.chat-panel__form button:hover { background: var(--amber-hover); }
.chat-panel__form button:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-panel__form svg { width: 16px; height: 16px; }

@media (max-width: 480px) {
  .chat-panel { right: 12px; bottom: 84px; }
  .chat-launcher { right: 12px; bottom: 12px; }
}

/* article pages */
.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
}
.article-cover--contain { max-height: none; object-fit: contain; }
.article-body { margin: 0; }
.article-body p {
  font-size: 16px;
  color: var(--text-body);
  margin: 0 0 18px;
}
.article-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 14px;
  line-height: 1.3;
}
.article-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 26px 0 8px;
}
.article-body strong { color: var(--text); }
.article-body ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--text-body);
}
.article-body li { margin-bottom: 8px; }
.article-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line-light);
  text-align: center;
}
.article-cta p { margin-bottom: 20px; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-ink);
  text-decoration: none;
}
.article-back:hover { color: var(--text); }

.piano-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 24px 0 32px;
}
.p-card {
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  overflow: hidden;
}
.p-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.p-card__body { padding: 16px; }
.p-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}
.p-card p { font-size: 13px; color: var(--text-body); margin: 0; }
