/*
Theme Name: Go PetiA
Theme URI: https://gopetia.com
Author: Petify LATAM / Oscar Sánchez Olvera
Author URI: https://gopetia.com
Description: Tema oficial de Go PetiA, inteligencia artificial para mascotas, Pet Lovers, marcas y negocios pet.
Version: 7.15.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: petia
*/

:root {
  --gp-purple: #5e0079;
  --gp-purple-2: #7b16a0;
  --gp-deep: #1f0038;
  --gp-ink: #20152d;
  --gp-muted: #71667d;
  --gp-yellow: #ffd60a;
  --gp-pink: #ff007f;
  --gp-soft: #f7f2fa;
  --gp-line: #e9deed;
  --gp-white: #fff;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --container: 1220px;
  --wide: 1460px;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 24px 70px rgba(31, 0, 56, .13);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; color: var(--gp-ink); background: #fff; font-family: var(--font-body); font-size: 17px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gp-purple); text-underline-offset: 3px; }
button, input { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--gp-deep); font-family: var(--font-display); line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 5.6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 4.1rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.55rem); }
p { margin: 0 0 1.15em; }
:focus-visible { outline: 3px solid var(--gp-yellow); outline-offset: 3px; }

.container, .gp-wide { width: min(100% - clamp(2rem, 6vw, 7rem), var(--container)); margin-inline: auto; }
.gp-wide { width: min(100% - clamp(2rem, 5vw, 5rem), var(--wide)); }
.container--narrow { max-width: 780px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 9999; top: -100px; left: 1rem; padding: .65rem 1rem; border-radius: 10px; color: #fff; background: var(--gp-deep); }
.skip-link:focus { top: 1rem; }
.gp-fullbleed { position: relative; width: 100%; overflow: hidden; isolation: isolate; }
.gp-banner-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gp-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem; color: var(--gp-purple); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.gp-kicker::before { width: 26px; height: 4px; border-radius: 99px; background: var(--gp-yellow); content: ''; }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(94, 0, 121, .09); background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px); }
.site-header__inner { display: flex; min-height: 74px; align-items: center; gap: 1.6rem; }
.site-logo { color: var(--gp-deep); font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.site-logo em { color: var(--gp-purple); font-style: normal; }
.site-logo img { width: auto; max-height: 46px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--gp-ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--gp-purple); }
.nav-toggle { display: none; margin-left: auto; padding: .5rem; border: 0; color: var(--gp-deep); background: transparent; cursor: pointer; }
.locale-selector { position: relative; }
.locale-toggle { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem; border: 1px solid var(--gp-line); border-radius: 999px; color: var(--gp-ink); background: #fff; font-size: .76rem; font-weight: 800; cursor: pointer; }
.locale-menu { position: absolute; z-index: 110; top: calc(100% + .65rem); right: 0; min-width: 225px; padding: 1rem; border: 1px solid var(--gp-line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.locale-menu__heading { margin: 0 0 .45rem; color: var(--gp-muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.locale-menu__heading:not(:first-child) { margin-top: .9rem; }
.locale-menu__list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.locale-menu__list a, .locale-menu__soon { display: flex; justify-content: space-between; padding: .45rem .55rem; border-radius: 8px; color: var(--gp-ink); font-size: .85rem; text-decoration: none; }
.locale-menu__list a:hover { color: var(--gp-purple); background: var(--gp-soft); }
.locale-menu select { width: 100%; padding: .55rem; border: 1px solid var(--gp-line); border-radius: 9px; background: #fff; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border: 2px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 800; line-height: 1; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: var(--gp-purple); box-shadow: 0 12px 28px rgba(94, 0, 121, .22); }
.btn--primary:hover { color: #fff; background: var(--gp-deep); }
.btn--gold { color: var(--gp-deep); background: var(--gp-yellow); }
.btn--gold:hover { color: var(--gp-deep); box-shadow: 0 12px 30px rgba(255, 214, 10, .28); }
.btn--light { border-color: rgba(31, 0, 56, .18); color: var(--gp-deep); background: rgba(255, 255, 255, .86); }
.btn--light:hover { color: var(--gp-purple); background: #fff; }
.header-cta { min-height: 42px; padding-inline: 1.2rem; }

/* PetiA: agente conversacional a ancho completo */
.gp-agent { position: relative; min-height: calc(100svh - 74px); overflow: hidden; padding-bottom: clamp(2.5rem, 5vw, 5rem); border-bottom: 1px solid var(--gp-line); background: #fbf8fd; isolation: isolate; }
.gp-agent::before, .gp-agent::after { position: absolute; z-index: -1; border: 1px solid rgba(94,0,121,.1); border-radius: 50%; content: ''; pointer-events: none; }
.gp-agent::before { top: 150px; left: -180px; width: 430px; height: 430px; background: #f3eafa; }
.gp-agent::after { right: -150px; bottom: -230px; width: 520px; height: 520px; background: #fff9d9; }
.gp-agent__toolbar { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 1rem; }
.gp-agent__identity { display: inline-flex; align-items: center; text-decoration: none; }
.gp-agent__identity img { width: 156px; height: auto; }
.gp-agent__tools { display: flex; align-items: center; gap: .65rem; }
.gp-agent__status, .gp-agent__personalize, .gp-agent__business { display: inline-flex; min-height: 40px; align-items: center; gap: .45rem; padding: .55rem .8rem; border: 1px solid var(--gp-line); border-radius: 999px; color: var(--gp-ink); background: rgba(255,255,255,.88); font-size: .76rem; font-weight: 800; text-decoration: none; }
.gp-agent__status i { width: 8px; height: 8px; border-radius: 50%; background: #27c86f; box-shadow: 0 0 0 4px rgba(39,200,111,.12); }
.gp-agent__personalize { color: var(--gp-purple); cursor: pointer; }
.gp-agent__business { border-color: var(--gp-deep); color: #fff; background: var(--gp-deep); }
.gp-agent__business:hover { color: var(--gp-yellow); }
.gp-agent__workspace { position: relative; display: block; overflow: hidden; padding: .65rem; border: 1px solid #d9c8e1; border-radius: 36px; background: #fff; box-shadow: 0 30px 80px rgba(31,0,56,.14); }
.gp-chat-layout { position: relative; display: grid; min-height: 650px; height: min(790px, calc(100svh - 122px)); grid-template-columns: 232px minmax(0, 1fr) 268px; overflow: hidden; border: 1px solid #e5dbe9; border-radius: 29px; background: #fff; }
.gp-chat-main { display: flex; min-width: 0; min-height: 0; overflow: hidden; flex-direction: column; padding: .7rem; background: #fff; }
.gp-chat-sidebar, .gp-chat-context { min-width: 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cab8d3 transparent; }
.gp-chat-sidebar { display: flex; flex-direction: column; padding: .8rem; border-right: 1px solid #e6dbe9; background: #f8f5fa; }
.gp-chat-sidebar__brand { display: flex; align-items: center; gap: .65rem; min-height: 58px; padding: .35rem .25rem .75rem; }
.gp-chat-sidebar__brand img { width: 44px; height: 44px; border: 2px solid var(--gp-yellow); border-radius: 15px; background: var(--gp-deep); object-fit: cover; }
.gp-chat-sidebar__brand div { display: grid; min-width: 0; }
.gp-chat-sidebar__brand strong { color: var(--gp-deep); font-family: var(--font-display); font-size: .93rem; }
.gp-chat-sidebar__brand small { overflow: hidden; color: var(--gp-muted); font-size: .61rem; text-overflow: ellipsis; white-space: nowrap; }
.gp-chat-sidebar__brand > button, .gp-chat-context__head > button { display: none; width: 34px; height: 34px; margin-left: auto; place-items: center; border: 0; border-radius: 11px; color: var(--gp-deep); background: #eee7f2; cursor: pointer; font-size: 1.15rem; }
.gp-chat-sidebar__new { display: flex; min-height: 48px; align-items: center; gap: .55rem; padding: .7rem .8rem; border: 0; border-radius: 15px; color: #fff; background: var(--gp-purple); box-shadow: 0 10px 24px rgba(94,0,121,.18); cursor: pointer; font-size: .75rem; font-weight: 850; text-align: left; }
.gp-chat-sidebar__new span { color: var(--gp-yellow); font-size: 1.2rem; line-height: 1; }
.gp-chat-sidebar__group { display: grid; gap: .35rem; margin-top: 1.2rem; }
.gp-chat-sidebar__label { padding: 0 .35rem; color: #8b7b94; font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gp-chat-session { display: grid; min-width: 0; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: .45rem; padding: .65rem .55rem; border: 1px solid transparent; border-radius: 13px; color: var(--gp-deep); background: transparent; cursor: pointer; text-align: left; }
.gp-chat-session.is-active { border-color: #decee5; background: #fff; box-shadow: 0 7px 18px rgba(31,0,56,.06); }
.gp-chat-session > span:last-child { display: grid; min-width: 0; }
.gp-chat-session strong, .gp-chat-session small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-chat-session strong { font-size: .7rem; }
.gp-chat-session small { color: var(--gp-muted); font-size: .58rem; }
.gp-chat-sidebar__topics button, .gp-chat-sidebar__footer button { width: 100%; min-height: 38px; padding: .55rem .6rem; border: 0; border-radius: 11px; color: #4d3b58; background: transparent; cursor: pointer; font-size: .7rem; font-weight: 750; text-align: left; }
.gp-chat-sidebar__topics button:hover, .gp-chat-sidebar__footer button:hover { color: var(--gp-purple); background: #eee5f3; }
.gp-chat-sidebar__footer { display: grid; gap: .35rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid #e6dbe9; }
.gp-chat-sidebar__footer small { padding: 0 .6rem; color: #8a7d91; font-size: .56rem; line-height: 1.35; }
.gp-chat-context { padding: .9rem; border-left: 1px solid #e6dbe9; background: #fbfafc; transition: opacity .2s var(--ease); }
.gp-chat-context__head { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .2rem .15rem .85rem; border-bottom: 1px solid #e9e0ec; }
.gp-chat-context__head div { display: grid; }
.gp-chat-context__head small { color: var(--gp-muted); font-size: .58rem; }
.gp-chat-context__head strong { color: var(--gp-deep); font-family: var(--font-display); font-size: .84rem; }
.gp-chat-context__status { display: flex; align-items: center; gap: .65rem; margin-top: .85rem; padding: .7rem; border: 1px solid #e0d2e6; border-radius: 16px; background: #fff; }
.gp-chat-context__orb { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 2px solid var(--gp-yellow); border-radius: 14px; background: var(--gp-deep); }
.gp-chat-context__orb img { width: 100%; height: 100%; object-fit: cover; }
.gp-chat-context__status div { display: grid; min-width: 0; }
.gp-chat-context__status strong { overflow: hidden; color: var(--gp-purple); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.gp-chat-context__status small { color: var(--gp-muted); font-size: .58rem; line-height: 1.35; }
.gp-chat-context__results, .gp-chat-context__help, .gp-chat-context__actions { margin-top: 1rem; }
.gp-chat-context__results[hidden] { display: none; }
.gp-chat-context__section-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; color: var(--gp-deep); font-size: .67rem; }
.gp-chat-context__section-title span { color: var(--gp-muted); font-size: .56rem; }
.gp-chat-result-card { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: .65rem; margin-top: .5rem; padding: .65rem; border: 1px solid #e5d9e9; border-radius: 15px; color: var(--gp-deep); background: #fff; box-shadow: 0 6px 18px rgba(31,0,56,.04); text-decoration: none; }
.gp-chat-result-card:hover { border-color: #b88acc; color: var(--gp-purple); transform: translateY(-1px); }
.gp-chat-result-card img, .gp-chat-result-card > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: #f1e8f5; object-fit: cover; }
.gp-chat-result-card div { display: grid; min-width: 0; gap: .12rem; }
.gp-chat-result-card strong, .gp-chat-result-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-chat-result-card.is-product small { display: -webkit-box; white-space: normal; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.gp-inline-results { display: grid; width: min(820px,calc(100% - 48px)); gap: 9px; margin: -8px auto 22px; }
.gp-inline-results__heading { color: #6b347e; font-size: .65rem; font-weight: 900; letter-spacing: .025em; }
.gp-inline-results__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.gp-inline-product { position: relative; display: grid; min-width: 0; min-height: 138px; grid-template-columns: 104px minmax(0,1fr); gap: 13px; padding: 12px; overflow: hidden; border: 1px solid #e7dbea; border-radius: 19px; color: #2d1936; background: linear-gradient(145deg,#fff 62%,#faf3ff); box-shadow: 0 10px 25px rgba(54,23,68,.09); text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.gp-inline-product:hover { border-color: #caa7d7; box-shadow: 0 13px 28px rgba(54,23,68,.13); transform: translateY(-2px); }
.gp-inline-product > img,.gp-inline-product__placeholder { width: 104px; height: 112px; padding: 6px; object-fit: contain; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 1px #eee4f1; }
.gp-inline-product__placeholder { display: grid; place-items: center; font-size: 1.6rem; }
.gp-inline-product__body { display: grid; min-width: 0; align-content: start; gap: 4px; }
.gp-inline-product strong { display: -webkit-box; overflow: hidden; font-size: .76rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gp-inline-product p { display: -webkit-box; min-height: 2.65em; margin: 0; overflow: hidden; color: #75677c; font-size: .59rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gp-inline-product small { color: #5e2679; font-size: .63rem; font-weight: 850; line-height: 1.35; }
.gp-inline-product b { width: max-content; margin-top: 2px; padding: 5px 9px; border-radius: 999px; color: #fff; background: linear-gradient(135deg,#7a20a0,#4f25ce); font-size: .58rem; }
.gp-inline-product.is-search { background: #fcf8fd; }
.gp-inline-product.is-extra { display: none; }
.gp-inline-results__more { justify-self: center; min-height: 38px; padding: 8px 18px; border: 1px solid #d8c3e1; border-radius: 999px; color: #6b2788; background: #fff; box-shadow: 0 6px 18px rgba(54,23,68,.08); cursor: pointer; font: inherit; font-size: .64rem; font-weight: 850; }
.gp-inline-results__more:hover { border-color: #7a20a0; transform: translateY(-1px); }
@media(max-width:900px){.gp-inline-results__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.gp-inline-results{width:calc(100% - 12px)}.gp-inline-results__grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.gp-inline-results__grid::-webkit-scrollbar{display:none}.gp-inline-product{min-width:290px;grid-template-columns:92px minmax(0,1fr);scroll-snap-align:start}.gp-inline-product>img,.gp-inline-product__placeholder{width:92px;height:104px}}
.gp-chat-result-card strong { font-size: .64rem; }
.gp-chat-result-card small { color: var(--gp-muted); font-size: .55rem; }
.gp-chat-result-card__footer { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: .45rem; margin-top: .2rem; }
.gp-chat-result-card__footer em { overflow: hidden; padding: .18rem .36rem; border-radius: 999px; color: #644674; background: #f2e9f6; font-size: .48rem; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.gp-chat-result-card__footer b { flex: 0 0 auto; color: var(--gp-purple); font-size: .5rem; }
.gp-chat-result-card.is-product { border-left: 3px solid var(--gp-yellow); }
.gp-chat-result-card.is-directory { border-left: 3px solid #45d89b; }
.gp-chat-context__help ul { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.gp-chat-context__help li { display: flex; align-items: center; gap: .45rem; color: #554360; font-size: .64rem; }
.gp-chat-context__help li span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: #f0e6f5; }
.gp-chat-context__actions { display: grid; gap: .4rem; }
.gp-chat-context__actions button { min-height: 38px; padding: .55rem .65rem; border: 1px solid #ddcde4; border-radius: 11px; color: var(--gp-purple); background: #fff; cursor: pointer; font-size: .62rem; font-weight: 800; text-align: left; }
.gp-chat-context__actions button:hover { border-color: var(--gp-purple); }
.gp-chat-context__notice { margin: 1rem 0 0; padding: .65rem; border-radius: 12px; color: #71667d; background: #f1ebf4; font-size: .55rem; line-height: 1.45; }
.gp-chat__mobile-action { display: none; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff; background: #2a1c41; cursor: pointer; }
.gp-chat-drawer-overlay { position: absolute; z-index: 15; inset: 0; display: none; border: 0; background: rgba(31,0,56,.42); backdrop-filter: blur(2px); cursor: pointer; }
.gp-agent__workspace.is-context-collapsed .gp-chat-layout { grid-template-columns: 232px minmax(0,1fr) 0; }
.gp-agent__workspace.is-context-collapsed .gp-chat-context { overflow: hidden; padding-inline: 0; border: 0; opacity: 0; pointer-events: none; }
.gp-chat__head { display: flex; min-height: 72px; order: 0; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .85rem; border-radius: 25px; color: #fff; background: #160b2d; box-shadow: 0 12px 26px rgba(22,11,45,.16); }
.gp-chat__identity { display: flex; align-items: center; gap: .7rem; }
.gp-chat__identity > img { width: 52px; height: 52px; border: 2px solid var(--gp-yellow); border-radius: 17px; background: #32005a; object-fit: cover; animation: gp-avatar-breathe 4s ease-in-out infinite; }
.gp-chat__name { display: flex; align-items: center; gap: .55rem; }
.gp-chat__name strong { color: #fff; font-family: var(--font-display); font-size: 1.18rem; }
.gp-chat__name span { padding: .25rem .5rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #dfc8ff; background: #3d1c70; font-size: .58rem; font-weight: 900; letter-spacing: .07em; }
.gp-chat__identity small { display: flex; align-items: center; gap: .35rem; color: #cfc3dc; font-size: .68rem; }
.gp-chat__identity small i { width: 7px; height: 7px; border-radius: 50%; background: #43dc8c; box-shadow: 0 0 0 4px rgba(67,220,140,.12); }
.gp-chat__head-actions { display: flex; align-items: center; gap: .55rem; }
.gp-chat__mode { color: var(--gp-yellow); font-size: .68rem; font-weight: 800; }
.gp-chat__head-actions button { min-height: 38px; padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #fff; background: #2a1c41; font-size: .7rem; font-weight: 800; cursor: pointer; }
.gp-chat__head-actions button:hover { border-color: var(--gp-yellow); color: var(--gp-yellow); }
.gp-agent__welcome { display: flex; max-width: 1080px; order: 1; align-items: center; flex-direction: column; margin: 0 auto 1.6rem; padding-top: clamp(1.1rem, 3vw, 2rem); text-align: center; }
.gp-agent__character-wrap { position: relative; width: clamp(150px, 16vw, 220px); margin: -.5rem auto .3rem; }
.gp-agent__character { width: 100%; height: auto; filter: drop-shadow(0 20px 25px rgba(61,0,98,.16)); animation: gp-petia-float 4.6s ease-in-out infinite; }
.gp-agent__spark { position: absolute; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--gp-line); border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(31,0,56,.1); animation: gp-petia-pulse 3.8s ease-in-out infinite; }
.gp-agent__spark--one { top: 16%; left: -12%; color: var(--gp-purple); }
.gp-agent__spark--two { right: -12%; bottom: 20%; animation-delay: .8s; }
.gp-agent__welcome .gp-kicker { margin-bottom: .7rem; }
.gp-agent__welcome h1 { max-width: 1060px; margin-bottom: .35em; font-size: clamp(2.2rem, 4.1vw, 4.25rem); }
.gp-agent__welcome h1 span { color: var(--gp-purple); }
.gp-agent__welcome > p { max-width: 760px; margin: 0; color: var(--gp-muted); font-size: clamp(.98rem, 1.35vw, 1.15rem); }
.gp-agent__workspace.is-chatting .gp-agent__welcome { display: none; }
.gp-chat__messages { display: flex; min-height: 112px; max-height: 430px; order: 2; flex-direction: column; gap: 1rem; overflow-y: auto; overflow-anchor: none; scroll-padding-block: 1.25rem; padding: 1.15rem; border: 1px solid #e4d7e9; border-radius: 22px; background: #faf6fd; scrollbar-color: #9f8bab #faf6fd; scrollbar-width: thin; transition: min-height .25s var(--ease); }
.gp-agent__workspace.is-chatting .gp-chat__messages { min-height: clamp(300px, 39vh, 430px); }
.gp-message-row { display: flex; max-width: min(880px, 90%); align-items: flex-end; gap: .65rem; animation: gp-message-in .32s var(--ease) both; }
.gp-message-row--bot, .gp-message-row--loading, .gp-message-row--error { align-self: flex-start; }
.gp-message-row--user { align-self: flex-end; justify-content: flex-end; }
.gp-message-avatar { width: 42px; height: 42px; flex: 0 0 auto; border: 2px solid #b987cf; border-radius: 14px; background: #31004f; box-shadow: 0 8px 18px rgba(94,0,121,.15); object-fit: cover; animation: gp-avatar-pop .42s var(--ease) both; }
.gp-message-stack { display: grid; gap: .28rem; }
.gp-message-speaker { padding-inline: .25rem; color: var(--gp-purple); font-size: .66rem; font-weight: 900; letter-spacing: .03em; }
.gp-message-row--user .gp-message-speaker { color: #8a6500; text-align: right; }
.gp-message-speaker i { font-style: normal; }
.gp-message { position: relative; width: fit-content; max-width: 100%; padding: .9rem 1.1rem; border-radius: 19px; font-size: .94rem; line-height: 1.52; white-space: pre-wrap; }
.gp-message--bot { border: 1px solid #d0afe2; border-bottom-left-radius: 5px; color: #2a143a; background: #f0e3f8; box-shadow: 0 8px 18px rgba(94,0,121,.08); }
.gp-message--bot::after { position: absolute; bottom: 8px; left: -7px; width: 13px; height: 13px; transform: rotate(45deg); border-bottom: 1px solid #d0afe2; border-left: 1px solid #d0afe2; background: #f0e3f8; content: ''; }
.gp-message--user { border: 1px solid #e8c637; border-bottom-right-radius: 5px; color: #241b00; background: #fff1a6; box-shadow: 0 8px 18px rgba(205,161,0,.11); }
.gp-message--user::after { position: absolute; right: -7px; bottom: 8px; width: 13px; height: 13px; transform: rotate(45deg); border-top: 1px solid #e8c637; border-right: 1px solid #e8c637; background: #fff1a6; content: ''; }
.gp-message--loading { display: inline-flex; align-items: center; gap: .55rem; color: #5b4268; background: #f0e3f8; }
.gp-message--loading .gp-typing { display: inline-flex; gap: 3px; }
.gp-message--loading .gp-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gp-purple); animation: gp-typing 1.1s infinite ease-in-out; }
.gp-message--loading .gp-typing i:nth-child(2) { animation-delay: .14s; }
.gp-message--loading .gp-typing i:nth-child(3) { animation-delay: .28s; }
.gp-message--error { border: 1px solid #f1bac6; color: #8b1d35; background: #fff0f3; }
.gp-chat__chips { display: grid; grid-template-columns: repeat(4, 1fr); order: 6; gap: .65rem; padding: .8rem 0 .2rem; }
.gp-chat__chips::-webkit-scrollbar { display: none; }
.gp-chat__chips button { display: grid; min-height: 78px; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; padding: .7rem; border: 1px solid var(--gp-line); border-radius: 18px; color: var(--gp-deep); background: #fff; text-align: left; cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.gp-chat__chips button:nth-child(2) .gp-chat__chip-icon { color: #4d3600; background: var(--gp-yellow); }
.gp-chat__chips button:nth-child(3) .gp-chat__chip-icon { color: #fff; background: #d934c9; }
.gp-chat__chips button:nth-child(4) .gp-chat__chip-icon { color: #fff; background: var(--gp-purple); }
.gp-chat__chips button:hover { border-color: #b991cc; box-shadow: 0 10px 22px rgba(94,0,121,.09); transform: translateY(-3px); }
.gp-chat__chip-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: #efe4ff; font-size: 1.2rem; }
.gp-chat__chips button > span:nth-child(2) { display: grid; }
.gp-chat__chips strong { color: var(--gp-deep); font-family: var(--font-display); font-size: .84rem; }
.gp-chat__chips small { color: var(--gp-muted); font-size: .65rem; }
.gp-chat__chips b { color: var(--gp-purple); font-size: 1.3rem; }
.gp-agent__workspace.is-chatting .gp-chat__chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; }
.gp-agent__workspace.is-chatting .gp-chat__chips button { min-height: 39px; flex: 0 0 auto; display: inline-flex; gap: .35rem; padding: .35rem .65rem; border-radius: 999px; }
.gp-agent__workspace.is-chatting .gp-chat__chip-icon { width: auto; height: auto; background: transparent; font-size: .9rem; }
.gp-agent__workspace.is-chatting .gp-chat__chips small, .gp-agent__workspace.is-chatting .gp-chat__chips b { display: none; }
.gp-chat__popular { display: flex; order: 7; align-items: center; gap: .45rem; overflow-x: auto; margin-top: .65rem; padding: .5rem .65rem; border: 1px solid #eadff0; border-radius: 16px; color: var(--gp-deep); background: #fcfafd; scrollbar-width: none; }
.gp-chat__popular > span { flex: 0 0 auto; font-size: .68rem; font-weight: 900; }
.gp-chat__popular button { flex: 0 0 auto; padding: .36rem .65rem; border: 1px solid #e6d9ec; border-radius: 999px; color: var(--gp-purple); background: #fff; font-size: .68rem; font-weight: 750; cursor: pointer; }
.gp-chat__popular button:hover { border-color: var(--gp-purple); }
.gp-chat__attachment { display: flex; order: 3; align-items: center; gap: .75rem; margin: .7rem .2rem -.25rem; padding: .55rem .7rem; border: 1px solid #d5b5e4; border-radius: 16px; background: #f5eafa; }
.gp-chat__attachment[hidden] { display: none; }
.gp-chat__attachment img { width: 54px; height: 54px; border-radius: 11px; background: #fff; object-fit: cover; }
.gp-chat__attachment-icon { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg,#6a17c9,#a42bdc); font-size: 1.45rem; }
.gp-chat__attachment-icon[hidden] { display: none; }
.gp-chat__attachment div { display: grid; min-width: 0; }
.gp-chat__attachment strong { overflow: hidden; color: var(--gp-deep); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.gp-chat__attachment small { color: var(--gp-muted); font-size: .64rem; }
.gp-chat__attachment button { display: grid; width: 30px; height: 30px; margin-left: auto; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--gp-purple); font-size: 1.1rem; cursor: pointer; }
.gp-chat__form { position: relative; display: flex; order: 4; align-items: center; gap: .55rem; margin: .8rem 0 .25rem; padding: .55rem; border: 2px solid var(--gp-yellow); border-radius: 24px; background: #120c22; box-shadow: 0 15px 34px rgba(18,12,34,.23); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.gp-chat__form:focus-within { border-color: #bd79ff; box-shadow: 0 0 0 5px rgba(123,22,160,.12), 0 18px 38px rgba(18,12,34,.25); transform: translateY(-1px); }
.gp-chat__form.has-content { border-color: #bd79ff; }
.gp-chat__tool, .gp-chat__send { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 15px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.gp-chat__tool:hover, .gp-chat__send:hover { transform: translateY(-2px) scale(1.02); }
.gp-chat__tool--image { color: #fff; background: #7331d4; font-size: 1.15rem; }
.gp-chat__tool--voice { color: var(--gp-purple); background: #fff; }
.gp-chat__tool--voice.is-listening { color: #fff; background: var(--gp-pink); animation: gp-mic-pulse 1.25s ease-in-out infinite; }
.gp-chat__tool:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.gp-chat__input-wrap { position: relative; display: grid; min-width: 0; flex: 1; padding: .2rem .35rem .15rem; }
.gp-chat__input-wrap label { color: var(--gp-yellow); font-size: .62rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.gp-chat__input-wrap textarea { width: 100%; max-height: 118px; resize: none; overflow-y: auto; padding: .2rem 3.2rem .05rem 0; border: 0; outline: 0; color: #fff; background: transparent; caret-color: var(--gp-yellow); cursor: text; font-size: .94rem; line-height: 1.42; }
.gp-chat__input-wrap textarea::placeholder { color: #ada3bc; opacity: 1; }
.gp-chat__input-wrap > span { position: absolute; right: .25rem; bottom: .25rem; color: #766b86; font-size: .58rem; }
.gp-chat__send { color: #fff; background: #7440ff; box-shadow: 0 8px 20px rgba(116,64,255,.33); }
.gp-chat__form.has-content .gp-chat__send { animation: gp-send-ready 2s ease-in-out infinite; }
.gp-chat__form button:disabled { opacity: .5; cursor: wait; animation: none; transform: none; }
.gp-chat__composer-status { order: 5; margin: 0; color: var(--gp-muted); font-size: .65rem; text-align: center; }
.gp-chat__meta { display: flex; order: 8; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; padding-top: .45rem; color: var(--gp-muted); font-size: .68rem; }
.gp-chat-main .gp-chat__head { flex: 0 0 auto; }
.gp-chat-main .gp-agent__welcome { max-width: 780px; flex: 0 1 auto; margin-bottom: .7rem; padding-top: .65rem; }
.gp-chat-main .gp-agent__character-wrap { width: clamp(105px, 10vw, 145px); margin-top: 0; }
.gp-chat-main .gp-agent__welcome h1 { max-width: 820px; font-size: clamp(1.65rem, 2.55vw, 2.75rem); }
.gp-chat-main .gp-agent__welcome > p { max-width: 690px; font-size: .88rem; }
.gp-chat-main .gp-kicker { margin-bottom: .35rem; font-size: .62rem; }
.gp-chat-main .gp-chat__messages { min-height: 104px; max-height: none; flex: 1 1 auto; }
.gp-agent__workspace.is-chatting .gp-chat-main .gp-chat__messages { min-height: 0; }
.gp-chat-main .gp-chat__chips, .gp-chat-main .gp-chat__popular, .gp-chat-main .gp-chat__attachment, .gp-chat-main .gp-chat__form, .gp-chat-main .gp-chat__composer-status, .gp-chat-main .gp-chat__meta { flex: 0 0 auto; }
.gp-agent__workspace.is-chatting .gp-chat__popular { display: none; }
.gp-chat-main .gp-chat__form { margin-top: .55rem; }
.gp-chat-main .gp-chat__meta { padding-inline: .2rem; }
.gp-chat-main .gp-chat__context-toggle { display: inline-flex; align-items: center; gap: .35rem; }
.gp-personalize { width: min(560px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 26px; background: #fff; box-shadow: 0 35px 100px rgba(31,0,56,.3); }
.gp-personalize::backdrop { background: rgba(31,0,56,.58); backdrop-filter: blur(6px); }
.gp-personalize__form { display: grid; gap: 1rem; padding: clamp(1.25rem, 4vw, 2rem); }
.gp-personalize__head { display: flex; align-items: center; gap: 1rem; }
.gp-personalize__head img { width: 72px; border-radius: 50%; background: var(--gp-deep); }
.gp-personalize__head span { color: var(--gp-purple); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.gp-personalize__head h2 { margin: .2rem 0 0; font-size: clamp(1.45rem, 4vw, 2rem); }
.gp-personalize__form label { display: grid; gap: .4rem; color: var(--gp-deep); font-size: .82rem; font-weight: 800; }
.gp-personalize__form input, .gp-personalize__form select { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #d9cce0; border-radius: 12px; color: var(--gp-ink); background: #fff; }
.gp-personalize__actions { display: flex; justify-content: flex-end; gap: .65rem; margin-top: .2rem; }
.gp-personalize__form > p { margin: 0; color: var(--gp-muted); font-size: .68rem; text-align: center; }
.gp-first-proof { padding-block: clamp(4.5rem, 8vw, 7.5rem); background: #fff; }
.gp-first-proof__head { display: grid; grid-template-columns: .45fr 1.55fr; align-items: end; gap: 2rem; }
.gp-first-proof__head .gp-kicker { align-self: start; }
.gp-first-proof__head h2 { max-width: 1050px; margin: 0; }
.gp-first-proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.gp-first-proof__grid article { padding: 1.5rem; border: 1px solid var(--gp-line); border-radius: 22px; background: var(--gp-soft); }
.gp-first-proof__grid article > span { color: var(--gp-purple); font-family: var(--font-display); font-size: .75rem; font-weight: 800; }
.gp-first-proof__grid h3 { margin-top: 2.8rem; }
.gp-first-proof__grid p { margin: 0; color: var(--gp-muted); font-size: .9rem; }
@keyframes gp-petia-float { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-9px) rotate(.5deg); } }
@keyframes gp-petia-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes gp-typing { 0%, 60%, 100% { opacity: .28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes gp-message-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes gp-avatar-pop { 0% { transform: scale(.7) rotate(-8deg); } 70% { transform: scale(1.08) rotate(2deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes gp-avatar-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes gp-mic-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,127,.25); } 50% { box-shadow: 0 0 0 8px rgba(255,0,127,0); } }
@keyframes gp-send-ready { 0%, 100% { box-shadow: 0 8px 20px rgba(116,64,255,.28); } 50% { box-shadow: 0 8px 26px rgba(116,64,255,.62); } }

.gp-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

/* Product definition */
.gp-position { padding-block: clamp(4.5rem, 8vw, 8rem); background: #fff; }
.gp-section-head { text-align: center; }
.gp-section-head h2 { max-width: 900px; margin-inline: auto; }
.gp-section-head > p { max-width: 780px; margin-inline: auto; color: var(--gp-muted); font-size: 1.1rem; }
.gp-capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.gp-capabilities article { min-height: 300px; padding: 1.55rem; border: 1px solid var(--gp-line); border-radius: 24px; background: var(--gp-soft); }
.gp-capabilities article:nth-child(2) { color: #fff; background: var(--gp-deep); }
.gp-capabilities article:nth-child(2) h3 { color: #fff; }
.gp-capabilities article:nth-child(3) { background: var(--gp-yellow); }
.gp-capabilities article:nth-child(4) { color: #fff; background: var(--gp-purple); }
.gp-capabilities article:nth-child(4) h3 { color: #fff; }
.gp-capabilities article > span { display: grid; width: 46px; height: 46px; margin-bottom: 4.5rem; place-items: center; border-radius: 14px; color: var(--gp-purple); background: #fff; font-family: var(--font-display); font-weight: 800; }
.gp-capabilities p { margin: 0; color: inherit; font-size: .9rem; opacity: .78; }

/* Full-width stories */
.gp-story { min-height: clamp(560px, 55vw, 760px); background: #f7f5f4; }
.gp-story .gp-banner-image { object-position: center; }
.gp-story__shade { position: absolute; z-index: -1; inset: 0; }
.gp-story__shade--left { right: auto; width: 52%; background: rgba(255,255,255,.88); }
.gp-story__shade--right { left: auto; width: 52%; background: rgba(255,255,255,.9); }
.gp-story__inner { display: flex; min-height: inherit; align-items: center; padding-block: 4rem; }
.gp-story__inner--right { justify-content: flex-end; }
.gp-story__copy { width: min(580px, 42%); padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid rgba(94,0,121,.1); border-radius: 28px; background: rgba(255,255,255,.91); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.gp-story__copy p { color: var(--gp-muted); }
.gp-text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--gp-purple); font-weight: 800; text-decoration: none; }
.gp-text-link span { transition: transform .2s var(--ease); }
.gp-text-link:hover span { transform: translateX(5px); }
.gp-pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.gp-pill-row span { padding: .4rem .7rem; border: 1px solid var(--gp-line); border-radius: 999px; color: var(--gp-purple); background: #fff; font-size: .73rem; font-weight: 800; }
.gp-mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.gp-mini-list li { padding: .65rem .75rem; border-radius: 10px; color: var(--gp-purple); background: var(--gp-soft); font-size: .78rem; font-weight: 800; }

/* Origin and roadmap */
.gp-roadmap { padding-block: clamp(4.5rem, 8vw, 8rem); background: var(--gp-soft); }
.gp-roadmap__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.gp-roadmap__grid > div:first-child p { max-width: 680px; color: var(--gp-muted); }
.gp-origin { display: grid; overflow: hidden; border: 1px solid var(--gp-line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.gp-origin > div { display: grid; padding: 1.45rem 1.6rem; }
.gp-origin > div + div { border-top: 1px solid var(--gp-line); }
.gp-origin small { color: var(--gp-purple); font-size: .68rem; font-weight: 900; letter-spacing: .11em; }
.gp-origin strong { margin-top: .25rem; color: var(--gp-deep); font-family: var(--font-display); font-size: 1.28rem; }
.gp-origin span { color: var(--gp-muted); font-size: .82rem; }
.gp-roadmap__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.2rem; }
.gp-roadmap__steps article { padding: 1.5rem; border: 1px solid var(--gp-line); border-radius: 22px; background: #fff; }
.gp-roadmap__steps article.is-active { color: #fff; background: var(--gp-purple); }
.gp-roadmap__steps article.is-active h3 { color: #fff; }
.gp-roadmap__steps b { color: var(--gp-yellow); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.gp-roadmap__steps h3 { margin-top: 1.9rem; }
.gp-roadmap__steps p { margin: 0; font-size: .86rem; opacity: .75; }

/* Preguntas frecuentes: contenido humano + datos estructurados sincronizados */
.gp-faq { padding-block: clamp(4.5rem, 8vw, 8rem); background: #fff; }
.gp-faq__layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.gp-faq__intro { position: sticky; top: 110px; }
.gp-faq__intro p { max-width: 520px; color: var(--gp-muted); }
.gp-faq__items { border-top: 1px solid var(--gp-line); }
.gp-faq details { border-bottom: 1px solid var(--gp-line); }
.gp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; color: var(--gp-deep); font-family: var(--font-display); font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 800; cursor: pointer; list-style: none; }
.gp-faq summary::-webkit-details-marker { display: none; }
.gp-faq summary span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid var(--gp-line); border-radius: 50%; color: var(--gp-purple); background: var(--gp-soft); font-family: var(--font-body); font-size: 1.25rem; transition: transform .2s var(--ease); }
.gp-faq details[open] summary span { transform: rotate(45deg); }
.gp-faq details p { max-width: 760px; margin: -.35rem 0 1.35rem; color: var(--gp-muted); }

/* Final CTA */
.gp-final { min-height: 680px; background: #f4f2f1; }
.gp-final .gp-banner-image { object-position: center; }
.gp-final__shade { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 58%; background: rgba(31,0,56,.9); }
.gp-final__inner { display: flex; min-height: 680px; align-items: center; padding-block: 4rem; }
.gp-final__copy { width: min(660px, 50%); }
.gp-final .gp-kicker { color: var(--gp-yellow); }
.gp-final h2 { color: #fff; }
.gp-final p { color: #e0d6e6; font-size: 1.08rem; }

/* Content, blog and footer */
.site-main { display: block; }
.page-content, .single-article, .post-list { padding-block: clamp(3.5rem, 7vw, 6rem); }
.page-hero { padding-block: 4rem; text-align: center; background: var(--gp-soft); }
.page-hero p { max-width: 680px; margin-inline: auto; color: var(--gp-muted); }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.4em; }
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.post-card { overflow: hidden; border: 1px solid var(--gp-line); border-radius: 22px; background: #fff; }
.post-card__body { padding: 1.25rem; }
.post-card__meta, .entry-meta { color: var(--gp-muted); font-size: .78rem; }
.post-card h2 { font-size: 1.35rem; }
.post-card h2 a { color: var(--gp-deep); text-decoration: none; }
.site-footer { padding-block: 4rem 2rem; color: #cdbed6; background: #160321; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .site-logo { color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer__heading { color: var(--gp-yellow); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.13); color: #9686a2; font-size: .78rem; }
.lang-suggest { position: fixed; z-index: 150; bottom: 1rem; left: 50%; display: flex; max-width: calc(100vw - 2rem); align-items: center; gap: .8rem; padding: .7rem 1rem; transform: translateX(-50%); border-radius: 999px; color: #fff; background: var(--gp-deep); box-shadow: var(--shadow); font-size: .8rem; }
.lang-suggest__go { color: var(--gp-yellow); font-weight: 800; }
.lang-suggest__close { border: 0; color: #fff; background: transparent; cursor: pointer; }

@media (max-width: 1050px) {
  .gp-agent__workspace { border-radius: 30px; }
  .gp-first-proof__head { grid-template-columns: 1fr; gap: .4rem; }
  .gp-capabilities { grid-template-columns: 1fr 1fr; }
  .gp-story__copy { width: min(590px, 54%); }
  .gp-faq__layout { grid-template-columns: 1fr; }
  .gp-faq__intro { position: static; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-header__inner { min-height: 66px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0; padding: 1rem 1.4rem 1.4rem; border-bottom: 1px solid var(--gp-line); background: #fff; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .header-cta { display: none; }
  .locale-selector { margin-left: 0; }
  .gp-agent { min-height: calc(100svh - 66px); }
  .gp-agent__toolbar { min-height: 76px; }
  .gp-agent__status { display: none; }
  .gp-agent__workspace { padding: .9rem; border-radius: 26px; }
  .gp-chat__mode { display: none; }
  .gp-chat__chips { grid-template-columns: 1fr 1fr; }
  .gp-agent__welcome h1 { font-size: clamp(2rem, 7vw, 3.35rem); }
  .gp-first-proof__grid { grid-template-columns: 1fr; }
  .gp-first-proof__grid h3 { margin-top: 1.8rem; }
  .gp-capabilities { grid-template-columns: 1fr 1fr; }
  .gp-capabilities article { min-height: 260px; }
  .gp-story { min-height: 720px; }
  .gp-story .gp-banner-image { opacity: .55; }
  .gp-story__shade--left, .gp-story__shade--right { background: rgba(255,255,255,.52); }
  .gp-story__inner, .gp-story__inner--right { align-items: flex-end; justify-content: stretch; }
  .gp-story__copy { width: 100%; max-width: 650px; }
  .gp-roadmap__grid { grid-template-columns: 1fr; }
  .gp-final__shade { width: 100%; background: rgba(31,0,56,.78); }
  .gp-final__copy { width: 100%; }
}

@media (max-width: 620px) {
  .container, .gp-wide { width: min(100% - 1.5rem, var(--wide)); }
  h1 { font-size: clamp(2.45rem, 12vw, 3.55rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .site-logo { font-size: 1.3rem; }
  .locale-toggle svg { width: 18px; }
  .gp-agent { padding-bottom: 2.4rem; }
  .gp-agent__toolbar { min-height: 68px; }
  .gp-agent__identity img { width: 118px; }
  .gp-agent__business { display: none; }
  .gp-agent__personalize { min-height: 36px; padding: .45rem .65rem; font-size: .7rem; }
  .gp-agent__workspace { width: calc(100% - 1rem); padding: .9rem; border-radius: 22px; }
  .gp-chat__head { min-height: 62px; padding: .55rem .6rem; border-radius: 17px; }
  .gp-chat__identity > img { width: 44px; height: 44px; border-radius: 13px; }
  .gp-chat__name strong { font-size: 1rem; }
  .gp-chat__name span, .gp-chat__identity small { display: none; }
  .gp-chat__head-actions button { width: 38px; min-height: 38px; padding: 0; }
  .gp-chat__head-actions button span { display: none; }
  .gp-agent__character-wrap { width: 138px; }
  .gp-agent__spark { width: 32px; height: 32px; font-size: .8rem; }
  .gp-agent__welcome { margin-bottom: 1.05rem; }
  .gp-agent__welcome h1 { font-size: clamp(1.75rem, 9vw, 2.55rem); }
  .gp-agent__welcome > p { font-size: .9rem; }
  .gp-actions .btn { width: 100%; }
  .gp-agent__workspace.is-chatting .gp-chat__messages { min-height: 315px; }
  .gp-chat__messages { max-height: 390px; padding: .8rem; border-radius: 16px; }
  .gp-message-row { max-width: 96%; }
  .gp-message-avatar { width: 32px; height: 32px; }
  .gp-message { padding: .7rem .85rem; font-size: .86rem; }
  .gp-chat__chips { gap: .45rem; }
  .gp-chat__chips button { min-height: 68px; padding: .55rem; }
  .gp-chat__chip-icon { width: 36px; height: 36px; }
  .gp-chat__chips small { display: none; }
  .gp-chat__popular > span { display: none; }
  .gp-chat__form { gap: .35rem; padding: .4rem; border-radius: 18px; }
  .gp-chat__input-wrap { padding-inline: .2rem; }
  .gp-chat__input-wrap label { font-size: .55rem; }
  .gp-chat__input-wrap textarea { padding-right: 0; font-size: .86rem; }
  .gp-chat__input-wrap > span { display: none; }
  .gp-chat__form button { width: 44px; height: 44px; border-radius: 14px; }
  .gp-chat__attachment small { display: none; }
  .gp-chat__meta { display: block; text-align: center; }
  .gp-chat__meta span { display: block; }
  .gp-personalize__actions { flex-direction: column-reverse; }
  .gp-personalize__actions .btn { width: 100%; }
  .gp-capabilities { grid-template-columns: 1fr; }
  .gp-capabilities article { min-height: auto; }
  .gp-capabilities article > span { margin-bottom: 2.5rem; }
  .gp-story { min-height: 670px; }
  .gp-story .gp-banner-image { object-position: 56% center; }
  .gp-story__inner { padding-block: 2.5rem; }
  .gp-story__copy { padding: 1.25rem; border-radius: 22px; }
  .gp-mini-list { grid-template-columns: 1fr; }
  .gp-roadmap__steps { grid-template-columns: 1fr; }
  .gp-faq summary { font-size: 1rem; }
  .gp-final, .gp-final__inner { min-height: 690px; }
  .gp-final .gp-banner-image { object-position: 38% center; }
  .gp-final__inner { align-items: flex-end; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .gp-chat-layout { grid-template-columns: 220px minmax(0,1fr); }
  .gp-chat-context { position: absolute; z-index: 20; top: 0; right: 0; bottom: 0; width: min(330px, 88%); border-left: 1px solid #e6dbe9; box-shadow: -20px 0 55px rgba(31,0,56,.16); transform: translateX(105%); transition: transform .24s var(--ease); }
  .gp-chat-context__head > button { display: grid; }
  .gp-agent__workspace.is-context-open .gp-chat-context { transform: translateX(0); }
  .gp-agent__workspace.is-context-open .gp-chat-drawer-overlay { display: block; }
  .gp-agent__workspace.is-context-collapsed .gp-chat-layout { grid-template-columns: 220px minmax(0,1fr); }
  .gp-agent__workspace.is-context-collapsed .gp-chat-context { overflow-y: auto; padding: .9rem; border-left: 1px solid #e6dbe9; opacity: 1; pointer-events: auto; }
}

@media (max-width: 820px) {
  .gp-agent__workspace { width: calc(100% - 1rem); padding: .35rem; border-radius: 24px; }
  .gp-chat-layout { min-height: 640px; height: min(820px, calc(100svh - 76px)); grid-template-columns: minmax(0,1fr); border-radius: 20px; }
  .gp-chat-main { padding: .45rem; }
  .gp-chat-sidebar { position: absolute; z-index: 21; top: 0; bottom: 0; left: 0; width: min(320px, 88%); border-right: 1px solid #e6dbe9; box-shadow: 20px 0 55px rgba(31,0,56,.18); transform: translateX(-105%); transition: transform .24s var(--ease); }
  .gp-chat-sidebar__brand > button { display: grid; }
  .gp-agent__workspace.is-sidebar-open .gp-chat-sidebar { transform: translateX(0); }
  .gp-agent__workspace.is-sidebar-open .gp-chat-drawer-overlay, .gp-agent__workspace.is-context-open .gp-chat-drawer-overlay { display: block; }
  .gp-chat__mobile-action { display: grid; }
  .gp-chat-main .gp-agent__welcome { overflow-y: auto; padding-inline: .45rem; }
  .gp-chat-main .gp-agent__character-wrap { width: 112px; }
  .gp-chat-main .gp-agent__welcome h1 { font-size: clamp(1.55rem, 6.5vw, 2.45rem); }
  .gp-chat-main .gp-chat__messages { min-height: 100px; }
  .gp-chat-main .gp-chat__chips { display: flex; overflow-x: auto; grid-template-columns: none; scrollbar-width: none; }
  .gp-chat-main .gp-chat__chips button { min-height: 45px; flex: 0 0 auto; display: inline-flex; gap: .35rem; padding: .45rem .65rem; border-radius: 999px; }
  .gp-chat-main .gp-chat__chip-icon { width: auto; height: auto; background: transparent; }
  .gp-chat-main .gp-chat__chips small, .gp-chat-main .gp-chat__chips b { display: none; }
  .gp-chat-main .gp-chat__popular { margin-top: .35rem; }
  .gp-chat-main .gp-chat__meta { display: none; }
}

@media (max-width: 620px) {
  .gp-agent__toolbar { display: none; }
  .gp-agent { min-height: calc(100svh - 66px); padding-block: .35rem 1.5rem; }
  .gp-agent__workspace { width: calc(100% - .5rem); margin-inline: auto; }
  .gp-chat-layout { height: calc(100svh - 76px); min-height: 590px; }
  .gp-chat-main { padding: .3rem; }
  .gp-chat-main .gp-chat__head { min-height: 60px; border-radius: 17px; }
  .gp-chat__mobile-action { width: 36px; height: 36px; border-radius: 11px; }
  .gp-chat-main .gp-chat__context-toggle { width: 36px; min-height: 36px; justify-content: center; }
  .gp-chat-main .gp-chat__context-toggle span { display: none; }
  .gp-chat-main .gp-agent__welcome { margin-bottom: .35rem; padding-top: .35rem; }
  .gp-chat-main .gp-agent__character-wrap { width: 92px; }
  .gp-chat-main .gp-agent__spark { display: none; }
  .gp-chat-main .gp-agent__welcome h1 { font-size: clamp(1.35rem, 6.5vw, 2rem); }
  .gp-chat-main .gp-agent__welcome > p { font-size: .78rem; line-height: 1.4; }
  .gp-chat-main .gp-chat__messages { max-height: none; padding: .7rem; }
  .gp-agent__workspace.is-chatting .gp-chat-main .gp-chat__messages { min-height: 0; }
  .gp-chat-main .gp-chat__chips { padding-top: .4rem; }
  .gp-chat-main .gp-chat__popular { display: none; }
  .gp-chat-main .gp-chat__form { position: relative; z-index: 3; margin: .4rem 0 0; padding-bottom: max(.4rem, env(safe-area-inset-bottom)); }
  .gp-chat-main .gp-chat__composer-status { display: none; }
  .gp-message-row { max-width: 98%; }
  .gp-message-avatar { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================
   Go PetiA 4.0 — aplicación de IA para Pet Lovers
   ===================================================== */
.home .site-header { display: none; }
.home .site-main { height: 100svh; overflow: hidden; }
body.home { height: 100svh; overflow: hidden; }
body.admin-bar.home, body.admin-bar.home .site-main { height: calc(100svh - 32px); }
.gp-agent--consumer { min-height: 100svh; padding: 0; border: 0; background: #fff; }
.gp-agent--consumer::before, .gp-agent--consumer::after { display: none; }
.gp-agent--consumer .gp-agent__workspace { width: 100%; max-width: none; min-height: 100svh; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.gp-agent--consumer .gp-chat-layout { height: 100svh; min-height: 0; grid-template-columns: 264px minmax(0,1fr); border: 0; border-radius: 0; background: #fff; }
.admin-bar .gp-agent--consumer, .admin-bar .gp-agent--consumer .gp-agent__workspace { min-height: calc(100svh - 32px); }
.admin-bar .gp-agent--consumer .gp-chat-layout { height: calc(100svh - 32px); }
.gp-agent--consumer .gp-chat-sidebar { position: relative; z-index: 22; padding: 14px 12px; border: 0; color: #f8f4fb; background: #17121f; scrollbar-width: none; }
.gp-agent--consumer .gp-chat-sidebar::-webkit-scrollbar { display: none; width: 0; height: 0; }
.gp-agent--consumer .gp-chat-sidebar__brand { min-height: 64px; padding: 5px 8px 14px; }
.gp-agent--consumer .gp-chat-sidebar__brand img { width: 42px; height: 42px; border: 1px solid rgba(255,214,10,.75); border-radius: 14px; background: #2a1539; }
.gp-agent--consumer .gp-chat-sidebar__brand strong { color: #fff; font-size: .98rem; }
.gp-agent--consumer .gp-chat-sidebar__brand small { color: #aa9fb2; font-size: .65rem; }
.gp-agent--consumer .gp-chat-sidebar__brand > button { color: #fff; background: #292131; }
.gp-agent--consumer .gp-chat-sidebar__new { min-height: 44px; padding: .65rem .8rem; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: #fff; background: #292331; box-shadow: none; }
.gp-agent--consumer .gp-chat-sidebar__new:hover { background: #352c3e; }
.gp-agent--consumer .gp-chat-sidebar__new span { color: var(--gp-yellow); }
.gp-ai-nav { display: grid; gap: 3px; margin-top: 22px; }
.gp-ai-nav .gp-chat-sidebar__label { margin-bottom: 5px; color: #796f81; }
.gp-ai-nav button, .gp-ai-nav a { display: grid; min-height: 43px; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 8px 10px; border: 0; border-radius: 10px; color: #d9d2df; background: transparent; cursor: pointer; font: inherit; text-align: left; text-decoration: none; }
.gp-ai-nav button:hover, .gp-ai-nav a:hover, .gp-ai-nav .is-active { color: #fff; background: #2b2531; }
.gp-ai-nav button > span, .gp-ai-nav a > span { display: grid; width: 28px; height: 28px; place-items: center; color: var(--gp-yellow); font-size: .96rem; }
.gp-ai-nav b { overflow: hidden; font-size: .73rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.gp-ai-nav em { min-width: 22px; padding: 3px 6px; border-radius: 999px; color: #9d92a6; background: #211b27; font-size: .52rem; font-style: normal; font-weight: 800; text-align: center; }
.gp-ai-nav--discover { margin-top: 20px; }
.gp-agent--consumer .gp-chat-sidebar__footer { gap: 7px; margin-top: auto; border-color: rgba(255,255,255,.08); }
.gp-agent--consumer .gp-chat-sidebar__footer > button { color: #cfc6d5; }
.gp-agent--consumer .gp-chat-sidebar__footer > button:hover { color: #fff; background: #2b2531; }
.gp-agent--consumer .gp-chat-sidebar__footer small { color: #706778; }
.gp-agent--consumer .gp-chat-sidebar__footer .locale-selector { width: 100%; }
.gp-agent--consumer .gp-chat-sidebar__footer .locale-toggle { width: 100%; min-height: 38px; justify-content: flex-start; border-color: rgba(255,255,255,.08); color: #cfc6d5; background: transparent; }
.gp-agent--consumer .gp-chat-sidebar__footer .locale-toggle:hover { color: #fff; background: #2b2531; }
.gp-agent--consumer .gp-chat-sidebar__footer .locale-menu { top: auto; right: auto; bottom: calc(100% + 8px); left: 0; color: #2a1834; }

.gp-agent--consumer .gp-chat-main { position: relative; display: flex; height: 100%; min-height: 0; flex-direction: column; padding: 0; overflow: hidden; background: #fff; }
.gp-agent--consumer .gp-chat__head { min-height: 64px; padding: 9px 18px; border-bottom: 1px solid #ece8ee; border-radius: 0; color: var(--gp-deep); background: rgba(255,255,255,.92); box-shadow: none; backdrop-filter: blur(16px); }
.gp-agent--consumer .gp-chat__identity { gap: .55rem; }
.gp-agent--consumer .gp-chat__identity > img { width: 42px; height: 42px; border: 1px solid #d7cadf; border-radius: 14px; animation: none; }
.gp-agent--consumer .gp-chat__name strong { color: #261630; font-size: .98rem; }
.gp-agent--consumer .gp-chat__name span { color: #6c3a86; background: #f1e9f5; border-color: #e6d8ed; font-size: .5rem; }
.gp-agent--consumer .gp-chat__identity small { color: #817389; font-size: .61rem; }
.gp-agent--consumer .gp-chat__head-actions button { min-height: 36px; border-color: #e6dde9; color: #4b3a56; background: #f8f6f9; }
.gp-agent--consumer .gp-chat__head-actions button:hover { border-color: #cab3d5; color: var(--gp-purple); }

.gp-agent--consumer .gp-agent__welcome { width: 100%; max-width: 900px; min-height: 0; flex: 1 1 auto; justify-content: center; margin: 0 auto; padding: clamp(14px,3.2vh,32px) 24px clamp(10px,2vh,20px); overflow: hidden; }
.gp-agent--consumer .gp-agent__character-wrap { width: 112px; margin: 0 auto 15px; }
.gp-agent--consumer .gp-agent__character { filter: drop-shadow(0 18px 24px rgba(70,20,90,.14)); animation: gp-petia-float 4.8s ease-in-out infinite; }
.gp-agent__online { position: absolute; right: 3px; bottom: 7px; width: 17px; height: 17px; border: 4px solid #fff; border-radius: 50%; background: #23c875; }
.gp-agent--consumer .gp-kicker { color: #75458b; font-size: .7rem; letter-spacing: .04em; }
.gp-agent--consumer .gp-agent__welcome h1 { max-width: 820px; margin: .65rem auto .8rem; color: #24142e; font-size: clamp(2.05rem,4vw,4.1rem); line-height: 1.02; letter-spacing: -.055em; }
.gp-agent--consumer .gp-agent__welcome h1 span { color: #6f258c; }
.gp-agent--consumer .gp-agent__welcome > p { max-width: 650px; color: #75697b; font-size: .98rem; line-height: 1.55; }
.gp-ai-starters { display: grid; width: min(980px,100%); grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; margin-top: 28px; }
.gp-ai-starters button, .gp-ai-starters a { position: relative; display: grid; min-height: 110px; grid-template-rows: 38px auto auto; align-content: start; gap: 4px; padding: 13px; overflow: hidden; border: 0; border-radius: 18px; color: #fff; box-shadow: 0 13px 28px rgba(36,20,46,.15); cursor: pointer; font: inherit; text-align: left; text-decoration: none; isolation: isolate; transition: transform .2s ease,box-shadow .2s ease,filter .2s ease; }
.gp-ai-starters button::after, .gp-ai-starters a::after { position: absolute; z-index: -1; right: -8px; bottom: -14px; opacity: .13; content: '🐾'; font-size: 3.9rem; filter: grayscale(1) brightness(5); transform: rotate(-13deg); }
.gp-ai-starters button:nth-child(1) { background: linear-gradient(145deg,#d71968,#f4489b); }
.gp-ai-starters button:nth-child(2) { background: linear-gradient(145deg,#0789c5,#1ab9ea); }
.gp-ai-starters button:nth-child(3) { background: linear-gradient(145deg,#6817c9,#a52cdb); }
.gp-ai-starters button:nth-child(4) { background: linear-gradient(145deg,#078b69,#17b88b); }
.gp-ai-starters button:nth-child(5) { background: linear-gradient(145deg,#dd7500,#ff9f08); }
.gp-ai-starters a:nth-child(6) { background: linear-gradient(145deg,#4037b8,#7164eb); }
.gp-ai-starters button:hover, .gp-ai-starters a:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(46,18,63,.23); filter: saturate(1.08); }
.gp-ai-starters span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); font-size: 1.25rem; }
.gp-ai-starters b { position: relative; z-index: 1; font-size: .72rem; line-height: 1.15; }
.gp-ai-starters small { position: relative; z-index: 1; color: rgba(255,255,255,.82); font-size: .56rem; line-height: 1.25; }

.gp-agent--consumer .gp-chat__messages { width: min(900px,100%); min-height: 0; flex: 1 1 auto; margin: 0 auto; padding: 28px 28px 16px; overflow-y: auto; overscroll-behavior: contain; background: #fff; scrollbar-width: none; }
.gp-agent--consumer .gp-chat__messages::-webkit-scrollbar { display: none; width: 0; height: 0; }
.gp-agent--consumer .gp-agent__workspace:not(.is-chatting) .gp-chat__messages { display: none; }
.gp-agent--consumer .gp-agent__workspace.is-chatting .gp-agent__welcome { display: none; }
.gp-agent--consumer .gp-message-row { max-width: 100%; margin-bottom: 22px; }
.gp-agent--consumer .gp-message-row--user { margin-left: auto; }
.gp-agent--consumer .gp-message-avatar { width: 36px; height: 36px; border-radius: 12px; }
.gp-agent--consumer .gp-message { max-width: min(720px,88%); padding: 13px 15px; border-radius: 18px; font-size: .9rem; line-height: 1.58; }
.gp-agent--consumer .gp-message--bot, .gp-agent--consumer .gp-message--loading, .gp-agent--consumer .gp-message--error { border: 0; background: #f6f2f8; box-shadow: none; }
.gp-agent--consumer .gp-message--user { border: 0; color: #2b2031; background: #fff1ae; box-shadow: none; }
.gp-agent--consumer .gp-message-speaker { color: #65576d; }

.gp-chat__composer-zone { position: relative; z-index: 8; display: flex; width: min(980px,calc(100% - 32px)); order: 4; flex: 0 0 auto; flex-direction: column; margin: auto auto 0; padding: 5px 0 12px; background: #fff; }
.gp-agent--consumer .gp-chat__attachment { width: min(900px,calc(100% - 36px)); margin: 0 auto 5px; }
.gp-agent--consumer .gp-chat__form { display: grid; min-height: 68px; order: 3; grid-template-columns: 44px minmax(0,1fr) 44px 44px; align-items: end; gap: 5px; margin: 0; padding: 9px; border: 1px solid #39353c; border-radius: 31px; background: #202021; box-shadow: 0 15px 38px rgba(18,12,24,.2); }
.gp-agent--consumer .gp-chat__form:focus-within { border-color: #8d61a0; box-shadow: 0 15px 40px rgba(26,12,32,.24),0 0 0 3px rgba(94,0,121,.08); transform: none; }
.gp-agent--consumer .gp-chat__form.has-content { border-color: #5d5063; }
.gp-agent--consumer .gp-chat__tool, .gp-agent--consumer .gp-chat__send { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; }
.gp-agent--consumer .gp-chat__tool { color: #d7d2da; background: transparent; }
.gp-agent--consumer .gp-chat__tool:hover { color: #fff; background: #373338; }
.gp-agent--consumer .gp-chat__tool--image { font-size: 1.45rem; font-weight: 400; }
.gp-agent--consumer .gp-chat__send { color: #171318; background: #fff; box-shadow: none; }
.gp-agent--consumer .gp-chat__send:disabled { color: #29252b; background: #fff; opacity: .82; cursor: default; }
.gp-agent--consumer [data-gopetia-chat][aria-busy="true"] .gp-chat__send { color: #fff; background: #6d2b87; opacity: 1; }
.gp-agent--consumer [data-gopetia-chat][aria-busy="true"] .gp-chat__send svg { animation: gp-send-working 1s linear infinite; }
.gp-agent--consumer .gp-chat__input-wrap { position: relative; display: block; padding: 3px 4px; }
.gp-agent--consumer .gp-chat__input-wrap label { display: none; }
.gp-agent--consumer .gp-chat__input-wrap textarea { position: relative; z-index: 2; min-height: 39px; max-height: 120px; padding: 8px 205px 6px 6px; color: #fff; background: transparent; caret-color: var(--gp-yellow); font-size: 16px; font-weight: 550; line-height: 1.45; }
.gp-agent--consumer .gp-chat__input-wrap textarea::placeholder { color: transparent; }
.gp-agent--consumer .gp-chat__typewriter { position: absolute; z-index: 1; top: 50%; right: auto; bottom: auto; left: 10px; display: block; max-width: calc(100% - 220px); overflow: hidden; color: #ddd9df; font-size: .88rem; font-weight: 550; line-height: 1.25; pointer-events: none; text-overflow: clip; white-space: nowrap; transform: translateY(-50%); }
.gp-chat__typewriter::after { display: inline-block; width: 2px; height: 1.08em; margin-left: 3px; background: var(--gp-yellow); content: ''; vertical-align: -.15em; animation: gp-composer-cursor .78s steps(1,end) infinite; }
.gp-chat__form.has-content .gp-chat__typewriter, .gp-chat__input-wrap:focus-within .gp-chat__typewriter { opacity: 0; }
.gp-chat__mode { position: absolute; z-index: 3; right: 42px; bottom: 11px; color: #928b96; font-size: .52rem; pointer-events: none; white-space: nowrap; }
.gp-chat__mode b { color: var(--gp-yellow); font-weight: 900; }
.gp-agent--consumer .gp-chat__input-wrap > [data-chat-counter] { position: absolute; z-index: 3; right: 4px; bottom: 10px; color: #706a73; font-size: .48rem; opacity: 0; transition: opacity .18s ease; }
.gp-agent--consumer .gp-chat__form.has-content [data-chat-counter] { opacity: 1; }
.gp-agent--consumer .gp-chat__composer-status, .gp-chat__safety { margin: 3px 0 0; color: #998f9e; font-size: .55rem; text-align: center; }
.gp-agent--consumer .gp-chat__composer-status { order: 2; }
.gp-chat__safety { order: 1; margin-top: 0; }
@keyframes gp-composer-cursor { 0%,45% { opacity: 1; } 46%,100% { opacity: 0; } }
@keyframes gp-send-working { to { transform: rotate(360deg); } }
.gp-agent--consumer .gp-chat-context { position: absolute; z-index: 24; top: 0; right: 0; bottom: 0; width: min(360px,92%); padding: 16px; border-left: 1px solid #e9e1ec; background: #fbfafc; box-shadow: -22px 0 55px rgba(31,0,56,.13); transform: translateX(105%); transition: transform .24s var(--ease); }
.gp-agent--consumer .gp-chat-context__head > button { display: grid; }
.gp-agent--consumer .is-context-open .gp-chat-context { transform: translateX(0); }
.gp-agent--consumer .is-context-open .gp-chat-drawer-overlay { display: block; }

/* Diálogos funcionales: Peti Card y recordatorios */
.gp-tool-dialog { width: min(1180px,calc(100% - 28px)); max-height: min(900px,calc(100dvh - 28px)); padding: 0; overflow: auto; border: 1px solid #dfd3e4; border-radius: 26px; color: #2a1834; background: #fff; box-shadow: 0 34px 90px rgba(28,9,38,.27); }
.gp-tool-dialog::backdrop { background: rgba(24,14,29,.58); backdrop-filter: blur(5px); }
.gp-tool-dialog__close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; color: #5b4b64; background: #f1edf3; cursor: pointer; font-size: 1.2rem; }
.gp-tool-dialog__head { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 14px; padding: 26px 64px 20px 26px; border-bottom: 1px solid #ece5ef; }
.gp-tool-dialog__head > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; background: #f2e9f6; font-size: 1.55rem; }
.gp-tool-dialog__head small { color: #815394; font-size: .63rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.gp-tool-dialog__head h2 { margin: 2px 0 3px; font-size: clamp(1.45rem,3vw,2.25rem); }
.gp-tool-dialog__head p { margin: 0; color: #7b6b82; font-size: .82rem; line-height: 1.45; }
.gp-peticard-layout, .gp-reminders-layout { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(340px,.82fr); gap: 24px; padding: 24px; }
.gp-tool-form { display: grid; gap: 13px; }
.gp-tool-form label { display: grid; gap: 5px; color: #5b4864; font-size: .68rem; font-weight: 800; }
.gp-tool-form input, .gp-tool-form select, .gp-tool-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ddd2e2; border-radius: 11px; color: #2c1b35; background: #fff; font: inherit; font-size: .82rem; outline: none; }
.gp-tool-form textarea { resize: vertical; }
.gp-tool-form input:focus, .gp-tool-form select:focus, .gp-tool-form textarea:focus { border-color: #925aa8; box-shadow: 0 0 0 3px rgba(94,0,121,.07); }
.gp-tool-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gp-tool-form .btn { justify-content: center; margin-top: 3px; }
.gp-tool-form__actions { display: flex; align-items: center; gap: 9px; }
.gp-tool-form__actions .btn { flex: 1 1 0; }
.gp-peticard-preview { position: sticky; top: 18px; align-self: start; min-height: 600px; padding: 20px; overflow: hidden; border: 1px solid #8a44a4; border-radius: 25px; color: #fff; background: radial-gradient(circle at 82% 15%,rgba(158,50,211,.34),transparent 30%),linear-gradient(150deg,#281032,#160b22); box-shadow: 0 24px 48px rgba(48,12,62,.23); }
.gp-peticard-preview__top { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 9px; }
.gp-peticard-preview__top img { width: 42px; height: 42px; border: 1px solid var(--gp-yellow); border-radius: 13px; }
.gp-peticard-preview__top span { font-size: .58rem; font-weight: 900; letter-spacing: .07em; }
.gp-peticard-preview__top b { color: #50df99; font-size: .5rem; }
.gp-peticard-preview__pet { display: flex; align-items: center; gap: 14px; margin: 28px 0 20px; }
.gp-peticard-preview__pet > span { display: grid; width: 88px; height: 88px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: #3f1c50; font-size: 2.8rem; }
.gp-peticard-preview__pet small { color: #cbb3d4; font-size: .55rem; font-weight: 900; letter-spacing: .08em; }
.gp-peticard-preview__pet h3 { margin: 3px 0; color: #fff; font-size: 1.7rem; }
.gp-peticard-preview__pet p { margin: 0; color: #d4c4da; font-size: .72rem; text-transform: capitalize; }
.gp-peticard-preview dl { display: grid; gap: 9px; margin: 0; }
.gp-peticard-preview dl div { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 9px; padding: 9px 11px; border-radius: 11px; background: rgba(255,255,255,.07); }
.gp-peticard-preview dt { color: #bba8c3; font-size: .58rem; }
.gp-peticard-preview dd { margin: 0; overflow: hidden; font-size: .68rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.gp-peticard-preview__privacy { margin: 20px 0 0; color: #aa9ab1; font-size: .55rem; text-align: center; }
.gp-peticard-head { grid-template-columns: 54px minmax(0,1fr) auto; }
.gp-peticard-head__score { display: grid; min-width: 76px; place-items: center; padding: 10px 12px; border: 1px solid #eaddef; border-radius: 17px; background: #faf6fb; }
.gp-peticard-head__score b { color: #6d0f8e; font-family: var(--font-display); font-size: 1.05rem; }
.gp-peticard-head__score small { color: #92799b; font-size: .46rem; font-weight: 900; letter-spacing: .08em; }
.gp-peticard-switcher { display: flex; align-items: center; gap: 10px; padding: 13px 24px; overflow-x: auto; border-bottom: 1px solid #eee6f0; background: #fcfafc; scrollbar-width: thin; }
.gp-peticard-switcher > div { display: flex; align-items: center; gap: 7px; }
.gp-peticard-switcher button { min-height: 36px; padding: 7px 12px; white-space: nowrap; border: 1px solid #e4d8e8; border-radius: 999px; color: #614b6b; background: #fff; cursor: pointer; font: inherit; font-size: .64rem; font-weight: 800; }
.gp-peticard-switcher button.is-active { color: #fff; border-color: #71119a; background: linear-gradient(135deg,#60107f,#9221bf); box-shadow: 0 8px 20px rgba(94,0,121,.18); }
.gp-peticard-switcher > button { margin-left: auto; color: #5e0079; border-style: dashed; }
.gp-peticard-switcher > button span { font-size: .9rem; }
.gp-peticard-form { min-width: 0; }
.gp-peticard-tabs { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; padding: 6px; border: 1px solid #e7dce9; border-radius: 16px; background: #f7f3f8; }
.gp-peticard-tabs button { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 5px; padding: 6px; border: 0; border-radius: 11px; color: #7b697f; background: transparent; cursor: pointer; font: inherit; font-size: .6rem; font-weight: 850; }
.gp-peticard-tabs button.is-active { color: #fff; background: #25112e; box-shadow: 0 8px 18px rgba(37,17,46,.18); }
.gp-peticard-panel { display: grid; gap: 13px; padding: 18px; border: 1px solid #e8ddeb; border-radius: 18px; background: linear-gradient(180deg,#fff,#fdfafd); }
.gp-peticard-panel[hidden] { display: none; }
.gp-peticard-section-head { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid #eee7f0; }
.gp-peticard-section-head > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg,#7814a2,#e42e91); font-size: 1.1rem; }
.gp-peticard-section-head h3 { margin: 0; color: #2d1936; font-size: .9rem; }
.gp-peticard-section-head p { margin: 2px 0 0; color: #88788e; font-size: .59rem; line-height: 1.4; }
.gp-check { display: flex!important; min-height: 42px; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #e8ddeb; border-radius: 12px; background: #fff; cursor: pointer; }
.gp-check input { width: 17px!important; min-height: 17px!important; accent-color: #6f0d93; }
.gp-check span { color: #604d68; font-size: .66rem; font-weight: 800; }
.gp-vaccine-module { display: grid; gap: 10px; margin-top: 3px; padding: 13px; border: 1px solid #e5d9e8; border-radius: 15px; background: #f9f5fa; }
.gp-vaccine-module__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gp-vaccine-module__head div { display: grid; gap: 2px; }
.gp-vaccine-module__head strong { font-size: .72rem; }
.gp-vaccine-module__head small { color: #8e7d94; font-size: .54rem; }
.gp-vaccine-module__head button,.gp-peticard-history-actions button,.gp-peticard-study-link button { min-height: 34px; padding: 7px 10px; border: 1px solid #dcccdf; border-radius: 10px; color: #661086; background: #fff; cursor: pointer; font: inherit; font-size: .58rem; font-weight: 850; }
.gp-vaccine-list { display: grid; gap: 8px; }
.gp-vaccine-row { display: grid; grid-template-columns: 1.1fr .85fr .9fr .85fr 28px; align-items: end; gap: 7px; padding: 9px; border: 1px solid #e6dce9; border-radius: 12px; background: #fff; }
.gp-vaccine-row label { font-size: .52rem; }
.gp-vaccine-row input { min-height: 37px; padding: 7px 8px; font-size: .65rem; }
.gp-vaccine-row button { display: grid; width: 28px; height: 28px; place-items: center; margin-bottom: 5px; border: 0; border-radius: 50%; color: #8a657e; background: #f2e9ef; cursor: pointer; }
.gp-vaccine-empty { margin: 0; padding: 14px; color: #918296; font-size: .6rem; text-align: center; }
.gp-peticard-history-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.gp-peticard-history-actions button { min-height: 44px; border-color: transparent; color: #fff; background: linear-gradient(135deg,#6a0d8d,#a626c6); }
.gp-peticard-history-actions button:first-child { background: linear-gradient(135deg,#0589bb,#14b9dc); }
.gp-peticard-study-link { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e7ddea; border-radius: 14px; background: #faf7fb; }
.gp-peticard-study-link > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #eee3f2; }
.gp-peticard-study-link div { display: grid; gap: 2px; }
.gp-peticard-study-link strong { font-size: .68rem; }
.gp-peticard-study-link small { color: #8b7b91; font-size: .55rem; }
.gp-privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gp-privacy-note { margin: 0; padding: 11px; border-radius: 12px; color: #64526c; background: #f3edf5; font-size: .59rem; line-height: 1.45; }
.gp-peticard-form__actions { position: sticky; bottom: 0; z-index: 2; margin: 0 -4px; padding: 10px 4px 4px; background: linear-gradient(180deg,rgba(255,255,255,0),#fff 25%); }
.gp-peticard-feedback { min-height: 1.3em; margin: -4px 0 0; color: #725b7c; font-size: .58rem; text-align: center; }
.gp-peticard-score-ring { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; margin-left: auto; border-radius: 50%; background: radial-gradient(circle,#24102d 56%,transparent 58%),conic-gradient(#ffd60a calc(var(--score) * 1%),rgba(255,255,255,.12) 0); }
.gp-peticard-score-ring strong { font-size: .72rem; }
.gp-peticard-score-ring small { margin-top: -15px; color: #cbb8d2; font-size: .4rem; font-weight: 900; letter-spacing: .06em; }
.gp-peticard-preview__pills { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 13px; }
.gp-peticard-preview__pills span { overflow: hidden; padding: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; color: #e4d8e8; background: rgba(255,255,255,.06); font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.gp-peticard-qr { display: grid; place-items: center; gap: 7px; margin-top: 16px; padding: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; background: rgba(255,255,255,.06); }
.gp-peticard-qr > div { display: grid; width: 154px; min-height: 154px; place-items: center; overflow: hidden; border-radius: 13px; color: #3a2142; background: #fff; text-align: center; }
.gp-peticard-qr svg,.gp-peticard-qr img { display: block; width: 142px; height: 142px; }
.gp-peticard-qr > div > span { font-size: 3rem; }
.gp-peticard-qr > div > small { max-width: 120px; margin-top: -35px; color: #765e80; font-size: .52rem; line-height: 1.35; }
.gp-peticard-qr p { margin: 0; color: #baa8c1; font-size: .5rem; }
.gp-peticard-preview__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.gp-peticard-preview__actions button { min-height: 38px; padding: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; font: inherit; font-size: .53rem; font-weight: 850; }
.gp-peticard-preview__actions button:last-child { grid-column: 1/-1; color: #2c1834; border-color: var(--gp-yellow); background: var(--gp-yellow); }
.gp-reminder-list-wrap { min-height: 360px; padding: 18px; border: 1px solid #e7ddea; border-radius: 18px; background: #faf8fb; }
.gp-reminder-list__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid #e6dce9; }
.gp-reminder-list__head strong { font-size: .84rem; }
.gp-reminder-list__head span { color: #88788f; font-size: .6rem; }
.gp-reminder-list { display: grid; gap: 8px; margin-top: 12px; }
.gp-reminder-empty { padding: 42px 12px; color: #918497; font-size: .74rem; text-align: center; }
.gp-reminder-item { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e7ddea; border-radius: 12px; background: #fff; }
.gp-reminder-item > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #f1e7f5; }
.gp-reminder-item > div { display: grid; min-width: 0; gap: 2px; }
.gp-reminder-item strong, .gp-reminder-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-reminder-item strong { font-size: .69rem; }
.gp-reminder-item small { color: #827588; font-size: .56rem; }
.gp-reminder-item__actions { display: flex; align-items: center; gap: 4px; }
.gp-reminder-item__actions button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; color: #806f87; background: #f2eef4; cursor: pointer; }
.gp-reminder-item__actions button:hover { color: var(--gp-purple); background: #e9dced; }
.gp-reminder-list__actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e6dce9; }
.gp-reminder-list__actions .btn { min-height: 40px; flex: 1 1 0; padding: .65rem .7rem; font-size: .67rem; }
.gp-reminder-feedback { min-height: 1.3em; margin: 7px 0 0; color: #76657e; font-size: .58rem; text-align: center; }
.gp-studies-layout { display: grid; gap: 16px; padding: 24px; }
.gp-study-list { display: grid; max-height: 480px; gap: 10px; overflow-y: auto; }
.gp-study-item { display: grid; grid-template-columns: 42px minmax(0,1fr) 32px; align-items: start; gap: 11px; padding: 13px; border: 1px solid #e5dbe9; border-radius: 15px; background: #fbf9fc; }
.gp-study-item > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg,#6817c9,#a52cdb); font-size: 1.15rem; }
.gp-study-item div { display: grid; min-width: 0; gap: 4px; }
.gp-study-item strong { overflow: hidden; color: #2b1834; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.gp-study-item time { color: #8c7d92; font-size: .56rem; }
.gp-study-item p { display: -webkit-box; margin: 2px 0 0; overflow: hidden; color: #67596e; font-size: .68rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.gp-study-item button { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 50%; color: #6a5c72; background: #eee8f1; cursor: pointer; }
.gp-study-actions { display: flex; gap: 10px; }
.gp-study-actions .btn { flex: 1 1 0; justify-content: center; }
.gp-study-privacy { margin: 0; color: #887b8e; font-size: .62rem; text-align: center; }

/* Landing consumer debajo de la aplicación */
.gp-consumer-intro { padding: clamp(4.5rem,8vw,8rem) 0; background: #fbfafc; }
.gp-consumer-intro .gp-section-head { text-align: center; }
.gp-consumer-intro .gp-section-head p { margin-inline: auto; }
.gp-consumer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 34px; }
.gp-consumer-grid article { min-height: 230px; padding: 24px; border: 1px solid #e7e0e9; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(36,18,44,.045); }
.gp-consumer-grid article > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: #f3eaf6; font-size: 1.35rem; }
.gp-consumer-grid h3 { margin: 34px 0 8px; font-size: 1.08rem; }
.gp-consumer-grid p { margin: 0; color: #786b7e; font-size: .82rem; line-height: 1.6; }
.gp-peticlips { position: relative; min-height: min(760px,62vw); overflow: hidden; background: #f5f0f8; }
.gp-peticlips > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gp-peticlips__shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 27%,rgba(255,255,255,.2) 54%,rgba(255,255,255,0) 76%); }
.gp-peticlips__content { position: relative; z-index: 2; display: flex; min-height: min(760px,62vw); align-items: flex-start; justify-content: center; flex-direction: column; }
.gp-peticlips__content h2 { max-width: 570px; margin: 10px 0 14px; font-size: clamp(2rem,4.6vw,4.8rem); line-height: .99; letter-spacing: -.055em; }
.gp-peticlips__content p { max-width: 480px; color: #6e6174; font-size: 1rem; line-height: 1.6; }
.gp-peticlips__content .btn { margin-top: 15px; }
.gp-memory { padding: clamp(4.5rem,8vw,8rem) 0; background: #201126; }
.gp-memory__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.8fr); align-items: center; gap: clamp(38px,7vw,96px); }
.gp-memory h2 { max-width: 680px; margin: 11px 0 17px; color: #fff; font-size: clamp(2.1rem,4vw,4.25rem); line-height: 1.02; letter-spacing: -.055em; }
.gp-memory p { max-width: 620px; color: #c5b8ca; font-size: .96rem; line-height: 1.65; }
.gp-memory .gp-kicker { color: var(--gp-yellow); }
.gp-memory .btn--light { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.gp-memory__cards { display: grid; gap: 10px; }
.gp-memory__cards article { display: grid; gap: 4px; padding: 19px; border: 1px solid rgba(255,255,255,.10); border-radius: 17px; background: rgba(255,255,255,.07); box-shadow: 0 18px 38px rgba(0,0,0,.12); }
.gp-memory__cards span { color: var(--gp-yellow); font-size: .55rem; font-weight: 900; letter-spacing: .07em; }
.gp-memory__cards b { color: #fff; font-size: .88rem; }
.gp-memory__cards small { color: #aa9caf; font-size: .65rem; }
.gp-origin-strip { padding: 32px 0; border-top: 1px solid #eee7f0; background: #fff; }
.gp-origin-strip .gp-wide { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.gp-origin-strip .gp-wide > div { display: grid; gap: 3px; }
.gp-origin-strip small { color: #8c7a94; font-size: .53rem; font-weight: 900; letter-spacing: .08em; }
.gp-origin-strip strong { color: #2c1837; font-size: .88rem; }
.gp-origin-strip span { color: #8a7c91; font-size: .64rem; }

@media(max-width:980px){
  .gp-ai-starters{grid-template-columns:repeat(3,1fr);max-width:720px}
  .gp-consumer-grid{grid-template-columns:1fr 1fr}
  .gp-memory__grid{grid-template-columns:1fr}
  .gp-memory__cards{grid-template-columns:repeat(3,1fr)}
  .gp-peticard-layout,.gp-reminders-layout{grid-template-columns:1fr}
  .gp-peticard-preview{position:static;min-height:540px}
}
@media(max-width:820px){
  body.admin-bar.home,body.admin-bar.home .site-main{height:calc(100dvh - 46px)}
  .admin-bar .gp-agent--consumer,.admin-bar .gp-agent--consumer .gp-agent__workspace{min-height:calc(100dvh - 46px)}
  .admin-bar .gp-agent--consumer .gp-chat-layout{height:calc(100dvh - 46px)}
  .gp-agent--consumer .gp-chat-layout{height:100dvh;min-height:0;grid-template-columns:minmax(0,1fr)}
  .gp-agent--consumer .gp-chat-sidebar{position:absolute;width:min(310px,88%);transform:translateX(-105%);transition:transform .22s var(--ease)}
  .gp-agent--consumer .is-sidebar-open .gp-chat-sidebar{transform:translateX(0)}
  .gp-agent--consumer .is-sidebar-open .gp-chat-drawer-overlay{display:block}
  .gp-agent--consumer .gp-chat__mobile-action{display:grid;color:#54445c;border-color:#e7dfe9;background:#f6f3f7}
  .gp-agent--consumer .gp-agent__welcome{padding:22px 18px 14px}
  .gp-agent--consumer .gp-agent__welcome h1{font-size:clamp(1.8rem,7vw,3.15rem)}
  .gp-agent--consumer .gp-chat__mode{display:none}
  .gp-memory__cards{grid-template-columns:1fr}
  .gp-peticlips,.gp-peticlips__content{min-height:650px}
  .gp-peticlips>img{object-position:64% center}
  .gp-peticlips__shade{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 46%,rgba(255,255,255,.2) 78%)}
}
@media(min-width:621px) and (max-height:720px){
  .gp-agent--consumer .gp-chat__head{min-height:56px;padding:7px 16px}
  .gp-agent--consumer .gp-chat__identity>img{width:38px;height:38px;border-radius:12px}
  .gp-agent--consumer .gp-agent__welcome{padding:8px 22px 6px}
  .gp-agent--consumer .gp-agent__character-wrap{width:62px;margin-bottom:4px}
  .gp-agent--consumer .gp-agent__online{right:0;bottom:2px;width:13px;height:13px;border-width:3px}
  .gp-agent--consumer .gp-kicker{font-size:.57rem}
  .gp-agent--consumer .gp-agent__welcome h1{max-width:760px;margin:.28rem auto .35rem;font-size:clamp(2rem,4.8vw,3.35rem);line-height:.96}
  .gp-agent--consumer .gp-agent__welcome>p{max-width:720px;font-size:.76rem;line-height:1.35}
  .gp-ai-starters{gap:7px;margin-top:10px}
  .gp-ai-starters button,.gp-ai-starters a{min-height:72px;grid-template-rows:29px auto;padding:8px 9px;border-radius:14px}
  .gp-ai-starters span{width:28px;height:28px;border-radius:9px;font-size:.95rem}
  .gp-ai-starters b{font-size:.61rem}
  .gp-ai-starters small{display:none}
  .gp-chat__composer-zone{padding-top:3px;padding-bottom:6px}
  .gp-agent--consumer .gp-chat__form{min-height:58px;grid-template-columns:40px minmax(0,1fr) 40px 40px;padding:7px}
  .gp-agent--consumer .gp-chat__tool,.gp-agent--consumer .gp-chat__send{width:38px;height:38px}
  .gp-agent--consumer .gp-chat__composer-status,.gp-chat__safety{display:none}
}
@media(min-width:621px) and (max-height:560px){
  .gp-agent--consumer .gp-agent__character-wrap{width:50px}
  .gp-agent--consumer .gp-agent__welcome h1{font-size:clamp(1.75rem,4vw,2.7rem)}
  .gp-agent--consumer .gp-agent__welcome>p{font-size:.7rem}
  .gp-ai-starters button,.gp-ai-starters a{min-height:60px;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto;align-items:center}
  .gp-ai-starters span{width:25px;height:25px}
}
@media(max-width:620px){
  .gp-agent--consumer{min-height:100dvh;padding:0}
  .gp-agent--consumer .gp-agent__workspace{width:100%;min-height:100dvh}
  .gp-agent--consumer .gp-chat-layout{height:100dvh;border-radius:0}
  .gp-agent--consumer .gp-chat__head{min-height:58px;padding:8px 10px}
  .gp-agent--consumer .gp-chat__identity>img{width:38px;height:38px;border-radius:12px}
  .gp-agent--consumer .gp-chat__name span{display:none}
  .gp-agent--consumer .gp-chat__head-actions button:first-child{display:none}
  .gp-agent--consumer .gp-agent__character-wrap{width:88px;margin-bottom:8px}
  .gp-agent--consumer .gp-agent__welcome{justify-content:flex-start;padding-top:28px}
  .gp-agent--consumer .gp-agent__welcome h1{font-size:clamp(1.65rem,8.4vw,2.4rem);line-height:1.05}
  .gp-agent--consumer .gp-agent__welcome>p{font-size:.78rem}
  .gp-ai-starters{grid-template-columns:1fr 1fr;gap:7px;margin-top:18px}
  .gp-ai-starters button,.gp-ai-starters a{min-height:90px;grid-template-rows:32px auto;padding:10px;border-radius:15px}
  .gp-ai-starters span{width:31px;height:31px;border-radius:10px;font-size:1.05rem}
  .gp-ai-starters small{display:none}
  .gp-agent--consumer .gp-chat__messages{padding:18px 11px 10px}
  .gp-agent--consumer .gp-message{font-size:.83rem;line-height:1.5}
  .gp-chat__composer-zone{width:calc(100% - 14px);padding:4px 0 calc(7px + env(safe-area-inset-bottom))}
  .gp-agent--consumer .gp-chat__form{min-height:60px;grid-template-columns:38px minmax(0,1fr) 38px 38px;padding:7px;border-radius:25px}
  .gp-agent--consumer .gp-chat__tool,.gp-agent--consumer .gp-chat__send{width:38px;height:38px}
  .gp-agent--consumer .gp-chat__input-wrap textarea{padding-right:5px;font-size:16px}
  .gp-agent--consumer .gp-chat__typewriter{left:8px;max-width:calc(100% - 12px);font-size:.79rem}
  .gp-chat__mode,.gp-agent--consumer .gp-chat__input-wrap>[data-chat-counter]{display:none}
  .gp-agent--consumer .gp-chat__composer-status,.gp-chat__safety{display:none}
  .gp-consumer-intro{padding:4rem 0}
  .gp-consumer-grid{grid-template-columns:1fr}
  .gp-consumer-grid article{min-height:auto}
  .gp-consumer-grid h3{margin-top:24px}
  .gp-peticlips,.gp-peticlips__content{min-height:680px}
  .gp-peticlips>img{object-position:72% center}
  .gp-peticlips__shade{background:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.95) 43%,rgba(255,255,255,.1) 78%)}
  .gp-peticlips__content{justify-content:flex-start;padding-top:50px}
  .gp-peticlips__content h2{max-width:430px;font-size:clamp(2rem,11vw,3.3rem)}
  .gp-peticlips__content p{max-width:360px;font-size:.82rem}
  .gp-tool-dialog{width:calc(100% - 14px);max-height:calc(100dvh - 14px);border-radius:20px}
  .gp-tool-dialog__head{grid-template-columns:42px minmax(0,1fr);padding:20px 52px 16px 16px}
  .gp-tool-dialog__head>span{width:42px;height:42px;border-radius:13px;font-size:1.2rem}
  .gp-peticard-layout,.gp-reminders-layout{padding:15px;gap:18px}
  .gp-peticard-head{grid-template-columns:42px minmax(0,1fr)}
  .gp-peticard-head__score{display:none}
  .gp-peticard-switcher{padding:10px 15px}
  .gp-peticard-switcher>button{margin-left:0}
  .gp-peticard-tabs{display:flex;overflow-x:auto;scrollbar-width:none}
  .gp-peticard-tabs button{min-width:88px}
  .gp-peticard-panel{padding:14px}
  .gp-tool-form__row{grid-template-columns:1fr}
  .gp-tool-form__actions{align-items:stretch;flex-direction:column}
  .gp-peticard-preview{min-height:520px}
  .gp-vaccine-row{grid-template-columns:1fr 1fr}
  .gp-vaccine-row button{margin:0;align-self:center}
  .gp-privacy-grid,.gp-peticard-history-actions{grid-template-columns:1fr}
  .gp-peticard-study-link{grid-template-columns:38px minmax(0,1fr)}
  .gp-peticard-study-link>button{grid-column:1/-1}
  .gp-peticard-preview__pet>span{width:68px;height:68px;border-radius:21px;font-size:2rem}
  .gp-reminder-list__actions{align-items:stretch;flex-direction:column}
  .gp-studies-layout{padding:15px}
  .gp-study-actions{align-items:stretch;flex-direction:column}
  .gp-origin-strip .gp-wide{grid-template-columns:1fr}
}

/* 5.1 — dashboard Pet Lover y manada multi-mascota. */
.gp-account-entry{display:grid!important;grid-template-columns:34px minmax(0,1fr) 18px!important;align-items:center;gap:9px!important;margin-bottom:5px!important;padding:8px!important;border:1px solid #352d3d!important;border-radius:13px!important;background:#241d2b!important;text-align:left!important}
.gp-account-entry>span:first-child,.gp-account-nav__head>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;color:#2a1438;background:linear-gradient(135deg,#fff2a8,#c878ff);font-weight:800}
.gp-account-entry>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.gp-account-entry b{overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap}.gp-account-entry small{color:#aaa0b0}.gp-account-entry i{color:#d5cadc;font-size:1.25rem;font-style:normal}
.gp-account-dialog{width:min(1040px,calc(100vw - 28px));max-width:none;height:min(690px,calc(100dvh - 28px));max-height:none;padding:0;border:1px solid #44384f;border-radius:24px;color:#f8f4fb;background:#1e1924;box-shadow:0 35px 100px rgba(15,6,22,.48)}
.gp-account-dialog::backdrop{background:rgba(22,13,28,.66);backdrop-filter:blur(9px)}.gp-account-shell{display:grid;height:100%;grid-template-columns:235px minmax(0,1fr)}
.gp-account-nav{display:flex;min-height:0;flex-direction:column;gap:5px;padding:20px 14px;border-right:1px solid #3b3143;background:#18131e}.gp-account-nav__head{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:18px;padding:0 7px}.gp-account-nav__head>span{width:42px;height:42px}.gp-account-nav__head div{display:flex;min-width:0;flex-direction:column}.gp-account-nav__head strong,.gp-account-nav__head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gp-account-nav__head small{color:#998ca0;font-size:.68rem}
.gp-account-nav>button,.gp-account-nav__bottom a{padding:11px 12px;border:0;border-radius:11px;color:#d8cedf;background:transparent;font:inherit;font-size:.82rem;font-weight:700;text-align:left;text-decoration:none;cursor:pointer}.gp-account-nav>button:hover,.gp-account-nav>button.is-active,.gp-account-nav__bottom a:hover{color:#fff;background:#33283c}.gp-account-nav__bottom{display:flex;flex-direction:column;margin-top:auto;padding-top:11px;border-top:1px solid #382e40}
.gp-account-content{position:relative;overflow-y:auto;padding:46px clamp(24px,5vw,64px);scrollbar-width:thin;scrollbar-color:#51435b transparent}.gp-account-close{position:absolute;top:15px;right:17px;width:36px;height:36px;border:0;border-radius:50%;color:#d7cddd;background:#352b3e;font-size:1.25rem;cursor:pointer}.gp-account-kicker{color:#ffc900;font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.gp-account-content h2{max-width:680px;margin:10px 0 8px;color:#fff;font-family:Syne,sans-serif;font-size:clamp(1.65rem,3vw,2.7rem);line-height:1.06}.gp-account-content p{max-width:680px;color:#ab9fb2}.gp-account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.gp-account-stats article{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-items:center;padding:17px;border:1px solid #43354e;border-radius:18px;background:#292130}.gp-account-stats article>span{grid-row:1/3;font-size:1.45rem}.gp-account-stats b{font-size:1.45rem}.gp-account-stats small{color:#a698ae}.gp-account-actions,.gp-account-data-actions{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.gp-account-actions button,.gp-account-data-actions button,.gp-account-data-actions label,.gp-account-primary{padding:11px 15px;border:1px solid #493958;border-radius:12px;color:#fff;background:#302639;font:inherit;font-size:.75rem;font-weight:800;cursor:pointer}.gp-account-primary{border-color:#862ab0;background:linear-gradient(135deg,#8b2db1,#6033d5)}.gp-account-next{margin-top:24px;padding:16px;border:1px solid #4b3b54;border-radius:15px;color:#e8deed;background:#251e2b}.gp-account-pets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:24px 0}.gp-account-pets button{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #44364f;border-radius:16px;color:#fff;background:#28202f;text-align:left;cursor:pointer}.gp-account-pets button.is-active{border-color:#a048ca;box-shadow:0 0 0 2px rgba(160,72,202,.15)}.gp-account-pets button>span:first-child{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:linear-gradient(135deg,#553076,#34225a);font-size:1.45rem}.gp-account-pets button>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.gp-account-pets small{color:#9f92a6}.gp-account-pets em{padding:5px 8px;border-radius:999px;color:#ffd900;background:#3b3043;font-size:.66rem;font-style:normal}.gp-account-care{display:grid;gap:9px;margin:22px 0}.gp-account-care article{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #40334a;border-radius:14px;background:#28202f}.gp-account-care article div{display:flex;flex-direction:column}.gp-account-care small{color:#9f92a6}.gp-account-empty{padding:20px;border:1px dashed #50405b;border-radius:15px;color:#a99daf!important}.gp-account-form{display:grid;max-width:620px;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.gp-account-form label{display:flex;flex-direction:column;gap:6px;color:#cfc4d5;font-size:.72rem;font-weight:700}.gp-account-form input{padding:12px;border:1px solid #4a3b54;border-radius:11px;outline:0;color:#fff;background:#27202d;font:inherit}.gp-account-form input:focus{border-color:#9a43c2}.gp-account-check{grid-column:1/-1;flex-direction:row!important;align-items:center}.gp-account-check input{accent-color:#8b2db1}.gp-account-form button,.gp-account-form p{grid-column:1/-1}.gp-account-form p{font-size:.72rem}.gp-account-data-actions .is-danger{color:#ffb4ba;border-color:#6b3942}.gp-account-content>div[hidden]{display:none!important}
@media(max-width:720px){.gp-account-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.gp-account-shell{grid-template-columns:1fr}.gp-account-nav{display:grid;grid-template-columns:repeat(6,1fr);align-items:center;padding:8px;border-right:0;border-bottom:1px solid #3b3143}.gp-account-nav__head,.gp-account-nav__bottom{display:none}.gp-account-nav>button{overflow:hidden;padding:9px 3px;font-size:.56rem;text-align:center;text-overflow:ellipsis;white-space:nowrap}.gp-account-content{padding:34px 16px 110px}.gp-account-stats{gap:6px}.gp-account-stats article{display:flex;flex-direction:column;padding:11px}.gp-account-pets{grid-template-columns:1fr}.gp-account-form{grid-template-columns:1fr}.gp-account-form label,.gp-account-form button,.gp-account-form p{grid-column:1}}

/* 5.2 — dashboard comercial dentro de Go PetiA. */
.gp-business-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.gp-business-metrics article{display:flex;flex-direction:column;padding:16px;border:1px solid #493a54;border-radius:16px;background:linear-gradient(145deg,#2d2335,#241c2a)}.gp-business-metrics b{color:#fff;font-size:1.45rem}.gp-business-metrics small{color:#a99cad}.gp-business-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.gp-business-grid form{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #44354f;border-radius:18px;background:#27202e}.gp-business-grid h3{margin:0 0 5px;color:#fff}.gp-business-grid label{display:flex;flex-direction:column;gap:5px;color:#cfc4d5;font-size:.69rem;font-weight:750}.gp-business-grid form>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gp-business-grid input,.gp-business-grid select,.gp-business-grid textarea{width:100%;padding:10px;border:1px solid #4b3b56;border-radius:10px;outline:0;color:#fff;background:#1d1722;font:inherit}.gp-business-grid input:focus,.gp-business-grid textarea:focus,.gp-business-grid select:focus{border-color:#a146c6}.gp-business-grid select option{color:#201525;background:#fff}.gp-business-grid form p{min-height:1em;margin:0;color:#cfb8d8;font-size:.68rem}.gp-business-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}.gp-business-offers article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:10px;padding:13px;border:1px solid #44364f;border-radius:15px;background:#28202f}.gp-business-offers article>span{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:#3b2b49;font-size:1.15rem}.gp-business-offers article div{min-width:0}.gp-business-offers b{display:block;color:#fff}.gp-business-offers p{display:-webkit-box;margin:3px 0!important;overflow:hidden;font-size:.67rem;-webkit-box-orient:vertical;-webkit-line-clamp:2}.gp-business-offers small{color:#c9b3d3}.gp-business-offers em{padding:4px 7px;border-radius:999px;color:#9df1c7;background:#214135;font-size:.58rem;font-style:normal}.gp-business-disclaimer{display:block;padding:11px;border-radius:10px;color:#b9aebe;background:#241c2a}
@media(max-width:720px){.gp-business-metrics{gap:6px}.gp-business-metrics article{padding:11px}.gp-business-grid{grid-template-columns:1fr}.gp-business-offers{grid-template-columns:1fr}.gp-business-grid form>div{grid-template-columns:1fr}}
.gp-account-register{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.gp-account-register>a:not(.gp-account-login){display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:14px;border:1px solid #493957;border-radius:15px;color:#fff;background:#2b2232;text-decoration:none}.gp-account-register>a:hover{border-color:#a149c5;background:#33283c}.gp-account-register>a>span{font-size:1.3rem}.gp-account-register a div{display:flex;flex-direction:column}.gp-account-register small{color:#a99cad;font-size:.65rem}.gp-account-register .gp-account-login{grid-column:1/-1;color:#d9cce0;font-size:.72rem;text-align:center}.gp-business-motivation{margin:0 0 18px;padding:13px 15px;border:1px solid #55405f;border-radius:13px;color:#eadff0;background:linear-gradient(135deg,#33243d,#292034);font-size:.74rem;font-weight:700}.gp-business-metrics b{font-size:clamp(.78rem,1.5vw,1.35rem)}
@media(max-width:620px){.gp-account-register{grid-template-columns:1fr}.gp-account-register .gp-account-login{grid-column:1}}
.gp-chat__wordmark{width:94px;height:auto;object-fit:contain}.gp-chat__identity>.gp-chat__wordmark+div .gp-chat__name strong{display:none}.gp-agent__brandmark{width:clamp(180px,22vw,285px);height:auto;margin:0 auto 2px;filter:drop-shadow(0 12px 18px rgba(55,6,94,.18))}.gp-agent--consumer .gp-agent__welcome{gap:7px}.gp-agent--consumer .gp-agent__welcome h1{margin-top:2px}.gp-agent__daily-tip{max-width:680px!important;margin-top:3px!important;padding:8px 13px;border:1px solid #eee3f2;border-radius:999px;color:#806d87!important;background:#fbf8fc;font-size:.72rem!important}.gp-account-entry>img,.gp-account-nav__head>img,.gp-account-entry [data-account-avatar],.gp-account-nav__head [data-account-avatar]{width:34px;height:34px;border-radius:50%;object-fit:cover}.gp-account-nav__head>img,.gp-account-nav__head [data-account-avatar]{width:42px;height:42px}.gp-profile-photo{display:grid;max-width:620px;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:15px;margin:22px 0;padding:15px;border:1px solid #463751;border-radius:16px;background:#28202f}.gp-profile-photo__avatar{display:grid;width:76px;height:76px;place-items:center;overflow:hidden;border:2px solid #9d48c2;border-radius:50%;color:#291437;background:linear-gradient(135deg,#fff1a5,#c46dff);font-size:1.6rem;font-weight:850}.gp-profile-photo__avatar img{width:100%;height:100%;object-fit:cover}.gp-profile-photo>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.gp-profile-photo small{color:#a99bad}.gp-profile-photo label{margin-top:4px;padding:7px 11px;border-radius:9px;color:#fff;background:#60307a;font-size:.68rem;font-weight:800;cursor:pointer}.gp-profile-photo p{margin:0!important;color:#ceb8d8!important;font-size:.65rem!important}
@media(max-width:620px){.gp-chat__wordmark{width:76px}.gp-agent__brandmark{width:170px}.gp-agent__daily-tip{border-radius:14px;font-size:.65rem!important}}

/* 5.3.1 — burbuja oficial y cuenta siempre visible. */
.gp-message-avatar,.gp-chat-sidebar__brand>img,.gp-personalize__head>img,.gp-chat-context__orb img{object-fit:contain!important;background:transparent!important;border-radius:0!important;filter:drop-shadow(0 5px 8px rgba(75,22,115,.2));animation:gp-petia-bubble 4.2s ease-in-out infinite;transform-origin:50% 70%}
.gp-message-avatar{padding:0!important}.gp-chat-sidebar__brand>img{width:46px;height:46px}.gp-personalize__head>img{width:72px;height:72px}
.gp-chat__account{display:grid;min-width:154px;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:8px;padding:5px 8px;border:1px solid #e5d9e9;border-radius:14px;color:#28162f;background:#fff;font:inherit;text-align:left;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.gp-chat__account:hover{border-color:#8b34a7;box-shadow:0 7px 18px rgba(48,22,58,.1);transform:translateY(-1px)}.gp-chat__account>img,.gp-chat__account>span:first-child{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;object-fit:cover;color:#fff;background:#6f288b;font-weight:850}.gp-chat__account>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.gp-chat__account b,.gp-account-entry b,.gp-account-nav__head strong{overflow:hidden;color:#f1c800;font-family:Syne,DM Sans,sans-serif;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.gp-chat__account b{color:#71288c;font-size:.72rem}.gp-chat__account small{color:#806f85;font-size:.56rem}.gp-chat__account i{color:#71288c;font-size:1rem;font-style:normal}
.gp-account-entry b,.gp-account-nav__head strong{color:#ffd400}.gp-account-entry{background:#241d2b!important}.gp-account-entry>span:first-child,.gp-account-nav__head>span{color:#fff;background:#6e2a87!important}
@keyframes gp-petia-bubble{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-3px) rotate(-1deg)}55%{transform:translateY(-3px) rotate(1deg)}}
@media(max-width:620px){.gp-chat__account{min-width:42px;grid-template-columns:34px;padding:4px}.gp-chat__account>span:nth-child(2),.gp-chat__account>i{display:none}}
@media(prefers-reduced-motion:reduce){.gp-message-avatar,.gp-chat-sidebar__brand>img,.gp-personalize__head>img,.gp-chat-context__orb img{animation:none}}

/* 5.3.2 — identidad limpia y perfil en la parte superior. */
.gp-account-entry--top{margin:0 0 10px!important}.gp-account-entry b,.gp-account-nav__head strong{color:#f7f1fa;font-family:"DM Sans",sans-serif;font-size:.76rem;font-weight:700;letter-spacing:0}.gp-account-entry:hover b{color:#d9a8ee}.gp-chat__account b{color:#65217d;font-family:"DM Sans",sans-serif;font-weight:700;letter-spacing:0}
.gp-agent--consumer .gp-chat__identity>.gp-chat__brand-avatar{width:44px;height:44px;padding:0;border:0!important;border-radius:0!important;background:transparent!important;object-fit:contain!important;filter:drop-shadow(0 4px 7px rgba(72,22,107,.18));animation:gp-petia-bubble 4.2s ease-in-out infinite}.gp-chat__identity>.gp-chat__brand-avatar+div .gp-chat__name strong{display:inline}.gp-chat__identity>.gp-chat__brand-avatar+div .gp-chat__name span{margin-left:5px}
@media(max-width:620px){.gp-agent--consumer .gp-chat__identity>.gp-chat__brand-avatar{width:39px;height:39px}.gp-account-entry--top{margin-bottom:8px!important}}
@media(prefers-reduced-motion:reduce){.gp-agent--consumer .gp-chat__identity>.gp-chat__brand-avatar{animation:none}}

/* 5.4 — experiencia móvil tipo WhatsApp. Escritorio no cambia. */
@media(max-width:720px){
  body:has(.gp-agent--consumer){overflow:hidden;overscroll-behavior:none}
  .gp-agent--consumer{height:var(--gp-mobile-height,100dvh);min-height:0!important;overflow:hidden;background:#f4f0f5}
  .admin-bar .gp-agent--consumer{height:calc(var(--gp-mobile-height,100dvh) - 46px);min-height:0!important}
  .gp-agent--consumer .gp-agent__workspace{height:100%;min-height:0!important;overflow:hidden}
  .admin-bar .gp-agent--consumer .gp-agent__workspace{height:100%;min-height:0!important}
  .gp-agent--consumer .gp-chat-layout,.admin-bar .gp-agent--consumer .gp-chat-layout{height:100%!important;min-height:0;overflow:hidden;grid-template-columns:minmax(0,1fr)}
  .gp-agent--consumer .gp-chat-main{display:flex;height:100%;min-height:0;overflow:hidden;flex-direction:column;background:#f4f0f5}
  .gp-agent--consumer .gp-chat__head{position:relative;z-index:20;min-height:58px;flex:0 0 58px;padding:7px 9px;border-bottom:1px solid #e3dce6;background:#fff;box-shadow:0 2px 8px rgba(35,18,42,.07);backdrop-filter:none}
  .gp-agent--consumer .gp-chat__identity{min-width:0;gap:7px}.gp-agent--consumer .gp-chat__identity>div{min-width:0}.gp-agent--consumer .gp-chat__name strong{font-size:.91rem}.gp-agent--consumer .gp-chat__identity small{display:flex;font-size:.54rem}
  .gp-agent--consumer .gp-chat__menu-action{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;color:#4b3554;background:#f1ecf3}
  .gp-agent--consumer .gp-chat__head-actions{gap:4px}.gp-agent--consumer .gp-chat__head-actions .gp-chat__account{display:grid;min-width:38px;width:38px;height:38px;grid-template-columns:30px;padding:4px;border:0;border-radius:50%;box-shadow:none}.gp-agent--consumer .gp-chat__account>img,.gp-agent--consumer .gp-chat__account>span:first-child{width:30px;height:30px}.gp-agent--consumer .gp-chat__head-actions .gp-chat__context-toggle{width:38px;min-height:38px;padding:0;justify-content:center;border:0;border-radius:50%}.gp-agent--consumer .gp-chat__context-toggle span{display:none}
  .gp-agent--consumer .gp-agent__welcome{display:flex;min-height:0;flex:1 1 auto;justify-content:center;padding:14px 14px 9px;overflow-y:auto;background:#fff}
  .gp-agent--consumer .gp-agent__brandmark{width:min(168px,46vw);margin-bottom:0}.gp-agent--consumer .gp-kicker{font-size:.54rem}.gp-agent--consumer .gp-agent__welcome h1{margin:3px auto 6px;font-size:clamp(1.55rem,8vw,2.25rem);line-height:1.02}.gp-agent--consumer .gp-agent__daily-tip{max-width:330px!important;margin:2px auto 8px!important;padding:7px 10px;font-size:.62rem!important;line-height:1.35}.gp-agent--consumer .gp-ai-starters{width:100%;justify-content:flex-start;margin-top:3px;padding-bottom:3px;overflow-x:auto}.gp-agent--consumer .gp-ai-starters button{min-height:42px;flex:0 0 auto;padding:8px 12px}
  .gp-agent--consumer .gp-agent__workspace.is-mobile-keyboard .gp-agent__brandmark,.gp-agent--consumer .gp-agent__workspace.is-mobile-keyboard .gp-kicker,.gp-agent--consumer .gp-agent__workspace.is-mobile-keyboard .gp-agent__daily-tip,.gp-agent--consumer .gp-agent__workspace.is-mobile-keyboard .gp-ai-starters{display:none}.gp-agent--consumer .gp-agent__workspace.is-mobile-keyboard .gp-agent__welcome{justify-content:flex-end;padding:6px 14px}.gp-agent--consumer .gp-agent__workspace.is-mobile-keyboard .gp-agent__welcome h1{margin:0;font-size:1.3rem}
  .gp-agent--consumer .gp-chat__messages{width:100%;min-height:0;max-height:none;flex:1 1 0;margin:0;padding:14px 9px 8px;overflow-y:auto;overscroll-behavior:contain;scroll-padding-bottom:12px;background:#f4f0f5;-webkit-overflow-scrolling:touch}
  .gp-agent--consumer .gp-message-row{width:100%;margin-bottom:9px;gap:6px}.gp-agent--consumer .gp-message-row--user{padding-left:15%;justify-content:flex-end}.gp-agent--consumer .gp-message-row--bot{padding-right:8%}.gp-agent--consumer .gp-message-avatar{width:29px;height:29px;flex:0 0 29px;align-self:flex-end}.gp-agent--consumer .gp-message-stack{max-width:calc(100% - 35px)}.gp-agent--consumer .gp-message{max-width:100%;padding:9px 11px;border-radius:11px;font-size:.86rem;line-height:1.42;box-shadow:0 1px 2px rgba(32,17,37,.1)}.gp-agent--consumer .gp-message--bot,.gp-agent--consumer .gp-message--loading,.gp-agent--consumer .gp-message--error{background:#fff}.gp-agent--consumer .gp-message--user{background:#fff0a8}.gp-agent--consumer .gp-message-speaker{margin:0 3px 3px;font-size:.56rem}.gp-agent--consumer .gp-message-row--user .gp-message-speaker{text-align:right}
  .gp-chat__composer-zone{position:relative;z-index:18;width:100%;flex:0 0 auto;margin:0;padding:7px 7px max(7px,env(safe-area-inset-bottom));border-top:1px solid #dfd7e2;background:#eeeaf0}
  .gp-agent--consumer .gp-chat__form{display:grid;min-height:50px;grid-template-columns:40px minmax(0,1fr) 40px 42px;align-items:end;gap:3px;margin:0;padding:3px;border:0;border-radius:0;background:transparent;box-shadow:none}.gp-agent--consumer .gp-chat__form:focus-within{border:0;box-shadow:none}
  .gp-agent--consumer .gp-chat__input-wrap{display:flex;min-height:44px;align-items:center;padding:2px 9px;border:1px solid #e0d9e3;border-radius:23px;background:#fff}.gp-agent--consumer .gp-chat__input-wrap textarea{min-height:38px;max-height:94px;padding:8px 3px;color:#2d2431;background:transparent;caret-color:#75268f;font-size:16px;font-weight:500;line-height:1.35}.gp-agent--consumer .gp-chat__typewriter{left:12px;max-width:calc(100% - 24px);color:#8b808f;font-size:.78rem}.gp-agent--consumer .gp-chat__tool,.gp-agent--consumer .gp-chat__send{width:40px;height:40px;align-self:center}.gp-agent--consumer .gp-chat__tool{color:#604b68;background:transparent}.gp-agent--consumer .gp-chat__tool--image{font-size:1.55rem}.gp-agent--consumer .gp-chat__tool--voice{color:#6e2a86}.gp-agent--consumer .gp-chat__send,.gp-agent--consumer .gp-chat__form.has-content .gp-chat__send{color:#fff;background:#6f2889;box-shadow:none}.gp-agent--consumer .gp-chat__send:disabled{color:#fff;background:#9b8fa0;opacity:1}.gp-agent--consumer .gp-chat__mode,.gp-agent--consumer .gp-chat__input-wrap>[data-chat-counter],.gp-agent--consumer .gp-chat__composer-status,.gp-chat__safety{display:none}
  .gp-agent--consumer .gp-chat__attachment{width:calc(100% - 14px);margin:0 auto 5px;border-radius:13px}
  .gp-quick-tools{position:absolute;right:7px;bottom:62px;left:7px;width:auto;max-height:min(64vh,500px);border-radius:18px}.gp-quick-tools__grid{max-height:48vh}
  .gp-agent--consumer .gp-chat-sidebar,.gp-agent--consumer .gp-chat-context{top:0;bottom:0;height:100%}.gp-agent--consumer .gp-chat-sidebar{width:min(320px,88vw)}.gp-agent--consumer .gp-chat-context{width:min(360px,94vw)}
  .gp-agent--consumer .gp-inline-results{width:100%;margin:8px 0}.gp-agent--consumer .gp-inline-results__grid{padding-bottom:3px}.gp-agent--consumer .gp-inline-product{min-width:278px}
}

/* 5.7 — navegación de cuenta legible y paneles separados por tipo de perfil. */
.gp-account-nav>button[hidden]{display:none!important}
.gp-plan-usage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}.gp-plan-usage article{display:flex;min-height:86px;flex-direction:column;justify-content:space-between;padding:14px;border:1px solid #493a54;border-radius:16px;background:#28202f}.gp-plan-usage span{color:#aa9cae;font-size:.68rem}.gp-plan-usage b{color:#fff;font-size:1.2rem}.gp-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:22px 0}.gp-plan-grid>article{display:flex;min-height:330px;flex-direction:column;padding:18px;border:1px solid #493a54;border-radius:18px;background:#28202f}.gp-plan-grid>article[hidden]{display:none!important}.gp-plan-grid>article.is-current{border-color:#ffd400;box-shadow:inset 0 0 0 1px #ffd400}.gp-plan-grid article>small{color:#c49bd3;font-size:.56rem;font-weight:900;letter-spacing:.09em}.gp-plan-grid h3{margin:7px 0;color:#fff;font-size:1.15rem}.gp-plan-price{margin:3px 0 14px!important;color:#b6a9bb!important}.gp-plan-price b{color:#ffd400;font-size:1.5rem}.gp-plan-price span{font-size:.65rem}.gp-plan-grid ul{display:grid;gap:7px;margin:0 0 18px;padding:0;list-style:none}.gp-plan-grid li{color:#c9bdce;font-size:.68rem}.gp-plan-grid li::before{margin-right:6px;color:#65dda1;content:'✓'}.gp-plan-grid a{display:flex;min-height:40px;align-items:center;justify-content:center;margin-top:auto;border:1px solid #714684;border-radius:11px;color:#fff;background:#5f2d73;font-size:.72rem;font-weight:850;text-decoration:none}.gp-plan-grid .is-current a{border-color:#62546a;color:#d2c8d6;background:#352d3a;pointer-events:none}
.gp-plan-current{display:flex;align-items:center;gap:12px;margin:20px 0 0;padding:14px 16px;border:1px solid #4b3c55;border-radius:16px;background:#28202f}.gp-plan-current span{color:#ffd400;font-size:.64rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.gp-plan-current strong{color:#fff;font-size:1rem}.gp-plan-current small{margin-left:auto;color:#aa9cae;font-size:.66rem;text-align:right}.gp-plan-notice{margin:12px 0 0;padding:12px 14px;border:1px solid #714684;border-radius:13px;color:#f7effa;background:#33243c;font-size:.76rem;font-weight:700}.gp-plan-notice[data-type="success"]{border-color:#3d9b70;background:#20382f}.gp-plan-notice[data-type="error"]{border-color:#bc5262;background:#3b242a}.gp-plan-trust{margin:8px 0 0!important;color:#aa9cae!important;font-size:.68rem!important;text-align:center}
@media(max-width:720px){
  .gp-account-nav{position:sticky;z-index:5;top:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:9px 10px;border-bottom:1px solid #3b3143;background:#18131e}
  .gp-account-nav>button{display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;gap:5px;padding:7px 6px;border:1px solid #3b3044;border-radius:11px;color:#cfc4d6;background:#241c2a;font-size:.66rem;font-weight:750;line-height:1.15;text-align:center;white-space:normal}
  .gp-account-nav>button:hover{color:#fff;background:#302638}.gp-account-nav>button.is-active{border-color:#7d418f;color:#fff;background:#523060;box-shadow:inset 0 0 0 1px #69407a}
  .gp-account-content{padding:32px 13px 110px}.gp-account-content h2{font-size:clamp(1.65rem,8vw,2.15rem)}
  .gp-account-close{z-index:8;top:106px;right:13px}
	.gp-plan-usage{grid-template-columns:1fr;gap:7px}.gp-plan-usage article{min-height:66px}.gp-plan-grid{grid-template-columns:1fr}.gp-plan-grid>article{min-height:0}.gp-plan-grid ul{grid-template-columns:1fr 1fr}
	.gp-plan-current{align-items:flex-start;flex-direction:column;gap:5px}.gp-plan-current small{margin-left:0;text-align:left}
}
@media(max-width:390px){.gp-account-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-account-close{top:157px}}

/* 5.6.3 — selector de idioma siempre visible en el encabezado móvil. */
@media(max-width:720px){
  body.home .gp-chat__head-actions>.locale-selector{display:block!important;position:relative;flex:0 0 auto}
  body.home .gp-chat__head-actions>.locale-selector>.locale-toggle,
  body.home .gp-chat__head-actions button.locale-toggle:first-child{display:inline-flex!important;width:42px!important;min-width:42px!important;height:42px!important;align-items:center;justify-content:center;gap:0;padding:0!important;border:1px solid #dfd5e3!important;border-radius:14px!important;color:#59236b;background:#faf7fb!important;box-shadow:none}
  body.home .gp-chat__head-actions .locale-toggle::before{content:'🌐';font-size:1rem;line-height:1}
  body.home .gp-chat__head-actions .locale-toggle__label{position:absolute;right:2px;bottom:1px;display:grid;min-width:18px;height:14px;place-items:center;padding:0 2px;border-radius:6px;color:#fff;background:#6f2889;font-size:.45rem;font-weight:900;line-height:1}
  body.home .gp-chat__head-actions .locale-toggle svg{display:none!important}
  body.home .gp-chat__head-actions .locale-menu{position:fixed;z-index:80;top:66px;right:7px;width:min(290px,calc(100vw - 14px));max-height:calc(var(--gp-mobile-height,100dvh) - 78px);overflow-y:auto}
}

/* 5.6.2 — compositor móvil tipo WhatsApp y cierre del teclado al enviar. */
@media(max-width:720px){
  body.home .gp-chat__composer-zone{padding:6px 7px max(7px,env(safe-area-inset-bottom));background:#eee9ef}
  body.home .gp-chat__form{min-height:52px;grid-template-columns:42px minmax(0,1fr) 42px 44px;align-items:center;gap:3px;padding:3px;border:0;border-radius:0;background:transparent;box-shadow:none}
  body.home .gp-chat__input-wrap{min-height:46px;padding:2px 11px;border:1px solid #d8d0db;border-radius:24px;background:#fff;box-shadow:0 1px 3px rgba(38,22,43,.08)}
  body.home .gp-chat__input-wrap textarea{min-height:40px;max-height:100px;padding:9px 2px;font-size:16px;line-height:1.32}
  body.home .gp-chat__tool,body.home .gp-chat__send{width:42px;height:42px;align-self:center;border-radius:50%}
  body.home .gp-chat__tool--image{color:#5d4865;background:transparent;font-size:1.55rem}
  body.home .gp-chat__tool--voice{color:#6e2a86;background:#fff;box-shadow:0 1px 3px rgba(38,22,43,.08)}
  body.home .gp-chat__send,body.home .gp-chat__form.has-content .gp-chat__send{width:44px;height:44px;color:#fff;background:#6f2889;box-shadow:0 2px 6px rgba(72,26,88,.2)}
}

/* 5.6.1 — shell móvil aislado: el teclado nunca expone la landing ni el footer. */
@media(max-width:720px){
  html:has(body.home),body.home{width:100%;height:100%;max-height:100%;overflow:hidden!important;overscroll-behavior:none}
  body.home{position:fixed;inset:0;margin:0}
  body.home .site-main{position:fixed;z-index:1;inset:0;width:100%;height:100%!important;overflow:hidden!important}
  body.home .site-main>.gp-agent--consumer~*,body.home>.site-footer{display:none!important}
  body.home .gp-agent--consumer{position:fixed!important;z-index:5;top:var(--gp-mobile-top,0px);right:0;bottom:auto;left:0;width:100%;height:var(--gp-mobile-height,100dvh)!important;min-height:0!important;max-height:var(--gp-mobile-height,100dvh)!important;margin:0;overflow:hidden!important;contain:layout paint}
  body.home.admin-bar .gp-agent--consumer{top:var(--gp-mobile-top,46px);height:calc(var(--gp-mobile-height,100dvh) - var(--gp-admin-offset,46px))!important;max-height:calc(var(--gp-mobile-height,100dvh) - var(--gp-admin-offset,46px))!important}
  body.home .gp-agent__workspace,body.home .gp-chat-layout,body.home .gp-chat-main{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
  body.home .gp-chat__messages{min-height:0!important;flex:1 1 0!important;overflow-y:auto!important}
  body.home .gp-chat__composer-zone{position:relative!important;right:auto;bottom:auto;left:auto;flex:0 0 auto!important;transform:none!important}
  body.home .gp-chat__form{flex:0 0 auto}
  body.home .gp-agent__workspace.is-mobile-keyboard .gp-chat__head{min-height:54px;flex-basis:54px;padding-block:5px}
  body.home .gp-agent__workspace.is-mobile-keyboard .gp-chat__identity>.gp-chat__brand-avatar{width:40px;height:40px;flex-basis:40px}
}

/* 5.4.1 — cuenta y menú con controles propios de PetiA. */
.gp-chat__account{min-width:174px;grid-template-columns:40px minmax(0,1fr) 18px;gap:9px;padding:6px 9px 6px 7px;border:1px solid #ddd1e2;border-radius:18px;background:#faf7fb;box-shadow:0 5px 16px rgba(46,25,53,.07)}.gp-chat__account:hover{border-color:#a977b8;background:#fff;box-shadow:0 8px 22px rgba(46,25,53,.12);transform:translateY(-1px)}.gp-chat__account>img,.gp-chat__account>span:first-child{width:40px;height:40px;border-radius:13px;object-fit:cover;background:#efe8f1}.gp-chat__account b{color:#50215f;font-size:.76rem;line-height:1.2}.gp-chat__account small{margin-top:2px;color:#8a7d8e;font-size:.6rem}.gp-chat__account i{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;color:#fff;background:#6f2889;font-size:.8rem}
.gp-account-entry--top{min-height:58px;padding:8px 9px!important;border-color:#3c3045!important;border-radius:16px!important;background:#211927!important}.gp-account-entry--top:hover{border-color:#634c70!important;background:#292031!important}.gp-account-entry--top>img{width:39px;height:39px;border-radius:12px;object-fit:cover}.gp-account-entry--top b{font-size:.78rem}.gp-account-entry--top small{margin-top:2px;font-size:.59rem}
.gp-chat__menu-action{position:relative;display:none!important;align-content:center;justify-content:center;gap:4px;padding:0!important;border:1px solid #ded3e2!important;border-radius:13px!important;background:#f7f2f8!important;box-shadow:none}.gp-chat__menu-action span{display:block;width:18px;height:2px;border-radius:999px;background:#5f276f;transition:transform .2s ease,opacity .2s ease,width .2s ease}.gp-chat__menu-action span:nth-child(2){width:13px;justify-self:start}.gp-chat__menu-action:hover{border-color:#a77bb5!important;background:#fff!important}.gp-chat__menu-action[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}.gp-chat__menu-action[aria-expanded="true"] span:nth-child(2){opacity:0}.gp-chat__menu-action[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:1180px){.gp-chat__menu-action{display:grid!important}}
@media(max-width:720px){.gp-agent--consumer .gp-chat__menu-action{display:grid!important;width:40px;height:40px;flex:0 0 40px;border-radius:13px!important;background:#f5eff7!important}.gp-agent--consumer .gp-chat__head-actions .gp-chat__account{display:grid;width:42px;min-width:42px;height:42px;grid-template-columns:34px;padding:4px;border:1px solid #e0d5e4;border-radius:14px;box-shadow:none}.gp-agent--consumer .gp-chat__head-actions .gp-chat__account>img,.gp-agent--consumer .gp-chat__head-actions .gp-chat__account>span:first-child{width:34px;height:34px;border-radius:11px}.gp-agent--consumer .gp-chat__head-actions .gp-chat__account>span:nth-child(2),.gp-agent--consumer .gp-chat__head-actions .gp-chat__account>i{display:none}}

/* 5.5 — saludo fluido e idioma siempre disponible. */
.gp-agent__welcome [data-petia-greeting]{display:inline;transition:font-size .18s ease}.gp-agent__welcome [data-petia-greeting].is-name-long{font-size:.82em;letter-spacing:-.035em}.gp-agent__welcome [data-petia-greeting].is-name-very-long{font-size:.68em;overflow-wrap:anywhere}.gp-chat__head-actions>.locale-selector{z-index:42}.gp-chat__head-actions .locale-toggle{min-height:42px;padding:7px 10px;border-color:#ddd2e1;color:#582269;background:#faf7fb}.gp-chat__head-actions .locale-toggle:hover{border-color:#a577b4;background:#fff}.gp-chat__head-actions .locale-menu{top:calc(100% + 8px);right:0;left:auto;z-index:60;min-width:220px}
@media(max-width:720px){.gp-agent__welcome [data-petia-greeting].is-name-long{font-size:.74em}.gp-agent__welcome [data-petia-greeting].is-name-very-long{font-size:.6em}.gp-chat__head-actions>.locale-selector{display:block;margin:0}.gp-chat__head-actions .locale-toggle{width:42px;height:42px;justify-content:center;gap:2px;padding:4px;border-radius:14px}.gp-chat__head-actions .locale-toggle svg{display:none}.gp-chat__head-actions .locale-toggle__label{font-size:.7rem}.gp-chat__head-actions .locale-menu{position:fixed;top:60px;right:7px;width:min(280px,calc(100vw - 14px));max-height:calc(var(--gp-mobile-height,100dvh) - 72px);overflow-y:auto}.gp-agent--consumer .gp-chat__head-actions{display:flex;align-items:center}.gp-agent--consumer .gp-chat__name{max-width:120px}.gp-agent--consumer .gp-chat__name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:720px) and (max-height:680px){.gp-agent--consumer .gp-agent__brandmark{width:124px}.gp-agent--consumer .gp-agent__welcome{padding-top:7px}.gp-agent--consumer .gp-agent__daily-tip{margin-bottom:3px!important}.gp-agent--consumer .gp-ai-starters button{min-height:38px;padding:6px 10px}}
@media(max-width:390px){.gp-agent--consumer .gp-chat__identity small{display:none}.gp-agent--consumer .gp-chat__name{max-width:82px}.gp-agent--consumer .gp-chat__head-actions{gap:2px}.gp-agent--consumer .gp-chat__head-actions .gp-chat__account,.gp-chat__head-actions .locale-toggle{width:38px;min-width:38px;height:38px}.gp-agent--consumer .gp-chat__head-actions .gp-chat__account>img{width:30px;height:30px}}

/* 5.6 — conversación móvil cálida, clara y familiar. */
.gp-message-meta{display:block;margin-top:4px;color:#8c7f91;font-size:.52rem;font-weight:650;line-height:1;text-align:right;white-space:nowrap}.gp-message--user .gp-message-meta{color:#7a650d}
@media(max-width:720px){
  .gp-agent--consumer .gp-chat__head{min-height:64px;flex-basis:64px;padding:7px 8px;background:#fff}
  .gp-agent--consumer .gp-chat__identity>.gp-chat__brand-avatar{width:46px;height:46px;flex:0 0 46px;filter:drop-shadow(0 4px 7px rgba(72,22,107,.2))}
  .gp-agent--consumer .gp-chat__name strong{font-size:1rem}.gp-agent--consumer .gp-chat__identity small{font-size:.58rem;color:#6c5e72}
  .gp-agent--consumer .gp-chat__messages{padding:12px 8px 9px;background:#f3eef4}
  .gp-agent--consumer .gp-message-row{margin-bottom:7px}.gp-agent--consumer .gp-message-row--user{padding-left:18%}.gp-agent--consumer .gp-message-row--bot{padding-right:5%}
  .gp-agent--consumer .gp-message{padding:8px 10px 6px;border-radius:13px;font-size:.87rem;line-height:1.38}.gp-agent--consumer .gp-message--bot{border-bottom-left-radius:3px;background:#fff}.gp-agent--consumer .gp-message--user{border-bottom-right-radius:3px;background:#fff0a8}
  .gp-agent--consumer .gp-message--bot::after{bottom:0;left:-5px;width:10px;height:10px;border:0;background:#fff}.gp-agent--consumer .gp-message--user::after{right:-5px;bottom:0;width:10px;height:10px;border:0;background:#fff0a8}
  .gp-agent--consumer .gp-message-speaker{font-size:.6rem;font-weight:800}.gp-agent--consumer .gp-message-meta{font-size:.5rem}
  .gp-agent--consumer .gp-chat__composer-zone{background:#eee9ef}.gp-agent--consumer .gp-chat__input-wrap{border-color:#d9d0dc;box-shadow:0 1px 2px rgba(38,22,43,.06)}
  .gp-agent--consumer .gp-chat__send{transition:transform .16s ease,background .16s ease}.gp-agent--consumer .gp-chat__send:not(:disabled):active,.gp-agent--consumer .gp-chat__tool:active{transform:scale(.88)}
}

/* 5.0.1 — menú agente en “+” y controles centrados. */
.gp-agent--consumer .gp-chat__form{align-items:center}
.gp-agent--consumer .gp-chat__tool,.gp-agent--consumer .gp-chat__send{align-self:center;justify-self:center}
.gp-agent--consumer .gp-chat__input-wrap{align-self:center;width:100%}
.gp-quick-tools{right:auto;left:0;width:min(540px,calc(100vw - 28px));padding:10px;border-color:#413d43;border-radius:17px;color:#f7f5f8;background:#242425;box-shadow:0 26px 70px rgba(10,8,12,.38);backdrop-filter:blur(22px)}
.gp-quick-tools__head{align-items:center;padding:4px 6px 9px}
.gp-quick-tools__head strong{color:#fff;font-size:.75rem}
.gp-quick-tools__head small{color:#9f9aa2;font-size:.54rem}
.gp-quick-tools__head>button{color:#d8d4da;background:#39363a}
.gp-quick-tools__head>button:hover{color:#fff;background:#4a454c}
.gp-quick-tools__search{display:grid;min-height:38px;grid-template-columns:28px minmax(0,1fr);align-items:center;margin:0 0 6px;padding:0 9px;border:1px solid #454146;border-radius:11px;color:#aaa4ad;background:#303031}
.gp-quick-tools__search span{font-size:1.15rem;text-align:center}
.gp-quick-tools__search input{width:100%;min-width:0;padding:7px;border:0;outline:0;color:#fff;background:transparent;font:inherit;font-size:.65rem}
.gp-quick-tools__search input::placeholder{color:#979198}
.gp-quick-tools__grid{display:grid;max-height:min(410px,60vh);grid-template-columns:1fr;gap:2px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#575159 transparent}
.gp-quick-tools__grid button,.gp-quick-tools__grid a{display:grid;min-height:48px;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:0 8px;padding:7px 9px;border:0;border-radius:10px;color:#f5f2f6;background:transparent;cursor:pointer;text-align:left;text-decoration:none}
.gp-quick-tools__grid button:hover,.gp-quick-tools__grid a:hover{border:0;color:#fff;background:#383638;transform:none}
.gp-quick-tools__grid span{display:grid;width:30px;height:30px;grid-row:1/3;place-items:center;border-radius:8px;background:#3a373c;font-size:.9rem}
.gp-quick-tools__grid b{font-size:.66rem;font-weight:700}
.gp-quick-tools__grid small{overflow:hidden;color:#9d979f;font-size:.54rem;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:620px){
  .gp-quick-tools{right:0;left:0;width:calc(100% - 4px);padding:8px}
  .gp-quick-tools__grid{grid-template-columns:1fr;max-height:52vh}
  .gp-quick-tools__grid button,.gp-quick-tools__grid a{min-height:46px}
}

/* 4.6 — PetiA Focus: conversación primero, capacidades bajo demanda. */
[hidden]{display:none!important}
.gp-agent--consumer .gp-chat-layout{grid-template-columns:minmax(0,1fr)}
.gp-agent--consumer .gp-chat-sidebar{position:absolute;z-index:30;top:0;bottom:0;left:0;width:min(286px,88vw);border-right:1px solid rgba(255,255,255,.08);box-shadow:22px 0 60px rgba(20,10,27,.24);transform:translateX(-105%);transition:transform .24s var(--ease)}
.gp-agent--consumer .is-sidebar-open .gp-chat-sidebar{transform:translateX(0)}
.gp-agent--consumer .is-sidebar-open .gp-chat-drawer-overlay,.gp-agent--consumer .is-context-open .gp-chat-drawer-overlay{display:block}
.gp-agent--consumer .gp-chat__mobile-action{display:grid}
.gp-agent--consumer .gp-chat-main{background:linear-gradient(180deg,#fff 0%,#fdfbfd 100%)}
.gp-agent--consumer .gp-chat__head{min-height:58px;padding:7px 16px}
.gp-agent--consumer .gp-chat__identity>img{width:38px;height:38px;border-radius:12px}
.gp-agent--consumer .gp-chat__name strong{font-size:.94rem}
.gp-agent--consumer .gp-chat__name span{font-size:.46rem}
.gp-agent--consumer .gp-chat__identity small{font-size:.56rem}
.gp-agent--consumer .gp-chat__head-actions button{min-height:34px;padding:.42rem .65rem}
.gp-agent--consumer .gp-agent__welcome{max-width:780px;justify-content:center;padding:clamp(22px,5vh,64px) 20px 18px}
.gp-agent--consumer .gp-agent__character-wrap{width:clamp(76px,8vw,108px);margin-bottom:10px}
.gp-agent--consumer .gp-agent__welcome h1{max-width:720px;margin:.25rem auto .45rem;font-size:clamp(2rem,4.4vw,3.65rem);line-height:1.01;letter-spacing:-.045em}
.gp-agent--consumer .gp-agent__welcome>p{max-width:560px;color:#807487;font-size:.84rem}
.gp-ai-starters{display:flex;max-width:560px;justify-content:center;gap:8px;margin-top:18px}
.gp-ai-starters button,.gp-ai-starters a{display:inline-flex;min-height:42px;width:auto;grid-template-columns:none;grid-template-rows:none;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;background:#fff}
.gp-ai-starters span{width:auto;height:auto;background:transparent!important;font-size:1rem}
.gp-ai-starters b{font-size:.67rem}
.gp-ai-starters small{display:none}
.gp-agent--consumer .gp-chat__messages{width:min(820px,100%);padding:24px 22px 12px}
.gp-chat__composer-zone{width:min(860px,calc(100% - 28px));padding-bottom:10px}
.gp-agent--consumer .gp-chat__form{min-height:62px;grid-template-columns:42px minmax(0,1fr) 42px 42px;padding:8px;border-color:#3a353c;box-shadow:0 12px 30px rgba(18,12,24,.16)}
.gp-agent--consumer .gp-chat__input-wrap textarea{padding-right:150px}
.gp-agent--consumer .gp-chat__typewriter{max-width:calc(100% - 168px)}
.gp-chat__safety{font-size:.51rem}
.gp-quick-tools{position:absolute;z-index:40;right:0;bottom:82px;left:0;width:min(640px,100%);margin:auto;padding:14px;border:1px solid #e3d9e7;border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 24px 70px rgba(30,14,38,.22);backdrop-filter:blur(18px)}
.gp-quick-tools__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:2px 3px 12px}
.gp-quick-tools__head div{display:grid;gap:2px}
.gp-quick-tools__head strong{color:#281531;font-size:.78rem}
.gp-quick-tools__head small{color:#817487;font-size:.58rem}
.gp-quick-tools__head>button{width:30px;height:30px;border:0;border-radius:50%;color:#5a4862;background:#f1ecf3;cursor:pointer;font-size:1rem}
.gp-quick-tools__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gp-quick-tools__grid button{display:grid;min-height:80px;grid-template-columns:35px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 9px;padding:10px;border:1px solid #e8dfea;border-radius:15px;color:#35213f;background:#fff;cursor:pointer;text-align:left}
.gp-quick-tools__grid button:hover{border-color:#bb91ca;background:#fcf8fd;transform:translateY(-1px)}
.gp-quick-tools__grid span{display:grid;width:35px;height:35px;grid-row:1/3;place-items:center;border-radius:11px;background:#f3eaf7;font-size:1rem}
.gp-quick-tools__grid b{font-size:.65rem}
.gp-quick-tools__grid small{overflow:hidden;color:#897a90;font-size:.51rem;text-overflow:ellipsis;white-space:nowrap}
.gp-agent--consumer .gp-chat-context{z-index:31;width:min(380px,92vw)}
.gp-agent--consumer .gp-inline-results{width:min(820px,calc(100% - 28px))}
.gp-agent--consumer .gp-consumer-grid article{box-shadow:none}
@media(max-width:620px){
  .gp-agent--consumer .gp-chat__head{padding:7px 9px}
  .gp-agent--consumer .gp-chat__identity small,.gp-agent--consumer .gp-chat__name span{display:none}
  .gp-agent--consumer .gp-agent__welcome{justify-content:center;padding:24px 14px 14px}
  .gp-agent--consumer .gp-agent__character-wrap{width:74px;margin-bottom:5px}
  .gp-agent--consumer .gp-agent__welcome h1{font-size:clamp(1.75rem,8.5vw,2.55rem)}
  .gp-agent--consumer .gp-agent__welcome>p{max-width:310px;font-size:.74rem}
  .gp-ai-starters{display:flex;overflow-x:auto;justify-content:flex-start;width:100%;padding:2px 0 5px;scrollbar-width:none}
  .gp-ai-starters button,.gp-ai-starters a{min-height:39px;flex:0 0 auto;padding:7px 11px}
  .gp-agent--consumer .gp-chat__messages{padding:16px 10px 8px}
  .gp-chat__composer-zone{width:calc(100% - 12px)}
  .gp-agent--consumer .gp-chat__input-wrap textarea{padding-right:4px}
  .gp-agent--consumer .gp-chat__typewriter{max-width:calc(100% - 12px)}
  .gp-quick-tools{bottom:72px;width:calc(100% - 4px);padding:11px;border-radius:18px}
  .gp-quick-tools__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .gp-quick-tools__grid button{min-height:66px}
}

/* 5.0.1 cascade final */
.gp-agent--consumer .gp-chat__form{align-items:center}
.gp-agent--consumer .gp-chat__tool,.gp-agent--consumer .gp-chat__send{align-self:center;justify-self:center}
.gp-agent--consumer .gp-chat__input-wrap{align-self:center;width:100%}
.gp-quick-tools{right:auto;left:0;width:min(540px,calc(100vw - 28px));padding:10px;border-color:#413d43;border-radius:17px;color:#f7f5f8;background:#242425;box-shadow:0 26px 70px rgba(10,8,12,.38);backdrop-filter:blur(22px)}
.gp-quick-tools__head{align-items:center;padding:4px 6px 9px}
.gp-quick-tools__head strong{color:#fff;font-size:.75rem}
.gp-quick-tools__head small{color:#9f9aa2;font-size:.54rem}
.gp-quick-tools__head>button{color:#d8d4da;background:#39363a}
.gp-quick-tools__head>button:hover{color:#fff;background:#4a454c}
.gp-quick-tools__search{display:grid;min-height:38px;grid-template-columns:28px minmax(0,1fr);align-items:center;margin:0 0 6px;padding:0 9px;border:1px solid #454146;border-radius:11px;color:#aaa4ad;background:#303031}
.gp-quick-tools__search span{font-size:1.15rem;text-align:center}
.gp-quick-tools__search input{width:100%;min-width:0;padding:7px;border:0;outline:0;color:#fff;background:transparent;font:inherit;font-size:.65rem}
.gp-quick-tools__search input::placeholder{color:#979198}
.gp-quick-tools__grid{display:grid;max-height:min(410px,60vh);grid-template-columns:1fr;gap:2px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#575159 transparent}
.gp-quick-tools__grid button,.gp-quick-tools__grid a{display:grid;min-height:48px;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:0 8px;padding:7px 9px;border:0;border-radius:10px;color:#f5f2f6;background:transparent;cursor:pointer;text-align:left;text-decoration:none}
.gp-quick-tools__grid button:hover,.gp-quick-tools__grid a:hover{border:0;color:#fff;background:#383638;transform:none}
.gp-quick-tools__grid span{display:grid;width:30px;height:30px;grid-row:1/3;place-items:center;border-radius:8px;background:#3a373c;font-size:.9rem}
.gp-quick-tools__grid b{font-size:.66rem;font-weight:700}
.gp-quick-tools__grid small{overflow:hidden;color:#9d979f;font-size:.54rem;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:620px){.gp-quick-tools{right:0;left:0;width:calc(100% - 4px);padding:8px}.gp-quick-tools__grid{grid-template-columns:1fr;max-height:52vh}.gp-quick-tools__grid button,.gp-quick-tools__grid a{min-height:46px}}

/* 5.0.2 — controles más grandes, centrados y expresivos. */
.gp-agent--consumer .gp-chat__form{min-height:76px;grid-template-columns:52px minmax(0,1fr) 52px 52px;align-items:center;gap:7px;padding:10px 11px}
.gp-agent--consumer .gp-chat__tool,.gp-agent--consumer .gp-chat__send{width:50px;height:50px;align-self:center;justify-self:center;border-radius:50%;transition:color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}
.gp-agent--consumer .gp-chat__tool:hover,.gp-agent--consumer .gp-chat__send:hover{transform:translateY(-1px) scale(1.06)}
.gp-agent--consumer .gp-chat__tool:active,.gp-agent--consumer .gp-chat__send:active{transform:scale(.94)}
.gp-agent--consumer .gp-chat__tool--image{font-size:1.7rem}
.gp-agent--consumer .gp-chat__tool--image[aria-expanded="true"]{color:var(--gp-yellow);background:#3b353d;transform:rotate(45deg)}
.gp-agent--consumer .gp-chat__tool--voice svg,.gp-agent--consumer .gp-chat__send svg{width:25px;height:25px}
.gp-agent--consumer .gp-chat__tool--voice[aria-pressed="true"]{color:#fff;background:#7b2aa0;box-shadow:0 0 0 6px rgba(123,42,160,.16);animation:gp-mic-live 1.25s ease-in-out infinite}
.gp-agent--consumer .gp-chat__send{box-shadow:0 4px 14px rgba(255,255,255,.16)}
.gp-agent--consumer .gp-chat__form.has-content .gp-chat__send{color:#fff;background:linear-gradient(135deg,#8a2fb0,#5b32db);box-shadow:0 7px 20px rgba(107,46,168,.35)}
.gp-agent--consumer .gp-chat__input-wrap{display:flex;min-height:50px;align-items:center;padding:0 6px}
.gp-agent--consumer .gp-chat__input-wrap textarea{min-height:42px;padding-top:10px;padding-bottom:8px}
.gp-quick-tools{width:min(590px,calc(100vw - 28px));padding:13px}
.gp-quick-tools__head{padding:5px 7px 12px}
.gp-quick-tools__head strong{font-size:1rem;line-height:1.25}
.gp-quick-tools__head small{margin-top:3px;font-size:.69rem;line-height:1.35}
.gp-quick-tools__search{min-height:44px;margin-bottom:8px}
.gp-quick-tools__search input{font-size:.78rem}
.gp-quick-tools__grid button,.gp-quick-tools__grid a{min-height:59px;grid-template-columns:42px minmax(0,1fr);gap:1px 11px;padding:9px 11px}
.gp-quick-tools__grid span{width:38px;height:38px;border-radius:11px;font-size:1.05rem}
.gp-quick-tools__grid b{font-size:.82rem;line-height:1.25}
.gp-quick-tools__grid small{font-size:.66rem;line-height:1.3}
@keyframes gp-mic-live{0%,100%{box-shadow:0 0 0 4px rgba(123,42,160,.12)}50%{box-shadow:0 0 0 9px rgba(123,42,160,.22)}}
@media(max-width:620px){
  .gp-agent--consumer .gp-chat__form{min-height:68px;grid-template-columns:46px minmax(0,1fr) 46px 46px;gap:4px;padding:8px}
  .gp-agent--consumer .gp-chat__tool,.gp-agent--consumer .gp-chat__send{width:44px;height:44px}
  .gp-agent--consumer .gp-chat__tool--voice svg,.gp-agent--consumer .gp-chat__send svg{width:22px;height:22px}
  .gp-agent--consumer .gp-chat__input-wrap{min-height:46px;padding:0 2px}
  .gp-quick-tools{padding:10px}
  .gp-quick-tools__head strong{font-size:.91rem}
  .gp-quick-tools__grid button,.gp-quick-tools__grid a{min-height:56px}
  .gp-quick-tools__grid b{font-size:.77rem}
  .gp-quick-tools__grid small{font-size:.62rem}
}

/* 5.9 — conversación móvil inmersiva y personalizable. Escritorio permanece intacto. */
.gp-personalize{max-height:min(92dvh,860px);overflow:auto}
.gp-mobile-appearance{display:grid;gap:12px;padding:15px;border:1px solid #e1d7e5;border-radius:18px;background:#f8f5f9}
.gp-mobile-appearance__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.gp-mobile-appearance__head>div{display:grid;gap:2px}.gp-mobile-appearance__head span{color:#7c328e;font-size:.58rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.gp-mobile-appearance__head h3{margin:0;color:#24132c;font-size:1rem}.gp-mobile-appearance__head>b{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#fff;background:#231b27;font-size:1.1rem}.gp-mobile-appearance>p{margin:0;color:#756a79;font-size:.7rem;line-height:1.45}
.gp-mobile-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.gp-mobile-presets button{display:grid;min-width:0;gap:6px;padding:8px 5px;border:1px solid #ded4e2;border-radius:12px;color:#493a50;background:#fff;cursor:pointer;font:inherit;font-size:.62rem;font-weight:800}.gp-mobile-presets button:hover,.gp-mobile-presets button.is-active{border-color:#6f2889;box-shadow:inset 0 0 0 1px #6f2889}.gp-mobile-presets i{position:relative;display:flex;width:100%;height:24px;overflow:hidden;border-radius:8px;background:#0a0a0a}.gp-mobile-presets i::before,.gp-mobile-presets i::after{display:block;width:50%;height:100%;content:''}.gp-mobile-presets i::before{background:var(--preset-bot)}.gp-mobile-presets i::after{background:var(--preset-user)}
.gp-mobile-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gp-personalize__form .gp-mobile-colors label{display:flex;min-width:0;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;padding:8px;border:1px solid #e0d7e4;border-radius:11px;background:#fff;font-size:.62rem}.gp-mobile-colors input[type=color]{width:32px!important;min-width:32px;min-height:32px!important;padding:2px!important;border-radius:9px!important;cursor:pointer}
.gp-mobile-wallpaper{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:11px;padding-top:3px}.gp-mobile-wallpaper__preview{display:grid;width:62px;height:82px;place-items:center;overflow:hidden;border:1px solid #514759;border-radius:12px;color:#fff;background:#090909 center/cover no-repeat;font-size:1.2rem}.gp-mobile-wallpaper__preview.has-image span{display:none}.gp-mobile-wallpaper>div:last-child{display:grid;min-width:0;gap:3px}.gp-mobile-wallpaper strong{color:#2e1f35;font-size:.72rem}.gp-mobile-wallpaper small{color:#7f7384;font-size:.59rem;line-height:1.35}.gp-mobile-wallpaper>div:last-child>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}.gp-mobile-wallpaper__upload,.gp-mobile-wallpaper button{display:inline-flex!important;min-height:32px!important;width:auto!important;align-items:center;justify-content:center;padding:6px 9px!important;border:1px solid #d5c9da!important;border-radius:9px!important;color:#5d256d!important;background:#fff!important;font-size:.61rem!important;font-weight:850!important;cursor:pointer}.gp-mobile-wallpaper button:hover,.gp-mobile-wallpaper__upload:hover{border-color:#7d3a91!important}

/* 6.2.0: el modo móvil oscuro tipo mensajería fue sustituido por la interfaz premium glass. */


/* 6.1.0 — app shell para /petia y áreas seguras en dispositivos móviles. */
html:has(body.petia-app-shell),
body.petia-app-shell {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #f7f2ff;
}
body.petia-app-shell .site-header,
body.petia-app-shell .site-footer,
body.petia-app-shell > .skip-link {
  display: none !important;
}
body.petia-app-shell .site-main,
body.petia-app-shell .container,
body.petia-app-shell article,
body.petia-app-shell .entry-content {
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 760px) {
  body.petia-app-shell {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  body.petia-app-shell button,
  body.petia-app-shell a,
  body.petia-app-shell input {
    -webkit-tap-highlight-color: transparent;
  }
}

/* =====================================================
   Go PetiA 6.2.0 — inicio móvil premium Glass
   La portada conserva la jerarquía de escritorio y cambia
   al modo conversación únicamente después de enviar/abrir
   una herramienta. Compatible con áreas seguras iPhone.
   ===================================================== */
@media (max-width: 720px) {
  html,
  body.home,
  body.home .site-main,
  body.home .gp-agent--consumer,
  body.home .gp-agent--consumer .gp-agent__workspace,
  body.home .gp-agent--consumer .gp-chat-layout {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.home {
    --gp-glass-border: rgba(255,255,255,.88);
    --gp-glass-shadow: 0 18px 50px rgba(58,20,88,.12);
    --gp-glass-bg: linear-gradient(145deg,rgba(255,255,255,.86),rgba(255,255,255,.58));
    background:
      radial-gradient(circle at 7% 9%,rgba(124,71,255,.18),transparent 27%),
      radial-gradient(circle at 92% 17%,rgba(255,214,10,.16),transparent 25%),
      radial-gradient(circle at 50% 88%,rgba(255,72,176,.12),transparent 35%),
      linear-gradient(155deg,#fcfbff 0%,#f5efff 56%,#fff9ef 100%) !important;
    -webkit-tap-highlight-color: transparent;
  }

  body.admin-bar.home,
  body.admin-bar.home .site-main,
  .admin-bar .gp-agent--consumer,
  .admin-bar .gp-agent--consumer .gp-agent__workspace,
  .admin-bar .gp-agent--consumer .gp-chat-layout {
    height: calc(100dvh - 46px) !important;
    min-height: calc(100dvh - 46px) !important;
  }

  body.home .gp-agent--consumer {
    position: relative;
    padding: 0;
    background: transparent !important;
  }
  body.home .gp-agent--consumer::before,
  body.home .gp-agent--consumer::after {
    position: fixed;
    z-index: 0;
    display: block;
    border-radius: 50%;
    content: '';
    pointer-events: none;
  }
  body.home .gp-agent--consumer::before {
    top: 27%;
    left: -62px;
    width: 145px;
    height: 145px;
    background: radial-gradient(circle at 42% 38%,rgba(255,255,255,.96),rgba(121,71,255,.17) 48%,transparent 73%);
  }
  body.home .gp-agent--consumer::after {
    right: -78px;
    bottom: 17%;
    width: 165px;
    height: 165px;
    background: radial-gradient(circle at 35% 36%,rgba(255,255,255,.96),rgba(255,214,10,.14) 45%,transparent 72%);
  }

  body.home .gp-agent--consumer .gp-agent__workspace,
  body.home .gp-agent--consumer .gp-chat-layout,
  body.home .gp-agent--consumer .gp-chat-main {
    position: relative;
    z-index: 1;
    background: transparent !important;
  }
  body.home .gp-agent--consumer .gp-chat-layout {
    grid-template-columns: minmax(0,1fr) !important;
    border-radius: 0;
  }
  body.home .gp-agent--consumer .gp-chat-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding:
      max(8px,env(safe-area-inset-top))
      8px
      max(8px,env(safe-area-inset-bottom));
  }

  /* Header app */
  body.home .gp-agent--consumer .gp-chat__head {
    position: relative;
    z-index: 30;
    min-height: 72px;
    flex: 0 0 72px;
    gap: 7px;
    margin: 0;
    padding: 8px 10px;
    overflow: visible;
    border: 1px solid var(--gp-glass-border) !important;
    border-radius: 26px !important;
    color: #3b1a53 !important;
    background: var(--gp-glass-bg) !important;
    box-shadow: var(--gp-glass-shadow),inset 0 1px 0 rgba(255,255,255,.96) !important;
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
  }
  body.home .gp-agent--consumer .gp-chat__identity {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }
  body.home .gp-agent--consumer .gp-chat__menu-action {
    display: grid !important;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(85,41,116,.08) !important;
    border-radius: 16px !important;
    color: #4f226c !important;
    background: linear-gradient(145deg,rgba(255,255,255,.95),rgba(246,239,255,.72)) !important;
    box-shadow: 0 8px 20px rgba(56,22,84,.08),inset 0 1px 0 #fff;
  }
  body.home .gp-agent--consumer .gp-chat__menu-action span {
    width: 17px;
    height: 2px;
    background: #4d2466 !important;
  }
  body.home .gp-agent--consumer .gp-chat__identity > .gp-chat__brand-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 17px;
    background: #3b0e67;
    box-shadow: 0 10px 24px rgba(75,24,123,.22),inset 0 1px 0 rgba(255,255,255,.42);
    filter: none;
  }
  body.home .gp-agent--consumer .gp-chat__identity > div:last-child {
    min-width: 0;
  }
  body.home .gp-agent--consumer .gp-chat__name {
    display: flex;
    max-width: none;
    align-items: center;
    gap: 6px;
  }
  body.home .gp-agent--consumer .gp-chat__name strong {
    color: #4e1674 !important;
    font-size: 1.12rem;
    letter-spacing: -.035em;
  }
  body.home .gp-agent--consumer .gp-chat__name span {
    display: inline-flex !important;
    padding: 4px 7px;
    border: 1px solid rgba(104,43,139,.09);
    border-radius: 999px;
    color: #6e2a90;
    background: rgba(108,42,145,.07);
    font-size: .45rem;
    letter-spacing: .06em;
    white-space: nowrap;
  }
  body.home .gp-agent--consumer .gp-chat__identity small {
    display: flex !important;
    max-width: 155px;
    margin-top: 4px;
    overflow: hidden;
    color: #76647e !important;
    font-size: .56rem !important;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.home .gp-agent--consumer .gp-chat__identity small i {
    width: 8px;
    height: 8px;
    background: #2bd995;
    box-shadow: 0 0 0 5px rgba(43,217,149,.13);
  }
  body.home .gp-agent--consumer .gp-chat__head-actions {
    flex: 0 0 auto;
    gap: 6px;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions > .locale-selector {
    display: block !important;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .locale-toggle,
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account {
    display: grid !important;
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 5px !important;
    border: 1px solid rgba(84,38,112,.08) !important;
    border-radius: 17px !important;
    color: #4d2866 !important;
    background: linear-gradient(145deg,rgba(255,255,255,.94),rgba(246,239,255,.7)) !important;
    box-shadow: 0 8px 20px rgba(56,22,84,.08),inset 0 1px 0 #fff !important;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .locale-toggle {
    place-items: center;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .locale-toggle svg {
    width: 20px;
    height: 20px;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .locale-toggle__label {
    right: -2px;
    bottom: -2px;
    min-width: 20px;
    padding: 2px 4px;
    color: #fff;
    background: #8b36b0 !important;
    font-size: .43rem;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account {
    grid-template-columns: 34px !important;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account > img,
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account > span:first-child {
    width: 34px;
    height: 34px;
    border-radius: 13px;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account > span:nth-child(2),
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account > i {
    display: none !important;
  }

  /* Portada móvil */
  body.home .gp-agent--consumer .gp-agent__workspace:not(.is-chatting) .gp-agent__welcome {
    display: flex !important;
  }
  body.home .gp-agent--consumer .gp-agent__workspace:not(.is-chatting) .gp-chat__messages {
    display: none !important;
  }
  body.home .gp-agent--consumer .gp-agent__workspace.is-chatting .gp-agent__welcome {
    display: none !important;
  }
  body.home .gp-agent--consumer .gp-agent__welcome {
    width: 100%;
    max-width: 620px;
    min-height: 0;
    flex: 1 1 auto;
    justify-content: center;
    gap: 9px;
    margin: 0 auto;
    padding: clamp(14px,3.2vh,28px) 10px 10px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: center;
    scrollbar-width: none;
  }
  body.home .gp-agent--consumer .gp-agent__welcome::-webkit-scrollbar {
    display: none;
  }
  body.home .gp-agent--consumer .gp-agent__brandmark {
    width: min(68vw,285px);
    max-height: 112px;
    margin: 0 auto 1px;
    object-fit: contain;
    filter: drop-shadow(0 15px 22px rgba(59,9,98,.19));
  }
  body.home .gp-agent--consumer .gp-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 auto;
    color: #72448a;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
  }
  body.home .gp-agent--consumer .gp-kicker::before {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: #ffd60a;
    content: '';
  }
  body.home .gp-agent--consumer .gp-agent__welcome h1 {
    max-width: 540px;
    margin: 8px auto 4px;
    color: #4f176f;
    font-size: clamp(2rem,9.5vw,3.15rem);
    line-height: 1.02;
    letter-spacing: -.055em;
  }
  body.home .gp-agent--consumer .gp-agent__welcome h1 span:first-child {
    color: #64208b;
    background: linear-gradient(92deg,#5f1d89 0%,#d72f86 72%,#ff5f94 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  body.home .gp-agent--consumer .gp-agent__welcome h1 span:last-child {
    color: #542072;
  }
  body.home .gp-agent--consumer .gp-agent__daily-tip {
    display: flex;
    width: min(100%,500px);
    min-height: 58px;
    align-items: center;
    gap: 9px;
    margin: 8px auto 0 !important;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.94);
    border-radius: 22px;
    color: #715e7b !important;
    background: linear-gradient(145deg,rgba(255,255,255,.84),rgba(250,245,255,.61));
    box-shadow: 0 13px 32px rgba(62,25,91,.08),inset 0 1px 0 #fff;
    font-size: .72rem !important;
    line-height: 1.4;
    text-align: left;
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
  }

  body.home .gp-agent--consumer .gp-ai-starters {
    display: grid;
    width: min(100%,560px);
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    margin: 9px auto 0;
  }
  body.home .gp-agent--consumer .gp-ai-starters button {
    display: grid;
    min-width: 0;
    min-height: 126px;
    grid-template-rows: 48px auto auto;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 11px 5px 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 24px;
    color: #54216f;
    background: linear-gradient(145deg,rgba(255,255,255,.79),rgba(247,239,255,.57));
    box-shadow: 0 15px 34px rgba(58,20,88,.1),inset 0 1px 0 #fff;
    transform: none;
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
  }
  body.home .gp-agent--consumer .gp-ai-starters button:nth-child(1) {
    background: linear-gradient(150deg,rgba(255,239,248,.91),rgba(255,255,255,.62));
  }
  body.home .gp-agent--consumer .gp-ai-starters button:nth-child(2) {
    background: linear-gradient(150deg,rgba(231,248,255,.91),rgba(255,255,255,.62));
  }
  body.home .gp-agent--consumer .gp-ai-starters button:nth-child(3) {
    background: linear-gradient(150deg,rgba(244,235,255,.93),rgba(255,255,255,.62));
  }
  body.home .gp-agent--consumer .gp-ai-starters button:hover,
  body.home .gp-agent--consumer .gp-ai-starters button:active {
    transform: translateY(-2px) scale(.99);
    box-shadow: 0 18px 38px rgba(58,20,88,.14),inset 0 1px 0 #fff;
    filter: none;
  }
  body.home .gp-agent--consumer .gp-ai-starters span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 17px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 9px 21px rgba(71,30,102,.09),inset 0 1px 0 #fff;
    font-size: 1.45rem;
  }
  body.home .gp-agent--consumer .gp-ai-starters button:nth-child(1) span { color:#df2f7c;background:rgba(255,220,239,.78); }
  body.home .gp-agent--consumer .gp-ai-starters button:nth-child(2) span { color:#058dca;background:rgba(208,244,255,.82); }
  body.home .gp-agent--consumer .gp-ai-starters button:nth-child(3) span { color:#7831c8;background:rgba(232,215,255,.84); }
  body.home .gp-agent--consumer .gp-ai-starters b {
    color: inherit;
    font-size: .72rem;
    line-height: 1.15;
    text-align: center;
  }
  body.home .gp-agent--consumer .gp-ai-starters small {
    display: block;
    max-width: 105px;
    color: #817289;
    font-size: .5rem;
    line-height: 1.25;
    text-align: center;
  }

  /* Composer glass oscuro */
  body.home .gp-agent--consumer .gp-chat__composer-zone {
    width: 100%;
    max-width: 680px;
    flex: 0 0 auto;
    margin: auto auto 0;
    padding: 7px 0 0;
    border: 0;
    background: transparent !important;
  }
  body.home .gp-agent--consumer .gp-chat__form {
    min-height: 84px;
    grid-template-columns: 50px minmax(0,1fr) 42px 54px;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 9px 9px 20px;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 32px;
    background: linear-gradient(145deg,rgba(30,18,47,.97),rgba(15,12,27,.95)) !important;
    box-shadow: 0 18px 44px rgba(27,11,41,.28),inset 0 1px 0 rgba(255,255,255,.12) !important;
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
  }
  body.home .gp-agent--consumer .gp-chat__form:focus-within {
    border-color: rgba(167,108,255,.55) !important;
    box-shadow: 0 20px 46px rgba(27,11,41,.31),0 0 0 4px rgba(118,59,181,.09),inset 0 1px 0 rgba(255,255,255,.14) !important;
  }
  body.home .gp-agent--consumer .gp-chat__tool,
  body.home .gp-agent--consumer .gp-chat__send {
    align-self: center;
    justify-self: center;
  }
  body.home .gp-agent--consumer .gp-chat__tool--image {
    width: 48px;
    height: 48px;
    color: #fff;
    background: linear-gradient(145deg,#4f277a,#2c1745) !important;
    box-shadow: 0 9px 20px rgba(89,41,132,.28),inset 0 1px 0 rgba(255,255,255,.17) !important;
    font-size: 1.85rem;
  }
  body.home .gp-agent--consumer .gp-chat__tool--voice {
    width: 40px;
    height: 40px;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.home .gp-agent--consumer .gp-chat__send,
  body.home .gp-agent--consumer .gp-chat__form.has-content .gp-chat__send {
    width: 52px;
    height: 52px;
    color: #6c2ac2 !important;
    background: linear-gradient(145deg,#fff,#f2ebff) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.19),inset 0 1px 0 #fff !important;
  }
  body.home .gp-agent--consumer .gp-chat__send:disabled {
    color: #846e94 !important;
    background: linear-gradient(145deg,#fff,#eee8f2) !important;
    opacity: .88;
  }
  body.home .gp-agent--consumer .gp-chat__input-wrap {
    position: relative;
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 0 4px 5px;
    border: 0;
    border-radius: 19px;
    background: rgba(255,255,255,.065) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  }
  body.home .gp-agent--consumer .gp-chat__input-wrap textarea {
    min-height: 42px;
    max-height: 92px;
    padding: 10px 5px 8px;
    color: #fff !important;
    background: transparent !important;
    caret-color: #ffd60a;
    font-size: 16px;
  }
  body.home .gp-agent--consumer .gp-chat__typewriter {
    top: 45%;
    left: 10px;
    max-width: calc(100% - 18px);
    color: #c5bdcb;
    font-size: .75rem;
    line-height: 1.25;
    transform: translateY(-50%);
  }
  body.home .gp-agent--consumer .gp-chat__mode {
    right: auto;
    bottom: 5px;
    left: 50%;
    display: block !important;
    color: #8e8197;
    font-size: .48rem;
    transform: translateX(-50%);
  }
  body.home .gp-agent--consumer .gp-chat__mode b { color:#ffd60a; }
  body.home .gp-agent--consumer .gp-chat__input-wrap > [data-chat-counter],
  body.home .gp-agent--consumer .gp-chat__composer-status,
  body.home .gp-agent--consumer .gp-chat__safety {
    display: none !important;
  }

  /* Conversación, después del primer mensaje */
  body.home .gp-agent--consumer .gp-agent__workspace.is-chatting .gp-chat__messages {
    position: relative;
    display: flex !important;
    width: 100%;
    max-width: 680px;
    min-height: 0;
    flex: 1 1 auto;
    gap: 0;
    margin: 8px auto 0;
    padding: 15px 8px 10px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,.77);
    border-radius: 25px;
    background-color: rgba(255,255,255,.44) !important;
    background-image: var(--gp-mobile-wallpaper-image),linear-gradient(145deg,rgba(255,255,255,.55),rgba(248,243,255,.38)) !important;
    background-position: center !important;
    background-size: cover !important;
    box-shadow: 0 15px 40px rgba(55,19,82,.09),inset 0 1px 0 rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
  }
  body.home .gp-agent--consumer .gp-chat__messages::before {
    display: none !important;
    content: none !important;
  }
  body.home .gp-agent--consumer .gp-message-row {
    max-width: 96%;
    margin-bottom: 9px;
    gap: 7px;
    padding: 0;
  }
  body.home .gp-agent--consumer .gp-message-row--user { margin-left:auto; }
  body.home .gp-agent--consumer .gp-message-avatar {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 11px;
    filter: drop-shadow(0 5px 9px rgba(60,20,91,.18));
  }
  body.home .gp-agent--consumer .gp-message-stack { max-width:calc(100% - 38px); }
  body.home .gp-agent--consumer .gp-message {
    padding: 10px 12px 8px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 17px;
    color: #33203e;
    background: rgba(255,255,255,.84) !important;
    box-shadow: 0 9px 22px rgba(61,23,88,.08);
    font-size: .84rem;
    line-height: 1.48;
  }
  body.home .gp-agent--consumer .gp-message--bot,
  body.home .gp-agent--consumer .gp-message--loading,
  body.home .gp-agent--consumer .gp-message--error {
    color: #33203e;
    background: color-mix(in srgb,var(--gp-mobile-bot-bubble,#ffffff) 18%,rgba(255,255,255,.9)) !important;
  }
  body.home .gp-agent--consumer .gp-message--user {
    color: #fff;
    background: var(--gp-mobile-user-bubble,#6f35ff) !important;
  }
  body.home .gp-agent--consumer .gp-message--bot::after,
  body.home .gp-agent--consumer .gp-message--loading::after,
  body.home .gp-agent--consumer .gp-message--error::after,
  body.home .gp-agent--consumer .gp-message--user::after {
    display: none;
  }
  body.home .gp-agent--consumer .gp-message-speaker {
    margin: 0 4px 2px;
    color: #6d2a8a;
    font-size: .54rem;
    font-weight: 900;
  }
  body.home .gp-agent--consumer .gp-message-row--user .gp-message-speaker { color:#78558a; }
  body.home .gp-agent--consumer .gp-message-meta,
  body.home .gp-agent--consumer .gp-message--user .gp-message-meta {
    display: block;
    margin-top: 3px;
    color: currentColor;
    font-size: .46rem;
    opacity: .62;
  }

  body.home .gp-agent--consumer .gp-quick-tools {
    right: 2px;
    bottom: 94px;
    left: 2px;
    width: auto;
    max-height: min(68vh,560px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 24px 60px rgba(37,13,53,.25);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
  }
  body.home .gp-agent--consumer .gp-quick-tools__grid button,
  body.home .gp-agent--consumer .gp-quick-tools__grid a { color:#35223e; }
  body.home .gp-agent--consumer .gp-chat__attachment {
    width: calc(100% - 8px);
    color: #392443;
    border: 1px solid rgba(255,255,255,.88);
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 28px rgba(56,20,82,.1);
  }
}

@media (max-width: 390px) {
  body.home .gp-agent--consumer .gp-chat-main {
    padding-inline: 6px;
  }
  body.home .gp-agent--consumer .gp-chat__head {
    min-height: 68px;
    flex-basis: 68px;
    padding: 7px 8px;
    border-radius: 23px !important;
  }
  body.home .gp-agent--consumer .gp-chat__menu-action {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }
  body.home .gp-agent--consumer .gp-chat__identity > .gp-chat__brand-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  body.home .gp-agent--consumer .gp-chat__name strong { font-size:1rem; }
  body.home .gp-agent--consumer .gp-chat__name span { display:none !important; }
  body.home .gp-agent--consumer .gp-chat__identity small { max-width:105px; }
  body.home .gp-agent--consumer .gp-chat__head-actions .locale-toggle,
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 15px !important;
  }
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account { grid-template-columns:30px !important; }
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account > img,
  body.home .gp-agent--consumer .gp-chat__head-actions .gp-chat__account > span:first-child { width:30px;height:30px; }
  body.home .gp-agent--consumer .gp-agent__welcome {
    gap: 7px;
    padding: 12px 7px 8px;
  }
  body.home .gp-agent--consumer .gp-agent__brandmark { width:min(64vw,255px);max-height:96px; }
  body.home .gp-agent--consumer .gp-agent__welcome h1 { font-size:clamp(1.76rem,9vw,2.55rem); }
  body.home .gp-agent--consumer .gp-agent__daily-tip { min-height:52px;padding:8px 10px;font-size:.65rem !important; }
  body.home .gp-agent--consumer .gp-ai-starters { gap:6px; }
  body.home .gp-agent--consumer .gp-ai-starters button { min-height:112px;border-radius:21px;padding:9px 4px 8px; }
  body.home .gp-agent--consumer .gp-ai-starters span { width:43px;height:43px;border-radius:15px;font-size:1.25rem; }
  body.home .gp-agent--consumer .gp-ai-starters b { font-size:.64rem; }
  body.home .gp-agent--consumer .gp-ai-starters small { font-size:.45rem; }
  body.home .gp-agent--consumer .gp-chat__form {
    min-height: 78px;
    grid-template-columns: 45px minmax(0,1fr) 38px 49px;
    gap: 3px;
    padding: 7px 7px 19px;
    border-radius: 29px;
  }
  body.home .gp-agent--consumer .gp-chat__tool--image { width:43px;height:43px; }
  body.home .gp-agent--consumer .gp-chat__tool--voice { width:37px;height:37px; }
  body.home .gp-agent--consumer .gp-chat__send,
  body.home .gp-agent--consumer .gp-chat__form.has-content .gp-chat__send { width:47px;height:47px; }
  body.home .gp-agent--consumer .gp-chat__typewriter { font-size:.69rem; }
}

@media (max-width: 720px) and (max-height: 720px) {
  body.home .gp-agent--consumer .gp-agent__welcome {
    justify-content: flex-start;
    gap: 6px;
    padding-top: 8px;
  }
  body.home .gp-agent--consumer .gp-agent__brandmark { width:min(52vw,230px);max-height:78px; }
  body.home .gp-agent--consumer .gp-kicker { font-size:.49rem; }
  body.home .gp-agent--consumer .gp-agent__welcome h1 { margin:4px auto 2px;font-size:clamp(1.55rem,7.8vw,2.25rem); }
  body.home .gp-agent--consumer .gp-agent__daily-tip { min-height:46px;margin-top:3px !important;padding:7px 10px;font-size:.61rem !important; }
  body.home .gp-agent--consumer .gp-ai-starters { margin-top:4px; }
  body.home .gp-agent--consumer .gp-ai-starters button { min-height:94px;grid-template-rows:38px auto auto;padding:6px 4px; }
  body.home .gp-agent--consumer .gp-ai-starters span { width:38px;height:38px;border-radius:13px;font-size:1.12rem; }
  body.home .gp-agent--consumer .gp-ai-starters small { display:none; }
}



/* 6.3.0 — contenido SEO/AEO visible y módulo para marcas y negocios pet */
#capacidades, #negocios-pet, #preguntas-frecuentes { scroll-margin-top: 92px; }
.gp-consumer-grid--complete { grid-template-columns: repeat(4,minmax(0,1fr)); }
.gp-consumer-grid--complete article { min-height: 250px; }
.gp-capabilities-trust { margin-top: 1.4rem; padding: 1.05rem 1.2rem; border: 1px solid var(--gp-line); border-radius: 18px; background: #fff; color: var(--gp-muted); font-size: .95rem; }
.gp-capabilities-trust strong { color: var(--gp-deep); }
.gp-business-discovery { position: relative; overflow: hidden; padding: clamp(4.5rem,8vw,8rem) 0; background: #f7f2fa; }
.gp-business-discovery::before, .gp-business-discovery::after { position: absolute; border-radius: 50%; filter: blur(1px); content: ''; pointer-events: none; }
.gp-business-discovery::before { top: -160px; right: -80px; width: 360px; height: 360px; background: rgba(94,0,121,.08); }
.gp-business-discovery::after { bottom: -180px; left: -100px; width: 420px; height: 420px; background: rgba(255,214,10,.12); }
.gp-business-discovery__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.92fr) minmax(520px,1.08fr); gap: clamp(2.2rem,5vw,5.5rem); align-items: center; }
.gp-business-discovery__copy h2 { max-width: 13ch; }
.gp-business-discovery__copy > p { max-width: 62ch; color: var(--gp-muted); }
.gp-business-discovery__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.gp-business-discovery__disclaimer { padding-left: 1rem; border-left: 4px solid var(--gp-yellow); font-size: .9rem; }
.gp-business-discovery__cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.gp-business-discovery__cards article { min-height: 220px; padding: 1.35rem; border: 1px solid rgba(94,0,121,.12); border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 18px 45px rgba(31,0,56,.08); backdrop-filter: blur(14px); }
.gp-business-discovery__cards article > span { display: inline-grid; width: 42px; height: 42px; margin-bottom: 1.2rem; place-items: center; border-radius: 14px; color: #fff; background: var(--gp-purple); font-weight: 800; }
.gp-business-discovery__cards h3 { margin-bottom: .55rem; }
.gp-business-discovery__cards p { margin: 0; color: var(--gp-muted); font-size: .96rem; }
@media (max-width: 1080px) {
  .gp-consumer-grid--complete { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gp-business-discovery__layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .gp-consumer-grid--complete { grid-template-columns: 1fr 1fr; }
  .gp-consumer-grid--complete article { min-height: 220px; }
  .gp-business-discovery { padding: 4rem 0; }
  .gp-business-discovery__cards { grid-template-columns: 1fr; }
  .gp-business-discovery__cards article { min-height: auto; }
  .gp-business-discovery__actions { flex-direction: column; }
  .gp-business-discovery__actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 500px) {
  .gp-consumer-grid--complete { grid-template-columns: 1fr; }
  .gp-consumer-grid--complete article { min-height: auto; }
}


/* 6.3.1 — legibilidad mejorada y menú de cuenta con cards sólidas */
.gp-account-content p,
.gp-account-content small,
.gp-account-stats small,
.gp-account-pets small,
.gp-account-care small,
.gp-account-empty,
.gp-profile-photo small,
.gp-profile-photo p,
.gp-account-register small,
.gp-account-register .gp-account-login,
.gp-account-form label,
.gp-account-form p,
.gp-account-next,
.gp-business-motivation {
  color: rgba(255,255,255,.92) !important;
}

.gp-account-close,
.gp-tool-dialog__close {
  color: #31273b !important;
  background: #ffd60a !important;
  box-shadow: 0 12px 22px rgba(255, 214, 10, .28);
}
.gp-account-close:hover,
.gp-tool-dialog__close:hover {
  color: #221b29 !important;
  background: #ffe15c !important;
  transform: translateY(-1px);
}

.gp-account-nav {
  gap: 10px;
}
.gp-account-nav>button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 15px !important;
  color: #fff !important;
  background: #31233f !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 22px rgba(6,4,16,.20);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gp-account-nav>button:hover {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.gp-account-nav>button.is-active {
  color: #fff !important;
  border-color: rgba(255,255,255,.3) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 12px 24px rgba(15,8,25,.28);
}
.gp-account-nav>button:nth-of-type(1){background:#6d3bb4 !important;}
.gp-account-nav>button:nth-of-type(2){background:#7b2e71 !important;}
.gp-account-nav>button:nth-of-type(3){background:#2b6cb0 !important;}
.gp-account-nav>button:nth-of-type(4){background:#2f855a !important;}
.gp-account-nav>button:nth-of-type(5){background:#c17b12 !important;}
.gp-account-nav>button:nth-of-type(6){background:#5b4bb7 !important;}
.gp-account-nav>button:nth-of-type(7){background:#6b46c1 !important;}
.gp-account-nav>button:nth-of-type(1).is-active{background:#8550cf !important;}
.gp-account-nav>button:nth-of-type(2).is-active{background:#9f418f !important;}
.gp-account-nav>button:nth-of-type(3).is-active{background:#3b82d0 !important;}
.gp-account-nav>button:nth-of-type(4).is-active{background:#38a169 !important;}
.gp-account-nav>button:nth-of-type(5).is-active{background:#d69a2f !important;}
.gp-account-nav>button:nth-of-type(6).is-active{background:#7162d2 !important;}
.gp-account-nav>button:nth-of-type(7).is-active{background:#8357dd !important;}

@media(max-width:720px){
  .gp-account-nav{
    gap: 8px;
    padding: 10px;
    background: #18131e;
  }
  .gp-account-nav>button{
    min-height: 58px;
    padding: 10px 8px;
    border-radius: 14px !important;
    font-size: .68rem;
  }
}
@media(max-width:480px){
  .gp-account-nav{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .gp-account-content{
    padding-top: 18px;
  }
  .gp-account-close{
    top: 144px;
    right: 14px;
  }
}


/* 6.3.2 — resaltar cuenta invitado sin avatar en móvil y escritorio */
.gp-chat__account.is-guest {
  position: relative;
  border-color: #f0c24b !important;
  background: linear-gradient(135deg, #fff8d8 0%, #f7effb 55%, #efe4f8 100%) !important;
  box-shadow: 0 10px 26px rgba(95,40,125,.14), 0 0 0 3px rgba(255,214,10,.14);
}
.gp-chat__account.is-guest:hover {
  border-color: #d49e11 !important;
  background: linear-gradient(135deg, #fffbe7 0%, #fcf6ff 58%, #f3eafb 100%) !important;
  box-shadow: 0 14px 28px rgba(95,40,125,.18), 0 0 0 4px rgba(255,214,10,.16);
}
.gp-chat__account.is-guest > span:first-child {
  position: relative;
  color: #6a2b85 !important;
  background: linear-gradient(135deg, #fff 0%, #f5ddff 55%, #fff2a6 100%) !important;
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 8px 18px rgba(122,63,155,.16);
}
.gp-chat__account.is-guest > span:first-child::after {
  content: '+';
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #2f2538;
  background: #ffd60a;
  box-shadow: 0 6px 12px rgba(255,214,10,.35);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}
.gp-chat__account.is-guest b { color: #5b2180 !important; }
.gp-chat__account.is-guest small { color: #6f5c78 !important; font-weight: 700; }
.gp-chat__account.is-guest i {
  color: #2f2538 !important;
  background: #ffd60a !important;
  box-shadow: 0 6px 14px rgba(255,214,10,.30);
}
.gp-chat__account.is-guest::before {
  content: 'Nuevo';
  position: absolute;
  top: -9px;
  right: 26px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #2c2333;
  background: #ffd60a;
  box-shadow: 0 6px 14px rgba(255,214,10,.26);
  font-size: .53rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gp-account-entry--top.is-guest {
  border-color: #f0c24b !important;
  background: linear-gradient(135deg, #2b1f35 0%, #342342 54%, #261a30 100%) !important;
  box-shadow: 0 0 0 1px rgba(255,214,10,.10), 0 16px 28px rgba(11,8,22,.20);
}
.gp-account-entry--top.is-guest:hover {
  border-color: #ffd24d !important;
  background: linear-gradient(135deg, #33213e 0%, #3a2547 54%, #2d1c36 100%) !important;
}
.gp-account-entry--top.is-guest > span:first-child {
  position: relative;
  color: #6a2b85 !important;
  background: linear-gradient(135deg, #fff 0%, #f1dcff 54%, #fff0a1 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 10px 20px rgba(122,63,155,.18);
}
.gp-account-entry--top.is-guest > span:first-child::after {
  content: '+';
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #2f2538;
  background: #ffd60a;
  font-size: .72rem;
  font-weight: 900;
}
.gp-account-entry--top.is-guest b { color: #fff7cf !important; }
.gp-account-entry--top.is-guest small { color: rgba(255,255,255,.88) !important; }
.gp-account-entry--top.is-guest i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #2f2538 !important;
  background: #ffd60a;
  font-style: normal;
  font-weight: 900;
}

@media (max-width:720px) {
  .gp-agent--consumer .gp-chat__head-actions .gp-chat__account.is-guest {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 4px !important;
    border-width: 2px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(95,40,125,.14), 0 0 0 3px rgba(255,214,10,.16) !important;
  }
  .gp-agent--consumer .gp-chat__head-actions .gp-chat__account.is-guest > img,
  .gp-agent--consumer .gp-chat__head-actions .gp-chat__account.is-guest > span:first-child {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
  }
  .gp-agent--consumer .gp-chat__head-actions .gp-chat__account.is-guest::before {
    content: '';
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ffd60a;
    box-shadow: 0 4px 10px rgba(255,214,10,.30);
  }
}
@media (min-width:721px) {
  .gp-chat__account.is-guest {
    min-width: 184px;
  }
}


/* 6.3.2 — mejora de visibilidad cuando no hay sesión iniciada */
.gp-chat__account.is-guest,
.gp-account-entry.is-guest {
  border-color: #f1d45f !important;
  background: linear-gradient(135deg,#fffaf0 0%,#f8f1fb 100%) !important;
  box-shadow: 0 10px 24px rgba(64,34,77,.14), inset 0 1px 0 rgba(255,255,255,.65) !important;
}
.gp-chat__account.is-guest:hover,
.gp-account-entry.is-guest:hover {
  border-color: #d9b31d !important;
  background: linear-gradient(135deg,#fffdf6 0%,#ffffff 100%) !important;
  box-shadow: 0 14px 28px rgba(64,34,77,.18), inset 0 1px 0 rgba(255,255,255,.78) !important;
}
.gp-chat__account.is-guest b,
.gp-account-entry.is-guest b {
  color: #5a236d !important;
}
.gp-chat__account.is-guest small,
.gp-account-entry.is-guest small {
  color: #6f5680 !important;
  font-weight: 700;
}
.gp-chat__account.is-guest i {
  background: #ffd60a !important;
  color: #34263d !important;
}
.gp-chat__account [data-account-avatar-fallback],
.gp-account-entry [data-account-avatar-fallback] {
  position: relative;
}
.gp-chat__account .is-guest-fallback,
.gp-account-entry .is-guest-fallback {
  border: 1px solid rgba(255,214,10,.55);
  color: #5b2671 !important;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #fff4bc 35%, #f0def8 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 20px rgba(102,57,130,.18);
  font-size: 1.05rem;
  font-weight: 900;
}
.gp-chat__account .is-guest-fallback::after,
.gp-account-entry .is-guest-fallback::after {
  content: '';
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #7b2cbf;
  box-shadow: 0 2px 8px rgba(38,17,47,.22);
}
.gp-chat__account.is-guest::before {
  content: 'Entrar';
  position: absolute;
  top: -9px;
  right: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #3a2930;
  background: #ffd60a;
  box-shadow: 0 6px 16px rgba(255,214,10,.32);
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.gp-account-entry.is-guest::after {
  content: 'Nuevo';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #3a2930;
  background: #ffd60a;
  font-size: .56rem;
  font-weight: 900;
  text-transform: uppercase;
}
@media(max-width:720px){
  .gp-agent--consumer .gp-chat__head-actions .gp-chat__account.is-guest{
    position: relative;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 4px !important;
    border: 1.5px solid #f0cf4f !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg,#fff9ee 0%,#f8effb 100%) !important;
    box-shadow: 0 8px 18px rgba(80,46,98,.14) !important;
  }
  .gp-agent--consumer .gp-chat__head-actions .gp-chat__account.is-guest > span:first-child {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
  }
  .gp-chat__account.is-guest::before {
    content: '';
    width: 10px;
    height: 10px;
    top: -3px;
    right: -3px;
    padding: 0;
    border: 2px solid #fff;
    background: #ffd60a;
    box-shadow: 0 5px 12px rgba(255,214,10,.35);
  }
}
@media(min-width:721px){
  .gp-chat__account.is-guest {
    position: relative;
    min-width: 182px;
  }
}


/* 6.4.0 — registro frontal y corrección del botón de cierre */
.gp-register-dialog{width:min(940px,calc(100vw - 28px));max-width:none;padding:0;border:1px solid rgba(109,39,133,.18);border-radius:28px;color:#2f1938;background:#fff;box-shadow:0 35px 110px rgba(31,13,39,.35)}
.gp-register-dialog::backdrop{background:rgba(25,13,31,.65);backdrop-filter:blur(10px)}
.gp-register-layout{display:grid;grid-template-columns:.9fr 1.1fr;min-height:610px}
.gp-register-intro{display:flex;flex-direction:column;justify-content:center;padding:48px;background:#211527;color:#fff}
.gp-register-intro img{width:78px;height:78px;margin-bottom:20px;border-radius:22px;object-fit:cover;box-shadow:0 14px 34px rgba(0,0,0,.25)}
.gp-register-intro>span{color:#ffd60a;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.gp-register-intro h2{margin:12px 0;color:#fff;font-family:Syne,sans-serif;font-size:clamp(2rem,4vw,3.2rem);line-height:1}.gp-register-intro p{color:rgba(255,255,255,.82);font-size:1rem}.gp-register-intro ul{display:grid;gap:11px;margin:22px 0 0;padding:0;list-style:none;color:#fff;font-weight:700}
.gp-register-form{display:flex;flex-direction:column;gap:14px;padding:48px}.gp-register-form label{display:flex;flex-direction:column;gap:6px;color:#4e3a57;font-size:.76rem;font-weight:800}.gp-register-form input{min-height:46px;padding:10px 12px;border:1px solid #ded3e2;border-radius:12px;outline:0;color:#2e1836;background:#fbf9fc;font:inherit}.gp-register-form input:focus{border-color:#8a35a7;box-shadow:0 0 0 3px rgba(138,53,167,.12)}
.gp-register-type{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gp-register-type button{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-items:center;gap:0 8px;padding:12px;border:1px solid #e0d6e4;border-radius:15px;color:#4b3654;background:#faf7fb;text-align:left;cursor:pointer}.gp-register-type button span{grid-row:1/3;display:grid;width:38px;height:38px;place-items:center;border-radius:12px;background:#efe6f3;font-size:1.15rem}.gp-register-type button b{font-size:.8rem}.gp-register-type button small{color:#827487;font-size:.62rem}.gp-register-type button.is-active{border-color:#8c42a5;background:#f3e9f7;box-shadow:inset 0 0 0 1px rgba(140,66,165,.12)}
.gp-register-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gp-register-terms{flex-direction:row!important;align-items:flex-start!important;font-weight:600!important}.gp-register-terms input{min-height:auto;margin-top:2px;accent-color:#6e2887}.gp-register-submit{min-height:48px;border:0;border-radius:13px;color:#fff;background:#6e2887;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 12px 24px rgba(110,40,135,.22)}.gp-register-submit:hover{background:#7c3297;transform:translateY(-1px)}.gp-register-submit:disabled{opacity:.55;cursor:wait}.gp-register-feedback{min-height:18px;margin:0;color:#a33147;font-size:.72rem;font-weight:700}.gp-register-feedback.is-success{color:#21713c}.gp-register-login{color:#65237d;font-size:.75rem;font-weight:800;text-align:center}.gp-register-close{position:absolute;z-index:4;top:15px;right:15px;display:grid;width:40px;height:40px;place-items:center;border:0;border-radius:50%;color:#30243a;background:#ffd60a;font-size:1.25rem;font-weight:900;cursor:pointer;box-shadow:0 10px 20px rgba(255,214,10,.28)}
@media(max-width:720px){
 .gp-account-content{padding-top:70px!important}.gp-account-close{top:15px!important;right:14px!important}
 .gp-register-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.gp-register-layout{grid-template-columns:1fr;min-height:100%}.gp-register-intro{display:none}.gp-register-form{min-height:100%;justify-content:center;padding:72px 18px 32px}.gp-register-type{gap:8px}.gp-register-row{grid-template-columns:1fr}.gp-register-close{position:fixed;top:14px;right:14px}
}


/* 6.4.1 — identidad de negocios y regionalización */
.gp-register-region-note{display:block;margin:-2px 0 2px;padding:10px 12px;border:1px solid rgba(111,40,137,.16);border-radius:12px;color:#5f4d68;background:#faf6fc;font-size:.68rem;line-height:1.45}
.gp-register-form label>span[data-register-display-label],.gp-personalize__form [data-personalize-name-label]{display:block;margin-bottom:6px;color:inherit;font:inherit;font-weight:inherit}
.gp-register-form label small{color:#89788f;font-size:.62rem;font-weight:600}
.gp-register-form input[data-register-country],.gp-account-form input[data-regional-country],[data-business-form] input[data-regional-country]{background-image:linear-gradient(90deg,rgba(255,214,10,.16),transparent 48%)}
html[data-petia-country] .locale-toggle{box-shadow:0 0 0 2px rgba(255,214,10,.13),0 8px 20px rgba(64,32,78,.08)}


/* 7.1.1 — corrige superposición del distintivo de cuenta invitada en el menú móvil */
.gp-account-entry--top.is-guest {
  position: relative;
  overflow: visible;
  margin-bottom: 14px !important;
}
.gp-account-entry.is-guest::after {
  content: none !important;
  display: none !important;
}
@media (max-width:720px) {
  .gp-account-entry--top.is-guest {
    margin-bottom: 12px !important;
  }
  .gp-chat-sidebar__new {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
  }
}


/* 7.2.0 — accesos visibles a Ayuda y PetiA Control Center */
.gp-account-nav-link{display:flex;min-height:48px;align-items:center;justify-content:center;gap:6px;padding:10px 12px;border:1px solid #4c3858;border-radius:14px;color:#fff!important;background:#30213a;font-size:.76rem;font-weight:800;text-align:center;text-decoration:none;transition:.18s ease}.gp-account-nav-link:hover{border-color:#8c5ca0;background:#3a2945;transform:translateY(-1px)}.gp-account-nav-link--admin{border-color:#806d2f;color:#2d2033!important;background:#ffd60a}.gp-account-nav-link--admin:hover{background:#ffe052}.gp-account-nav__bottom a:first-child{margin-top:2px}.gp-ai-nav a[href*="ayuda-petia"],.gp-ai-nav a[href*="petia-control"]{position:relative}.gp-ai-nav a[href*="petia-control"]{border-color:rgba(255,214,10,.28);background:rgba(255,214,10,.06)}
@media(max-width:720px){.gp-account-nav>.gp-account-nav-link{display:flex;min-height:58px;padding:9px 7px;border-radius:14px;font-size:.66rem;line-height:1.15}.gp-account-nav-link--admin{color:#32233a!important}.gp-account-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:390px){.gp-account-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 7.3.0 — selector visual de país, idioma y tropicalización PetiA Global */
.locale-selector{position:relative;z-index:45}
.locale-toggle{
  display:grid!important;min-width:156px;min-height:48px;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:8px;
  padding:6px 9px!important;border:1px solid #dfd3e5!important;border-radius:16px!important;color:#3b2147!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,242,251,.94))!important;
  box-shadow:0 8px 22px rgba(61,31,75,.10),inset 0 1px 0 rgba(255,255,255,.9)!important;text-align:left
}
.locale-toggle:hover{border-color:#b98ac8!important;background:#fff!important;box-shadow:0 12px 26px rgba(61,31,75,.15)!important;transform:translateY(-1px)}
.locale-toggle__flag{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(94,0,121,.1);border-radius:11px;background:#fff;font-size:1.25rem;line-height:1;box-shadow:0 4px 12px rgba(62,34,74,.08)}
.locale-toggle__meta{display:flex!important;min-width:0;flex-direction:column;line-height:1.1}
.locale-toggle__meta strong{overflow:hidden;color:#4f205f;font-size:.68rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.locale-toggle__meta small{margin-top:3px;color:#8a758f;font-size:.52rem;font-weight:750;letter-spacing:.02em}
.locale-toggle__chevron{color:#704083;font-size:.85rem;transition:transform .18s ease}
.locale-toggle[aria-expanded="true"] .locale-toggle__chevron{transform:rotate(180deg)}
.locale-menu.locale-menu--regions{
  position:absolute;z-index:160;top:calc(100% + 10px);right:0;width:min(430px,calc(100vw - 24px));max-height:min(710px,calc(100dvh - 92px));
  overflow:auto;padding:14px;border:1px solid rgba(103,62,118,.16);border-radius:24px;background:rgba(255,255,255,.98);
  box-shadow:0 28px 78px rgba(34,16,43,.24);backdrop-filter:blur(24px);scrollbar-width:thin;scrollbar-color:#c8b0d2 transparent
}
.locale-menu__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:5px 4px 13px;border-bottom:1px solid #eee6f1}
.locale-menu__header>div{display:flex;min-width:0;flex-direction:column}
.locale-menu__header span{color:#8b2ba8;font-size:.56rem;font-weight:900;letter-spacing:.12em}
.locale-menu__header h2{margin:3px 0 2px;color:#26132d;font-family:Syne,sans-serif;font-size:1.15rem;line-height:1.12}
.locale-menu__header p{margin:0;color:#806f85;font-size:.68rem;line-height:1.35}
.locale-menu__header>button{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:0;border-radius:11px;color:#34263d;background:#ffd60a;box-shadow:0 7px 16px rgba(255,214,10,.25);cursor:pointer;font-size:1rem}
.locale-current{display:grid;grid-template-columns:44px minmax(0,1fr) 24px;align-items:center;gap:10px;margin:13px 0 9px;padding:10px;border:1px solid #e2d5e7;border-radius:16px;background:linear-gradient(135deg,#fffdf4,#f8effb)}
.locale-current>span{display:grid;width:44px;height:44px;place-items:center;border-radius:13px;background:#fff;font-size:1.65rem;box-shadow:0 6px 16px rgba(65,36,76,.08)}
.locale-current>div{display:flex;min-width:0;flex-direction:column}.locale-current b{overflow:hidden;color:#4c205d;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.locale-current small{margin-top:3px;color:#837187;font-size:.57rem}.locale-current i{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#fff;background:#7e2da0;font-size:.65rem;font-style:normal}
.locale-detect{display:grid;width:100%;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;margin:0 0 10px;padding:9px 10px;border:1px dashed #c9b1d2;border-radius:14px;color:#43204e;background:#faf7fb;text-align:left;cursor:pointer}
.locale-detect>span{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#fff;background:#6f2889;font-size:1rem}.locale-detect>div{display:flex;flex-direction:column}.locale-detect b{font-size:.69rem}.locale-detect small{margin-top:2px;color:#8b7b90;font-size:.54rem}.locale-detect.is-loading{opacity:.65;cursor:wait}
.locale-search{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;margin-bottom:10px;padding:4px 9px;border:1px solid #e0d5e4;border-radius:13px;background:#fff}
.locale-search span{color:#744684;font-size:1rem}.locale-search input{min-width:0;padding:8px 2px;border:0!important;outline:0!important;color:#28152f;background:transparent!important;box-shadow:none!important;font:inherit;font-size:.72rem}
.locale-country-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.locale-country-grid>button{display:grid;min-width:0;min-height:66px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:9px;border:1px solid #e8dfea;border-radius:14px;color:#382040;background:#fff;text-align:left;cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.locale-country-grid>button:hover{border-color:#b883c8;box-shadow:0 8px 18px rgba(64,34,75,.1);transform:translateY(-1px)}
.locale-country-grid>button>span{font-size:1.35rem}.locale-country-grid>button>div{display:flex;min-width:0;flex-direction:column}.locale-country-grid b{overflow:hidden;font-size:.67rem;text-overflow:ellipsis;white-space:nowrap}.locale-country-grid small{margin-top:3px;color:#8a778e;font-size:.52rem}.locale-country-grid i{display:none;width:18px;height:18px;place-items:center;border-radius:50%;color:#fff;background:#7b2f98;font-size:.55rem;font-style:normal}.locale-country-grid>button.is-active{border-color:#8e45a8;background:#f7edf9;box-shadow:inset 0 0 0 1px rgba(126,45,160,.12)}.locale-country-grid>button.is-active i{display:grid}
.locale-languages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding:11px 2px 3px;border-top:1px solid #eee6f0}.locale-languages>span{color:#8a758e;font-size:.58rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.locale-languages>div{display:flex;gap:5px}.locale-languages a{padding:6px 9px;border:1px solid #e2d5e6;border-radius:999px;color:#5d2d6b;background:#fff;font-size:.58rem;font-weight:850;text-decoration:none}.locale-languages a:hover{border-color:#9a55b2;background:#f7edf9}
.locale-privacy{margin:10px 0 1px;color:#9a8b9e;font-size:.52rem;line-height:1.35;text-align:center}
.gp-chat-sidebar .locale-menu.locale-menu--regions{top:auto;right:auto;bottom:calc(100% + 10px);left:0}

.gp-region-pill{display:inline-grid;min-width:210px;max-width:320px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:8px;margin:1px auto 5px;padding:7px 10px;border:1px solid #e2d4e7;border-radius:999px;color:#4b2258;background:rgba(255,255,255,.86);box-shadow:0 8px 20px rgba(59,31,71,.08);cursor:pointer;text-align:left;backdrop-filter:blur(14px)}
.gp-region-pill>span{font-size:1.2rem}.gp-region-pill>div{display:flex;min-width:0;flex-direction:column}.gp-region-pill b{overflow:hidden;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}.gp-region-pill small{margin-top:1px;color:#8c7a91;font-size:.51rem}.gp-region-pill i{color:#744284;font-style:normal}.gp-region-pill:hover{border-color:#b889c7;background:#fff;transform:translateY(-1px)}

.petia-region-welcome{position:fixed;z-index:10000;inset:0;display:grid;place-items:end center;padding:20px;background:rgba(23,11,29,.44);opacity:0;backdrop-filter:blur(10px);transition:opacity .18s ease}.petia-region-welcome.is-visible{opacity:1}
.petia-region-welcome__card{position:relative;width:min(560px,100%);padding:22px;border:1px solid rgba(255,255,255,.8);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,240,251,.98));box-shadow:0 34px 100px rgba(22,10,28,.34);transform:translateY(18px);transition:transform .22s ease}.petia-region-welcome.is-visible .petia-region-welcome__card{transform:translateY(0)}
.petia-region-welcome__close{position:absolute;top:14px;right:14px;display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:12px;color:#302437;background:#ffd60a;cursor:pointer;font-size:1rem}.petia-region-welcome__icon{display:grid;width:64px;height:64px;place-items:center;margin-bottom:12px;border:1px solid #e7dce9;border-radius:20px;background:#fff;font-size:2.25rem;box-shadow:0 12px 30px rgba(64,34,74,.12)}
.petia-region-welcome__copy>span{color:#8a2eaa;font-size:.58rem;font-weight:900;letter-spacing:.12em}.petia-region-welcome__copy h2{margin:5px 42px 5px 0;color:#28142f;font-family:Syne,sans-serif;font-size:clamp(1.35rem,4vw,2rem);line-height:1.08}.petia-region-welcome__copy p{margin:0;color:#76667a;font-size:.78rem;line-height:1.45}
.petia-region-welcome__choice{display:grid;grid-template-columns:44px minmax(0,1fr) 24px;align-items:center;gap:10px;margin:17px 0;padding:11px;border:1px solid #dfd2e4;border-radius:17px;background:#fff}.petia-region-welcome__choice>span{font-size:1.7rem}.petia-region-welcome__choice>div{display:flex;flex-direction:column}.petia-region-welcome__choice b{color:#4d225b;font-size:.82rem}.petia-region-welcome__choice small{margin-top:3px;color:#8a778d;font-size:.61rem}.petia-region-welcome__choice i{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;color:#fff;background:#7b2e99;font-size:.65rem;font-style:normal}
.petia-region-welcome__actions{display:grid;grid-template-columns:1.2fr .8fr;gap:8px}.petia-region-welcome__actions button{min-height:46px;padding:9px 12px;border:1px solid #dccfe1;border-radius:14px;color:#5b2869;background:#fff;font:inherit;font-size:.7rem;font-weight:850;cursor:pointer}.petia-region-welcome__actions .is-primary{border-color:#6b267f;color:#fff;background:#6f2889;box-shadow:0 12px 24px rgba(111,40,137,.2)}.petia-region-welcome__privacy{display:block;margin-top:11px;color:#95869a;font-size:.55rem;text-align:center}

.gp-account-form select,[data-business-form] select,.gp-register-form select{width:100%;min-height:44px;padding:10px 36px 10px 11px;border:1px solid #4a3b54;border-radius:11px;outline:0;color:#fff;background-color:#27202d;font:inherit;appearance:auto}.gp-register-form select{border-color:#ddd0e1;color:#3b2144;background:#fff}.gp-account-form select:focus,[data-business-form] select:focus,.gp-register-form select:focus{border-color:#a34ac4;box-shadow:0 0 0 3px rgba(154,67,194,.12)}

@media(max-width:720px){
  body.home .gp-agent--consumer .gp-chat__head-actions>.locale-selector{display:block!important;margin:0!important}
  body.home .gp-agent--consumer .gp-chat__head-actions .locale-toggle,
  .gp-chat__head-actions .locale-toggle{display:grid!important;width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;grid-template-columns:1fr!important;padding:4px!important;border-radius:15px!important}
  .gp-chat__head-actions .locale-toggle__flag{width:36px;height:36px;margin:auto;border-radius:12px;font-size:1.25rem}
  .gp-chat__head-actions .locale-toggle__meta,.gp-chat__head-actions .locale-toggle__chevron{display:none!important}
  body.home .gp-agent--consumer .gp-chat__head-actions .locale-menu.locale-menu--regions,
  .locale-menu.locale-menu--regions{position:fixed!important;z-index:1000!important;top:64px!important;right:7px!important;bottom:auto!important;left:7px!important;width:auto!important;max-height:calc(100dvh - 74px)!important;padding:12px!important;border-radius:22px!important}
  .gp-chat-sidebar .locale-menu.locale-menu--regions{top:8px!important;right:8px!important;bottom:8px!important;left:8px!important;max-height:none!important}
  .locale-country-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.locale-country-grid>button{min-height:62px;padding:8px}
  .locale-menu__header h2{font-size:1.02rem}.locale-current{margin-top:10px}
  .gp-region-pill{min-width:0;width:min(280px,92%)}
  .petia-region-welcome{padding:10px}.petia-region-welcome__card{padding:18px;border-radius:24px}.petia-region-welcome__actions{grid-template-columns:1fr}.petia-region-welcome__icon{width:56px;height:56px;font-size:2rem}
}
@media(max-width:390px){
  .locale-country-grid{grid-template-columns:1fr}.locale-country-grid>button{min-height:56px}
  .locale-menu.locale-menu--regions{top:58px!important;max-height:calc(100dvh - 66px)!important}
  .petia-region-welcome__copy h2{font-size:1.35rem}.petia-region-welcome__copy p{font-size:.7rem}
}

/* ── 7.5.0 · PetiA Learning Loop: feedback por respuesta ── */
.gp-feedback{display:flex;align-items:center;gap:6px;margin-top:8px;flex-wrap:wrap;opacity:.92;transition:opacity .4s ease}
.gp-feedback.is-done{opacity:.55}
.gp-feedback__btn{background:rgba(94,0,121,.06);border:1px solid rgba(94,0,121,.14);border-radius:999px;width:30px;height:30px;font-size:14px;line-height:1;cursor:pointer;transition:transform .15s ease,background .15s ease}
.gp-feedback__btn:hover{transform:scale(1.12);background:rgba(94,0,121,.12)}
.gp-feedback__btn.is-active{background:rgba(94,0,121,.18);border-color:rgba(94,0,121,.4)}
.gp-feedback__btn:disabled{cursor:default;transform:none}
.gp-feedback__note{font-size:12px;color:#6a5a80}
.gp-feedback__reasons{display:flex;gap:6px;flex-wrap:wrap;width:100%;margin-top:4px}
.gp-feedback__reason{background:#fff;border:1px solid rgba(94,0,121,.22);border-radius:999px;padding:4px 12px;font-size:12px;color:#4a2a66;cursor:pointer;transition:background .15s ease}
.gp-feedback__reason:hover{background:rgba(94,0,121,.08)}

/* ── 7.6.0 · Fix iOS: sin auto-zoom ni "temblor" al enfocar campos ──
   Safari en iPhone hace zoom automático cuando un campo tiene fuente < 16px;
   ese zoom peleando con el layout es el temblor reportado. Con 16px reales en
   todos los campos en móvil, el zoom nunca se dispara. */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
  .gp-chat__input-wrap textarea { line-height: 1.35; }
}
button, input, select, textarea, a, [role="button"] { touch-action: manipulation; }

/* ── 7.6.0 · Bienvenida de primera visita ── */
.gp-welcome-dialog { border: 0; border-radius: 22px; padding: 0; max-width: 520px; width: calc(100vw - 32px); background: transparent; }
.gp-welcome-dialog::backdrop { background: rgba(20, 8, 32, .62); backdrop-filter: blur(4px); }
.gp-welcome-dialog.is-open { display: block; position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 9999; }
.gp-welcome__shell { border-radius: 22px; background: linear-gradient(160deg, #ffffff 62%, #f4ecff); box-shadow: 0 30px 80px rgba(40, 8, 60, .35); overflow: hidden; }
.gp-welcome__head { display: flex; align-items: flex-start; gap: .6rem; padding: 1.15rem 1.15rem .4rem; background: linear-gradient(135deg, #5e0079, #8a2be2); color: #fff; }
.gp-welcome__head span { font-size: .6rem; font-weight: 900; letter-spacing: .14em; opacity: .8; }
.gp-welcome__head h2 { margin: .15rem 0 .2rem; font-size: 1.28rem; }
.gp-welcome__head p { margin: 0 0 .7rem; font-size: .8rem; line-height: 1.45; opacity: .94; }
.gp-welcome__head button { margin-left: auto; flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255,255,255,.16); color: #fff; font-size: 1.05rem; cursor: pointer; }
.gp-welcome__grid { display: grid; gap: .45rem; padding: .85rem 1rem .35rem; }
.gp-welcome__grid article { display: flex; align-items: flex-start; gap: .65rem; padding: .55rem .65rem; border-radius: 14px; background: #fff; border: 1px solid #efe6f5; }
.gp-welcome__grid article > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #f3e9ff; font-size: 1.15rem; }
.gp-welcome__grid b { display: block; color: #3c2352; font-size: .82rem; }
.gp-welcome__grid small { color: #6f6280; font-size: .72rem; line-height: 1.4; }
.gp-welcome__note { margin: .3rem 1.15rem .1rem; color: #8a7d99; font-size: .68rem; }
.gp-welcome__actions { display: flex; align-items: center; gap: .8rem; padding: .55rem 1.05rem 1.05rem; flex-wrap: wrap; }
.gp-welcome__cta { flex: 1 1 auto; min-height: 46px; border: 0; border-radius: 15px; background: linear-gradient(135deg, #5e0079, #9b30ff); color: #fff; font-size: .88rem; font-weight: 850; cursor: pointer; box-shadow: 0 12px 28px rgba(94, 0, 121, .3); transition: transform .15s ease; }
.gp-welcome__cta:hover { transform: translateY(-1px); }
.gp-welcome__business { color: #5e0079; font-size: .76rem; font-weight: 750; text-decoration: none; }
.gp-welcome__business:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .gp-welcome-dialog { width: calc(100vw - 20px); }
  .gp-welcome__grid { max-height: 46vh; overflow-y: auto; }
}

/* 7.6.1 · Avatar de PetiA en la bienvenida */
.gp-welcome__avatar { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.14); padding: 3px; object-fit: contain; box-shadow: 0 6px 18px rgba(0,0,0,.22); animation: gp-welcome-pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes gp-welcome-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gp-welcome__avatar { animation: none; } }

/* 7.7.0 · Franja "monstruo" de la bienvenida */
.gp-welcome__more { padding: .15rem 1.05rem 0; }
.gp-welcome__more > small { display: block; margin-bottom: .35rem; color: #7a5a96; font-size: .68rem; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.gp-welcome__pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.gp-welcome__pills span { padding: .28rem .6rem; border-radius: 999px; background: #f3e9ff; border: 1px solid #e6d5f7; color: #4a2a66; font-size: .66rem; font-weight: 700; line-height: 1.2; }
@media (max-width: 480px) { .gp-welcome__pills span { font-size: .62rem; } }

/* ── 7.8.0 · Página de entidad "¿Qué es PetiA?" ── */
.gp-brand-page { color: #2e2140; }
.gp-brand-hero { padding: 4.2rem 0 2.6rem; background: linear-gradient(150deg, #5e0079, #8a2be2); color: #fff; }
.gp-brand-hero .gp-kicker { color: #ffd75e; }
.gp-brand-hero h1 { margin: .4rem 0 .8rem; font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.gp-brand-hero__answer { max-width: 780px; font-size: 1.02rem; line-height: 1.65; opacity: .96; }
.gp-brand-hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.gp-brand-cta { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 15px; background: #ffd75e; color: #3c1053; font-weight: 850; text-decoration: none; box-shadow: 0 12px 28px rgba(0,0,0,.22); transition: transform .15s ease; }
.gp-brand-cta:hover { transform: translateY(-2px); }
.gp-brand-cta--ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.gp-brand-section { padding: 2.8rem 0; }
.gp-brand-section--alt { background: #f8f3fc; }
.gp-brand-section h2 { margin: 0 0 1.3rem; font-size: clamp(1.3rem, 3vw, 1.7rem); color: #3c1053; }
.gp-brand-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gp-brand-grid article { padding: 1rem 1.05rem; border-radius: 16px; background: #fff; border: 1px solid #eee2f5; box-shadow: 0 8px 22px rgba(60,16,83,.05); }
.gp-brand-grid article > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #f3e9ff; font-size: 1.25rem; }
.gp-brand-grid h3 { margin: .6rem 0 .3rem; font-size: .95rem; color: #3c1053; }
.gp-brand-grid p { margin: 0; font-size: .8rem; line-height: 1.5; color: #6f6280; }
.gp-brand-facts { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin: 0; }
.gp-brand-facts > div { display: flex; gap: .6rem; padding: .7rem .9rem; border-radius: 13px; background: #fff; border: 1px solid #eee2f5; }
.gp-brand-facts dt { flex: 0 0 auto; font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: #8a5db0; }
.gp-brand-facts dd { margin: 0; font-size: .84rem; color: #3f2f52; }
.gp-brand-facts dd a { color: #5e0079; font-weight: 750; }
.gp-brand-disambig { max-width: 820px; font-size: .95rem; line-height: 1.65; color: #55476a; }
.gp-brand-faq details { margin-bottom: .6rem; padding: .85rem 1rem; border-radius: 14px; background: #fff; border: 1px solid #eee2f5; }
.gp-brand-faq summary { display: flex; justify-content: space-between; gap: .8rem; cursor: pointer; font-weight: 800; color: #3c1053; list-style: none; }
.gp-brand-faq summary::-webkit-details-marker { display: none; }
.gp-brand-faq p { margin: .6rem 0 0; font-size: .86rem; line-height: 1.6; color: #5d5070; }

/* ── 7.8.1 · Rendimiento móvil: fin del temblor ──
   1) El blur del backdrop del popup forzaba recomposición de pantalla completa
      en cada frame en móviles (el "temblor de 33s" mientras estaba abierto).
      En pantallas táctiles se usa fondo sólido sin filtro.
   2) Con cualquier diálogo abierto se pausan las animaciones de fondo
      (cursor del typewriter incluido): nada repinta debajo del modal.
   3) overflow-anchor:none evita saltos del anclaje de scroll al crecer el
      contenido del chat mientras escribes. */
@media (pointer: coarse), (max-width: 900px) {
  .gp-welcome-dialog::backdrop { background: rgba(20, 8, 32, .78); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gp-os-dialog::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
html.gp-dialog-open .gp-chat__typewriter { visibility: hidden; }
html.gp-dialog-open .gp-chat__typewriter::after { animation: none; }
html.gp-dialog-open .gp-welcome__avatar { animation: none; }
[data-chat-messages] { overflow-anchor: none; }
.gp-chat__input-wrap textarea { overflow-anchor: none; }

/* ── 7.9.1 · Rendimiento móvil definitivo + popup contenido ──
   CAUSA DEL TEMBLOR EN MÓVIL: elementos con animación infinita de transform
   (flotación/pulso) que además llevan filter: drop-shadow — el navegador
   re-rasteriza la capa filtrada en CADA frame, y en GPU móvil se percibe
   como vibración de pantalla. El botón de enviar pulsaba box-shadow al
   escribir (el "temblorcito" al teclear). En táctil: decorativas apagadas,
   pose estática; en escritorio todo sigue animado. */
@media (pointer: coarse) {
  .gp-agent__character,
  .gp-agent--consumer .gp-agent__character,
  .gp-agent__spark,
  .gp-chat__identity > img,
  .gp-message-avatar,
  .gp-chat-sidebar__brand > img,
  .gp-personalize__head > img,
  .gp-chat-context__orb img,
  .gp-agent--consumer .gp-chat__identity > .gp-chat__brand-avatar,
  .gp-chat__form.has-content .gp-chat__send {
    animation: none !important;
  }
  /* El drop-shadow estático es barato; el problema era animarlo. */
}

/* Barra de scroll estable en escritorio: sin desplazamientos horizontales
   cuando el contenido crece o un diálogo abre. */
html { scrollbar-gutter: stable; }

/* Altura del chat en móvil con dvh: sin saltos al colapsar la barra del
   navegador. */
@supports (height: 100dvh) {
  .gp-agent__workspace.is-chatting .gp-chat__messages { min-height: clamp(300px, 39dvh, 430px); }
}

/* ── Popup de bienvenida: nunca entrecortado ──
   Altura máxima al viewport con scroll interno; en pantallas bajas se
   compacta para que el CTA siempre sea visible. */
.gp-welcome-dialog { max-height: min(92vh, 800px); }
.gp-welcome__shell { max-height: min(92vh, 800px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@supports (height: 100dvh) {
  .gp-welcome-dialog, .gp-welcome__shell { max-height: min(92dvh, 800px); }
}
@media (max-height: 860px) {
  .gp-welcome__head { padding: .85rem 1rem .3rem; }
  .gp-welcome__head h2 { font-size: 1.12rem; }
  .gp-welcome__head p { margin-bottom: .5rem; font-size: .75rem; }
  .gp-welcome__grid { gap: .3rem; padding: .6rem .85rem .25rem; }
  .gp-welcome__grid article { padding: .42rem .55rem; }
  .gp-welcome__grid article > span { width: 32px; height: 32px; font-size: 1rem; }
  .gp-welcome__grid small { font-size: .68rem; }
  .gp-welcome__more { padding-top: .05rem; }
  .gp-welcome__pills span { font-size: .6rem; padding: .22rem .5rem; }
  .gp-welcome__actions { padding: .45rem .9rem .85rem; }
  .gp-welcome__cta { min-height: 42px; font-size: .82rem; }
}

/* ── 7.9.2 · Sin transiciones de altura durante el teclado ──
   La transición de min-height del hilo amplificaba cada ajuste del viewport
   en una animación de .25s (el "rebote"). En táctil, los cambios de altura
   son instantáneos. */
@media (pointer: coarse) {
  .gp-chat__messages { transition: none; }
}

/* ── 7.10.0 · Popup de inicio de sesión ── */
.gp-login-dialog { width: min(420px, calc(100vw - 28px)); padding: 0; border: 1px solid rgba(109,39,133,.18); border-radius: 26px; color: #2f1938; background: #fff; box-shadow: 0 35px 110px rgba(31,13,39,.35); }
.gp-login-dialog::backdrop { background: rgba(20,8,32,.62); }
@media (pointer: coarse), (max-width: 900px) { .gp-login-dialog::backdrop { background: rgba(20,8,32,.78); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.gp-login-card { display: flex; flex-direction: column; align-items: center; padding: 2rem 1.6rem 1.4rem; text-align: center; }
.gp-login-card > img { border-radius: 20px; filter: drop-shadow(0 8px 16px rgba(75,22,115,.22)); }
.gp-login-kicker { margin-top: .6rem; color: #a06cc4; font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.gp-login-card h2 { margin: .2rem 0 .3rem; font-size: 1.35rem; color: #3c1053; }
.gp-login-copy { margin: 0 0 1rem; color: #6f6280; font-size: .8rem; line-height: 1.5; }
.gp-login-form { display: flex; width: 100%; flex-direction: column; gap: .7rem; text-align: left; }
.gp-login-form label { display: flex; flex-direction: column; gap: .3rem; color: #5b4770; font-size: .74rem; font-weight: 800; }
.gp-login-form input:not([type="checkbox"]) { min-height: 46px; padding: .55rem .8rem; border: 1px solid #ddcbe6; border-radius: 13px; background: #faf7fc; font-size: 16px; }
.gp-login-form input:focus { border-color: #8a2be2; outline: 2px solid rgba(138,43,226,.18); }
.gp-login-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.gp-login-remember { flex-direction: row !important; align-items: center; gap: .4rem !important; font-weight: 650 !important; }
.gp-login-forgot { border: 0; background: none; color: #5e0079; cursor: pointer; font-size: .74rem; font-weight: 750; text-decoration: underline; }
.gp-login-dialog .gp-register-submit { width: 100%; margin-top: .2rem; }
.gp-login-dialog .gp-register-login { margin-top: .9rem; border: 0; background: none; cursor: pointer; }
@media (max-width: 480px) { .gp-login-dialog { width: calc(100vw - 20px); } .gp-login-card { padding: 1.6rem 1.15rem 1.2rem; } }

/* ══ 7.11.0 · App instalable: invitación, hoja iOS y modo standalone ══ */
.gp-pwa-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9998; display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 20px; background: rgba(255,255,255,.98); border: 1px solid #e8d9f5; box-shadow: 0 18px 46px rgba(40,8,60,.24); transform: translateY(140%); opacity: 0; transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .28s ease; }
.gp-pwa-banner.is-visible { transform: translateY(0); opacity: 1; }
.gp-pwa-banner > img { flex: 0 0 auto; border-radius: 14px; }
.gp-pwa-banner__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gp-pwa-banner__body b { color: #3c1053; font-size: .84rem; }
.gp-pwa-banner__body small { color: #6f6280; font-size: .7rem; line-height: 1.35; }
.gp-pwa-banner__actions { display: flex; flex-direction: column; gap: .3rem; flex: 0 0 auto; }
.gp-pwa-install { min-height: 38px; padding: .4rem 1rem; border: 0; border-radius: 12px; background: linear-gradient(135deg,#5e0079,#9b30ff); color: #fff; font-size: .78rem; font-weight: 850; cursor: pointer; white-space: nowrap; }
.gp-pwa-later { border: 0; background: none; color: #8a7d99; font-size: .7rem; cursor: pointer; }
@media (min-width: 720px) { .gp-pwa-banner { left: auto; right: 20px; width: 400px; } }

.gp-pwa-ios { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: end center; padding: 16px; background: rgba(20,8,32,.72); opacity: 0; transition: opacity .26s ease; }
.gp-pwa-ios.is-visible { opacity: 1; }
.gp-pwa-ios__card { width: min(430px, 100%); padding: 1.4rem 1.2rem calc(1.2rem + env(safe-area-inset-bottom)); border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 -10px 50px rgba(0,0,0,.3); transform: translateY(20px); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.gp-pwa-ios.is-visible .gp-pwa-ios__card { transform: translateY(0); }
.gp-pwa-ios__card > img { border-radius: 18px; }
.gp-pwa-ios__card h3 { margin: .6rem 0 .8rem; color: #3c1053; font-size: 1.05rem; }
.gp-pwa-ios__card ol { margin: 0 0 1rem; padding-left: 1.2rem; text-align: left; color: #55476a; font-size: .84rem; line-height: 1.6; }
.gp-pwa-ios__card ol li { margin-bottom: .45rem; }
.gp-pwa-ios__close { width: 100%; min-height: 46px; border: 0; border-radius: 14px; background: linear-gradient(135deg,#5e0079,#9b30ff); color: #fff; font-size: .88rem; font-weight: 850; cursor: pointer; }

.gp-pwa-toast { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 9997; display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem .6rem 1rem; border-radius: 999px; background: #2e1140; color: #fff; font-size: .8rem; box-shadow: 0 14px 34px rgba(0,0,0,.3); transform: translateX(-50%); transition: opacity .3s ease; }
.gp-pwa-toast.is-gone { opacity: 0; pointer-events: none; }
.gp-pwa-toast button { min-height: 32px; padding: .3rem .9rem; border: 0; border-radius: 999px; background: #ffd75e; color: #3c1053; font-size: .76rem; font-weight: 850; cursor: pointer; }

/* Modo app instalada: respeta notch y barra de gestos, y oculta lo que
   sólo tiene sentido en un navegador. */
html.gp-standalone body { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
html.gp-standalone .gp-pwa-banner, html.gp-standalone .gp-pwa-ios { display: none !important; }
html.gp-standalone .gp-agent__workspace { padding-bottom: max(env(safe-area-inset-bottom), 6px); }

/* ══ 7.12.0 · Bóveda, avisos y navegación de app ══ */

/* Confirmación discreta de respaldo */
.gp-sync-pill { position: fixed; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 9996; padding: .45rem 1rem; border-radius: 999px; background: rgba(46,17,64,.94); color: #fff; font-size: .74rem; font-weight: 700; transform: translate(-50%, 10px); opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.gp-sync-pill.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Solicitud de avisos: se pide en el momento correcto y con contexto */
.gp-push-sheet { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: end center; padding: 14px; background: rgba(20,8,32,.7); opacity: 0; transition: opacity .26s ease; }
.gp-push-sheet.is-visible { opacity: 1; }
.gp-push-sheet__card { width: min(420px, 100%); padding: 1.5rem 1.2rem calc(1.1rem + env(safe-area-inset-bottom)); border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 -10px 50px rgba(0,0,0,.32); transform: translateY(22px); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.gp-push-sheet.is-visible .gp-push-sheet__card { transform: translateY(0); }
.gp-push-sheet__card > img { border-radius: 18px; }
.gp-push-sheet__card h3 { margin: .65rem 0 .4rem; color: #3c1053; font-size: 1.1rem; }
.gp-push-sheet__card p { margin: 0 0 1.1rem; color: #6f6280; font-size: .84rem; line-height: 1.55; }
.gp-push-sheet__yes { width: 100%; min-height: 48px; border: 0; border-radius: 15px; background: linear-gradient(135deg,#5e0079,#9b30ff); color: #fff; font-size: .9rem; font-weight: 850; cursor: pointer; }
.gp-push-sheet__no { margin-top: .5rem; border: 0; background: none; color: #8a7d99; font-size: .78rem; cursor: pointer; }

/* Barra inferior: sólo en modo app instalada, donde vive el pulgar */
.gp-appnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9995; display: flex; padding: .35rem .2rem calc(.35rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #eee2f5; backdrop-filter: saturate(180%) blur(8px); }
.gp-appnav__item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: .3rem .1rem; border: 0; background: none; color: #6a5a80; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gp-appnav__item span { font-size: 1.15rem; line-height: 1.2; }
.gp-appnav__item small { font-size: .6rem; font-weight: 750; }
.gp-appnav__item:active { color: #5e0079; transform: scale(.94); }
html.gp-has-appnav body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
html.gp-has-appnav .gp-pwa-toast, html.gp-has-appnav .gp-sync-pill { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* Sin recarga accidental al desplazar el chat en la app */
html.gp-standalone [data-chat-messages], html.gp-standalone body { overscroll-behavior-y: contain; }



/* ══ 7.14.1 · Selector de país: sólido y legible ══
   Se reemplaza la maquetación anterior (rejilla interna + recorte con
   -webkit-box) por flexbox explícito: las tarjetas no pueden colapsar, los
   nombres no desaparecen y no depende de propiedades que los minificadores
   de caché suelen eliminar. */
.locale-menu.locale-menu--regions,
body.home .gp-chat__head-actions .locale-menu.locale-menu--regions,
.gp-chat__head-actions .locale-menu.locale-menu--regions {
  width: min(430px, calc(100vw - 20px)) !important;
  box-sizing: border-box;
}
.locale-detect { width: 100% !important; box-sizing: border-box; }

.locale-country-grid {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)) !important;
  gap: 7px;
}
.locale-country-grid > button {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
  justify-self: stretch;
  align-items: center;
  gap: 9px;
  min-height: 60px;
  padding: 9px 10px;
  position: relative;
}
.locale-country-grid > button > span { flex: 0 0 auto; }
.locale-country-grid > button > div { display: flex !important; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 2px; }
.locale-country-grid b {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
  font-size: .74rem;
  line-height: 1.18;
}
.locale-country-grid small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .56rem;
}
.locale-country-grid i { position: absolute; top: 6px; right: 6px; width: 15px; height: 15px; font-size: .5rem; }

@media (max-width: 400px) {
  .locale-country-grid { grid-template-columns: repeat(auto-fit, minmax(min(134px, 100%), 1fr)) !important; gap: 6px; }
  .locale-country-grid b { font-size: .71rem; }
}

/* ══ 7.15.0 · Banderas reales en todas las plataformas ══
   Los emoji de bandera no existen en Windows, así que se sustituyen por un
   sprite propio: 21 banderas en un solo archivo de 16 KB, a doble resolución
   para pantallas retina. Una petición, sin servicios externos, idéntico en
   Windows, Android e iPhone. */
.locale-flag {
  display: inline-block;
  width: 27px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 3px;
  background-image: url("assets/flags/sprite.png");
  background-repeat: no-repeat;
  background-size: 27px auto;
  box-shadow: inset 0 0 0 1px rgba(60, 16, 83, .13);
  font-size: 0;
  overflow: hidden;
}
.locale-toggle__flag.locale-flag { width: 28px; height: 21px; background-size: 28px auto; border-radius: 4px; }
.locale-flag[data-flag-code="MX"]{background-position:0 -0px}
.locale-flag[data-flag-code="CO"]{background-position:0 -20px}
.locale-flag[data-flag-code="AR"]{background-position:0 -40px}
.locale-flag[data-flag-code="CL"]{background-position:0 -60px}
.locale-flag[data-flag-code="PE"]{background-position:0 -80px}
.locale-flag[data-flag-code="EC"]{background-position:0 -100px}
.locale-flag[data-flag-code="UY"]{background-position:0 -120px}
.locale-flag[data-flag-code="CR"]{background-position:0 -140px}
.locale-flag[data-flag-code="PA"]{background-position:0 -160px}
.locale-flag[data-flag-code="DO"]{background-position:0 -180px}
.locale-flag[data-flag-code="GT"]{background-position:0 -200px}
.locale-flag[data-flag-code="BR"]{background-position:0 -220px}
.locale-flag[data-flag-code="PT"]{background-position:0 -240px}
.locale-flag[data-flag-code="ES"]{background-position:0 -260px}
.locale-flag[data-flag-code="US"]{background-position:0 -280px}
.locale-flag[data-flag-code="CA"]{background-position:0 -300px}
.locale-flag[data-flag-code="GB"]{background-position:0 -320px}
.locale-flag[data-flag-code="FR"]{background-position:0 -340px}
.locale-flag[data-flag-code="DE"]{background-position:0 -360px}
.locale-flag[data-flag-code="IT"]{background-position:0 -380px}
.locale-flag[data-flag-code="NL"]{background-position:0 -400px}
.locale-flag[data-flag-code="XX"],.locale-flag:not([data-flag-code]){background-position:0 -420px}
/* El botón "Detectar mi región": su columna de texto colapsaba y el título
   se partía letra por letra. Flexbox explícito, igual que las tarjetas. */
.locale-detect {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
  align-items: center;
  gap: 9px;
}
.locale-detect > span { flex: 0 0 auto; }
.locale-detect > div { display: flex !important; flex: 1 1 auto !important; width: auto !important; max-width: none !important; min-width: 0; flex-direction: column; gap: 2px; text-align: left; }
.locale-detect b { display: block !important; width: 100%; white-space: normal !important; font-size: .76rem; line-height: 1.2; }
.locale-detect small { display: block !important; width: 100%; white-space: normal !important; font-size: .6rem; line-height: 1.3; }
/* Misma protección para la fila del país actual */
.locale-current { display: flex !important; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; }
.locale-current > div { display: flex !important; flex: 1 1 auto; min-width: 0; flex-direction: column; }
