.guapa-wf-chat {
  position: fixed;
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  z-index: 12040;
  font-family: Alexandria, ui-sans-serif, system-ui, sans-serif;
}

[dir="rtl"] .guapa-wf-chat {
  left: auto;
  right: 1.25rem;
}

/* Keep clear of Jawaba widget on the opposite side when both are open */
body:has(.ai-bot-widget) .guapa-wf-chat {
  bottom: 5.5rem;
}

.guapa-wf-chat__launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #633479, #4a2659);
  color: #fff;
  box-shadow: 0 12px 32px rgba(74, 38, 89, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.guapa-wf-chat__launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(74, 38, 89, 0.34);
}

.guapa-wf-chat__launcher-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
}

.guapa-wf-chat__launcher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guapa-wf-chat__launcher-label {
  font-size: 0.92rem;
  font-weight: 700;
  padding-inline-end: 0.2rem;
}

.guapa-wf-chat__panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.75rem);
  width: min(380px, calc(100vw - 2rem));
  height: min(640px, calc(100vh - 6.5rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #f4f2f7;
  border: 1px solid #e9e7ef;
  box-shadow: 0 24px 60px rgba(74, 38, 89, 0.22);
}

.guapa-wf-chat__panel-actions {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guapa-wf-chat__open-page,
.guapa-wf-chat__close {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(245, 240, 248, 0.95);
  color: #4a2659;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(74, 38, 89, 0.08);
}

.guapa-wf-chat__open-page:hover,
.guapa-wf-chat__close:hover {
  background: #ebe1f0;
}

.guapa-wf-chat__open-page svg,
.guapa-wf-chat__close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

[dir="rtl"] .guapa-wf-chat__panel {
  left: auto;
  right: 0;
}

.guapa-wf-chat__panel[hidden] {
  display: none !important;
}

.guapa-wf-chat.is-open:not(.guapa-wf-chat--home-section) .guapa-wf-chat__launcher {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.guapa-wf-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(180deg, #faf7fd 0%, #fff 100%);
  border-bottom: 1px solid #e9e7ef;
}

.guapa-wf-chat__header-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.guapa-wf-chat__header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #f5f0f8;
}

.guapa-wf-chat__header-title,
.guapa-wf-chat__header-subtitle {
  display: block;
}

.guapa-wf-chat__header-title {
  font-size: 0.95rem;
  color: #1c1530;
}

.guapa-wf-chat__header-subtitle {
  font-size: 0.75rem;
  color: #6b7280;
}

.guapa-wf-chat__header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.guapa-wf-chat__open-page,
.guapa-wf-chat__close {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f5f0f8;
  color: #4a2659;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.guapa-wf-chat__close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.guapa-wf-chat__body {
  flex: 1;
  min-height: 0;
  background: #f4f2f7;
}

.guapa-wf-chat__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f2f7;
}

.guapa-chatbot-page {
  padding: 2rem 1rem 3rem;
  background:
    radial-gradient(900px 320px at 100% 0%, rgba(255, 192, 90, 0.14), transparent 55%),
    radial-gradient(800px 360px at 0% 0%, rgba(99, 52, 121, 0.12), transparent 50%),
    #f4f2f7;
}

.guapa-chatbot-page__inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.guapa-chatbot-page__intro {
  margin-bottom: 1.25rem;
}

.guapa-chatbot-page__eyebrow {
  margin: 0 0 0.35rem;
  color: #633479;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guapa-chatbot-page__intro h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #1c1530;
}

.guapa-chatbot-page__intro p {
  margin: 0;
  color: #6b7280;
}

.guapa-chatbot-page__frame-wrap {
  height: min(720px, calc(100vh - 220px));
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e9e7ef;
  background: #fff;
  box-shadow: 0 18px 50px rgba(74, 38, 89, 0.12);
}

.guapa-chatbot-page__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 640px) {
  .guapa-wf-chat:not(.guapa-wf-chat--home-section) {
    left: 0.85rem;
    bottom: 0.85rem;
  }

  [dir="rtl"] .guapa-wf-chat:not(.guapa-wf-chat--home-section) {
    right: 0.85rem;
  }

  .guapa-wf-chat:not(.guapa-wf-chat--home-section) .guapa-wf-chat__panel {
    position: fixed;
    inset: 0.75rem;
    width: auto;
    height: auto;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
  }

  .guapa-wf-chat__launcher-label {
    display: none;
  }
}

/* ── Home assistant: premium mockup layout ─ */
.guapa-agent-section {
  --ga-purple: #633479;
  --ga-purple-deep: #4a2659;
  --ga-purple-mid: #8b4a9e;
  --ga-purple-soft: #e86a8a;
  --ga-coral: #fe8a60;
  --ga-peach: #ffdda5;
  --ga-ink: #1c1530;
  --ga-muted: #7a7190;
  position: relative;
  padding: 3.25rem 0 3.75rem;
  /* Match Hero Section (.buy-now) full-bleed background */
  background: var(--light-color, #fff) linear-gradient(455deg, #ffdda5, #ffffff);
  overflow: hidden;
}

.guapa-agent-section.sub-header {
  padding-top: 3.25rem;
}

.guapa-agent-section__bg {
  display: none;
}

.guapa-agent-section__inner {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - clamp(1.25rem, 4vw, 2.5rem)));
  margin-inline: auto;
  box-sizing: border-box;
}

.guapa-agent-section__heading {
  text-align: center;
  margin-bottom: 2.35rem;
  background: transparent;
}

.guapa-agent-section__title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: clamp(2.05rem, 3.5vw, 2.95rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ga-ink);
}

.guapa-agent-section__sparkles {
  display: inline-flex;
  color: var(--ga-purple);
  line-height: 1;
}

.guapa-agent-section__sparkles--light {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
}

.guapa-agent-section__desc {
  margin: 0.85rem auto 0;
  max-width: 40rem;
  color: var(--ga-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.guapa-agent-section__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.6rem;
}

.guapa-agent-card {
  --card-accent: var(--ga-purple);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 196px;
  padding: 1.35rem 1.25rem 2.95rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 10px 28px rgba(112, 144, 176, 0.1),
    0 2px 8px rgba(99, 52, 121, 0.04);
  text-align: start;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.guapa-agent-card:hover,
.guapa-agent-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(99, 52, 121, 0.16);
  background: #fff;
  box-shadow:
    0 18px 40px rgba(112, 144, 176, 0.14),
    0 6px 16px rgba(99, 52, 121, 0.08);
  outline: none;
}

.guapa-agent-card:focus-visible {
  outline: 2px solid rgba(99, 52, 121, 0.45);
  outline-offset: 2px;
}

.guapa-agent-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}

.guapa-agent-card__icon svg {
  width: 22px;
  height: 22px;
}

.guapa-agent-card--product .guapa-agent-card__icon { background: #fde8f1; color: #b44d86; }
.guapa-agent-card--service .guapa-agent-card__icon { background: #efe8fb; color: #6d4c9b; }
.guapa-agent-card--consultation .guapa-agent-card__icon { background: #fce9ef; color: #c45d7a; }
.guapa-agent-card--assistant .guapa-agent-card__icon { background: #ebe4f8; color: #633479; }

.guapa-agent-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.guapa-agent-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #171717;
  line-height: 1.3;
}

.guapa-agent-card__desc {
  color: #6f6780;
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guapa-agent-card__arrow {
  position: absolute;
  inset-inline-start: 1.1rem;
  bottom: 1.05rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4eff8;
  color: var(--ga-purple);
  transition: background 0.2s ease, color 0.2s ease;
}

[dir="rtl"] .guapa-agent-card__arrow {
  transform: scaleX(-1);
}

.guapa-agent-card:hover .guapa-agent-card__arrow {
  background: var(--ga-purple);
  color: #fff;
}

.guapa-agent-card__arrow svg {
  width: 14px;
  height: 14px;
}

.guapa-wf-chat--home-section {
  position: relative;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100%;
  font-family: inherit;
  z-index: 1;
}

/* Never inherit floating-widget popup sizing in the home section */
.guapa-wf-chat--home-section .guapa-wf-chat__panel,
.guapa-wf-chat--home-section .guapa-agent-hero__chat {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: min(640px, 72vh);
  border: 0;
  box-shadow: none;
}

.guapa-wf-chat--home-section.is-open .guapa-agent-hero {
  background: #fff;
  box-shadow: 0 18px 48px rgba(74, 38, 89, 0.12);
}

.guapa-wf-chat--home-section.is-open .guapa-agent-hero__decor {
  display: none;
}

.guapa-agent-section__hero-wrap {
  width: 100%;
  margin-top: 0.35rem;
}

.guapa-agent-hero {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.24), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(255, 192, 90, 0.24), transparent 36%),
    linear-gradient(125deg, #fe8a60 0%, #e86a8a 38%, #8b4a9e 72%, #633479 100%);
  box-shadow:
    0 24px 56px rgba(99, 52, 121, 0.22),
    0 8px 20px rgba(254, 138, 96, 0.12);
}

.guapa-agent-hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.guapa-agent-hero__particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.guapa-agent-hero__particle--1 { top: 18%; inset-inline-end: 18%; }
.guapa-agent-hero__particle--2 { top: 68%; inset-inline-end: 10%; width: 4px; height: 4px; opacity: 0.55; }
.guapa-agent-hero__particle--3 { bottom: 22%; inset-inline-start: 42%; width: 3px; height: 3px; opacity: 0.45; }

.guapa-agent-hero__sparkle {
  position: absolute;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
}

.guapa-agent-hero__sparkle--1 { top: 14%; inset-inline-end: 36%; }
.guapa-agent-hero__sparkle--2 { bottom: 18%; inset-inline-end: 28%; font-size: 0.55rem; }

.guapa-agent-hero__idle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.4rem, 3.2vw, 3rem);
  padding: clamp(2.15rem, 3.6vw, 3.15rem) clamp(1.45rem, 3.2vw, 2.75rem);
  min-height: 460px;
}

/* Robot on the visual LEFT of the panel in both locales */
[dir="ltr"] .guapa-agent-hero__idle {
  flex-direction: row;
}

[dir="rtl"] .guapa-agent-hero__idle {
  flex-direction: row-reverse;
}

.guapa-agent-hero__idle[hidden] {
  display: none !important;
}

.guapa-agent-hero__panel {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 680px;
}

.guapa-agent-hero__visual {
  position: relative;
  flex: 0 0 auto;
  width: min(300px, 34vw);
  min-height: 340px;
  display: grid;
  place-items: end center;
  align-self: flex-end;
  padding-bottom: 0;
  margin-bottom: -1.25rem;
  top: auto;
}

.guapa-agent-hero__glow {
  position: absolute;
  width: min(240px, 82%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 221, 165, 0.16) 45%, transparent 72%);
  filter: blur(6px);
}

.guapa-agent-hero__ring {
  display: none;
}

.guapa-agent-hero__mascot {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 20px 34px rgba(74, 38, 89, 0.34));
}

.guapa-agent-hero__chat-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #f5f0f8;
}

.guapa-agent-hero__brand h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.guapa-agent-hero__brand p {
  margin: 0.55rem 0 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 34rem;
}

.guapa-agent-hero__composer {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.guapa-agent-hero__composer:focus-visible {
  outline: 2px solid rgba(255, 210, 140, 0.95);
  outline-offset: 3px;
  border-radius: 20px;
}

.guapa-agent-hero__input {
  width: 100%;
  height: 74px;
  border: 0;
  border-radius: 22px;
  padding-inline: 1.4rem 4.85rem;
  background: #fff;
  color: var(--ga-ink);
  font-size: 1.02rem;
  box-shadow:
    0 14px 30px rgba(40, 16, 64, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  pointer-events: none;
}

.guapa-agent-hero__input::placeholder {
  color: #9ca3af;
}

.guapa-agent-hero__send {
  position: absolute;
  inset-inline-end: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fe8a60 0%, #e86a8a 45%, #633479 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(99, 52, 121, 0.22);
  pointer-events: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guapa-agent-hero__send svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.guapa-agent-hero__composer:hover .guapa-agent-hero__send {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.guapa-agent-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.guapa-agent-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.guapa-agent-hero__chip:hover,
.guapa-agent-hero__chip:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
  outline: none;
}

.guapa-agent-hero__chip:focus-visible {
  outline: 2px solid rgba(255, 210, 140, 0.9);
  outline-offset: 2px;
}

.guapa-agent-hero__chip-icon {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.95;
}

.guapa-agent-hero__chip-icon svg {
  width: 14px;
  height: 14px;
}

.guapa-agent-hero__chat {
  position: relative !important;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: min(640px, 72vh);
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
}

.guapa-agent-hero__chat[hidden] {
  display: none !important;
}

.guapa-agent-section__sr-close {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guapa-agent-hero__frame-wrap {
  position: relative;
  flex: 1;
  min-height: min(640px, 72vh);
  width: 100%;
  background: #fff;
}

.guapa-agent-hero__frame,
.guapa-agent-hero .guapa-wf-chat__frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(640px, 72vh);
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.guapa-agent-hero .guapa-wf-chat__frame.is-ready {
  opacity: 1;
}

.guapa-agent-section__footer {
  display: flex;
  justify-content: center;
  margin-top: -1.45rem;
  position: relative;
  z-index: 2;
}

.guapa-agent-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 220px;
  width: min(100%, 245px);
  min-height: 58px;
  padding: 0.9rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #fe8a60 0%, #e86a8a 42%, #633479 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow:
    0 16px 36px rgba(99, 52, 121, 0.28),
    0 4px 12px rgba(254, 138, 96, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guapa-agent-section__cta:hover,
.guapa-agent-section__cta:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 20px 44px rgba(74, 38, 89, 0.34),
    0 6px 16px rgba(254, 138, 96, 0.22);
  outline: none;
}

.guapa-agent-section__cta:focus-visible {
  outline: 2px solid rgba(99, 52, 121, 0.45);
  outline-offset: 3px;
}

.guapa-agent-section__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.guapa-agent-section__cta.is-open-state {
  background: #fff;
  color: var(--ga-purple);
  border: 1px solid var(--ga-purple);
  box-shadow: 0 10px 24px rgba(74, 38, 89, 0.12);
}

.guapa-home-section__loading,
.guapa-home-section__error {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  color: #6b7280;
}

.guapa-home-section__loading[hidden],
.guapa-home-section__error[hidden] {
  display: none !important;
}

.guapa-home-section__spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(99, 52, 121, 0.15);
  border-top-color: #633479;
  animation: guapa-home-spin 0.8s linear infinite;
}

.guapa-home-section__loading p,
.guapa-home-section__error p {
  margin: 0;
  font-size: 0.92rem;
}

.guapa-home-section__error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #633479;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@keyframes guapa-home-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .guapa-agent-card,
  .guapa-agent-hero__chip,
  .guapa-agent-section__cta,
  .guapa-agent-hero__send,
  .guapa-agent-hero .guapa-wf-chat__frame {
    transition: none !important;
  }

  .guapa-agent-card:hover,
  .guapa-agent-hero__chip:hover,
  .guapa-agent-section__cta:hover {
    transform: none;
  }
}

/* ---- Large desktop: comfortable 4-up cards ---- */
@media (min-width: 1200px) {
  .guapa-agent-section__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---- Laptop / small desktop: keep side-by-side hero, tighten ---- */
@media (max-width: 1199px) and (min-width: 993px) {
  .guapa-agent-section__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .guapa-agent-card {
    min-height: 180px;
    padding: 1.15rem 1rem 2.7rem;
  }

  .guapa-agent-card__title {
    font-size: 0.98rem;
  }

  .guapa-agent-card__desc {
    font-size: 0.78rem;
  }

  .guapa-agent-hero__idle {
    min-height: 400px;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem 2rem;
  }

  .guapa-agent-hero__visual {
    width: min(260px, 30vw);
    min-height: 300px;
    margin-bottom: -1rem;
  }

  .guapa-agent-hero__mascot {
    max-height: 340px;
  }

  .guapa-agent-hero__panel {
    max-width: 560px;
  }

  .guapa-agent-hero__input {
    height: 66px;
  }

  .guapa-agent-hero__send {
    width: 46px;
    height: 46px;
  }
}

/* ---- Tablet & below: 2-up cards, stacked hero ---- */
@media (max-width: 992px) {
  .guapa-agent-section {
    padding: 2.1rem 0 2.5rem;
  }

  .guapa-agent-section__heading {
    margin-bottom: 1.5rem;
  }

  .guapa-agent-section__desc {
    font-size: 0.98rem;
    padding-inline: 0.25rem;
  }

  .guapa-agent-section__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .guapa-agent-hero {
    border-radius: 28px;
  }

  .guapa-agent-hero__idle {
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.35rem;
    padding: 1.35rem 1.25rem 1.6rem;
    min-height: 0;
  }

  .guapa-agent-hero__panel {
    max-width: none;
    width: 100%;
  }

  .guapa-agent-hero__visual {
    order: -1;
    width: min(220px, 58vw);
    min-height: 0;
    align-self: center;
    place-items: center;
    margin-bottom: -0.35rem;
  }

  .guapa-agent-hero__mascot {
    max-height: 260px;
    filter: drop-shadow(0 14px 24px rgba(74, 38, 89, 0.28));
  }

  .guapa-agent-hero__brand h2,
  .guapa-agent-hero__chips {
    justify-content: center;
  }

  .guapa-agent-hero__brand p {
    margin-inline: auto;
    margin-bottom: 1rem;
    font-size: 0.92rem;
  }

  .guapa-agent-hero__input {
    height: 58px;
    border-radius: 18px;
    font-size: 0.95rem;
    padding-inline: 1.15rem 4.4rem;
  }

  .guapa-agent-hero__send {
    width: 42px;
    height: 42px;
    inset-inline-end: 8px;
  }

  .guapa-agent-hero__chips {
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .guapa-agent-hero__chip {
    padding: 0.48rem 0.8rem;
    font-size: 0.76rem;
  }

  .guapa-agent-section__footer {
    margin-top: -1.05rem;
  }

  .guapa-wf-chat--home-section .guapa-wf-chat__panel,
  .guapa-wf-chat--home-section .guapa-agent-hero__chat,
  .guapa-agent-hero__chat,
  .guapa-agent-hero__frame-wrap,
  .guapa-agent-hero__frame,
  .guapa-agent-hero .guapa-wf-chat__frame {
    min-height: min(520px, 70vh);
  }
}

/* ---- Large phones / small tablets ---- */
@media (max-width: 768px) {
  .guapa-agent-section__title {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
  }

  .guapa-agent-card {
    min-height: 160px;
    padding: 1.05rem 0.95rem 2.55rem;
    border-radius: 20px;
  }

  .guapa-agent-hero {
    border-radius: 24px;
  }

  .guapa-agent-hero__visual {
    width: min(200px, 52vw);
  }

  .guapa-agent-hero__mascot {
    max-height: 230px;
  }

  .guapa-agent-hero__brand h2 {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    justify-content: center;
  }

  .guapa-agent-section__cta {
    min-width: 0;
    width: min(100%, 260px);
    min-height: 52px;
    font-size: 0.92rem;
  }
}

/* ---- Phones ---- */
@media (max-width: 576px) {
  .guapa-agent-section {
    padding: 1.75rem 0 2.15rem;
  }

  .guapa-agent-section__inner {
    width: min(1220px, calc(100% - 1rem));
  }

  .guapa-agent-section__heading {
    margin-bottom: 1.15rem;
  }

  .guapa-agent-section__desc {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-top: 0.55rem;
  }

  .guapa-agent-section__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .guapa-agent-card {
    min-height: 150px;
    padding: 0.9rem 0.75rem 2.4rem;
    border-radius: 18px;
  }

  .guapa-agent-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 0.65rem;
  }

  .guapa-agent-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .guapa-agent-card__title {
    font-size: 0.9rem;
  }

  .guapa-agent-card__desc {
    font-size: 0.72rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }

  .guapa-agent-card__arrow {
    width: 26px;
    height: 26px;
    inset-inline-start: 0.85rem;
    bottom: 0.85rem;
  }

  .guapa-agent-hero {
    border-radius: 22px;
  }

  .guapa-agent-hero__idle {
    padding: 1.1rem 0.95rem 1.35rem;
    gap: 0.15rem;
  }

  .guapa-agent-hero__visual {
    width: min(170px, 48vw);
    margin-bottom: 0;
  }

  .guapa-agent-hero__mascot {
    max-height: 200px;
  }

  .guapa-agent-hero__brand p {
    font-size: 0.86rem;
    margin: 0.4rem auto 0.85rem;
  }

  .guapa-agent-hero__input {
    height: 52px;
    border-radius: 16px;
    font-size: 0.88rem;
    padding-inline: 1rem 3.85rem;
  }

  .guapa-agent-hero__send {
    width: 38px;
    height: 38px;
  }

  .guapa-agent-hero__send svg {
    width: 16px;
    height: 16px;
  }

  .guapa-agent-hero__chips {
    gap: 0.4rem;
    margin-top: 0.75rem;
  }

  .guapa-agent-hero__chip {
    padding: 0.42rem 0.7rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }

  .guapa-agent-section__footer {
    margin-top: -0.95rem;
    padding-inline: 0.25rem;
  }

  .guapa-agent-section__cta {
    width: min(100%, 100%);
    max-width: 280px;
    min-height: 50px;
    padding: 0.8rem 1.15rem;
    font-size: 0.9rem;
  }

  .guapa-wf-chat--home-section .guapa-wf-chat__panel,
  .guapa-wf-chat--home-section .guapa-agent-hero__chat,
  .guapa-agent-hero__chat,
  .guapa-agent-hero__frame-wrap,
  .guapa-agent-hero__frame,
  .guapa-agent-hero .guapa-wf-chat__frame {
    min-height: min(460px, 68vh);
  }
}

/* ---- Very small phones ---- */
@media (max-width: 380px) {
  .guapa-agent-section__cards {
    gap: 0.55rem;
  }

  .guapa-agent-card {
    min-height: 142px;
    padding: 0.8rem 0.65rem 2.25rem;
  }

  .guapa-agent-card__title {
    font-size: 0.84rem;
  }

  .guapa-agent-card__desc {
    font-size: 0.68rem;
  }

  .guapa-agent-hero__visual {
    width: min(150px, 46vw);
  }

  .guapa-agent-hero__mascot {
    max-height: 175px;
  }

  .guapa-agent-hero__chip {
    padding: 0.38rem 0.6rem;
    font-size: 0.68rem;
  }
}
