/* Conversación de portada. Los colores se toman de la paleta compartida. */
#home .landing-banner .hero-family{grid-template-columns:1fr 1fr;gap:18px 38px;padding:30px 36px 56px;min-height:0;align-items:center}
#home .conversation-heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:25px}
#home .conversation-heading .overline{font-size:9px;letter-spacing:.11em;color:var(--color-primary-ink)}
#home .conversation-heading h1{font-size:clamp(34px,4vw,51px);line-height:1.02;margin:7px 0 0;color:var(--gray-900)}
#home .conversation-heading h1>span{color:var(--color-primary)}
#home .conversation-offer{text-align:right;display:grid;gap:5px;flex-shrink:0}
#home .conversation-offer>strong{font:800 clamp(22px,3vw,32px)/1.15 'Bricolage Grotesque',system-ui;color:var(--color-primary)}
#home .conversation-offer>span{font-size:12px;color:var(--gray-800)}
#home .conversation-offer>small{font-size:10px;color:var(--gray-600)}
#home .family-header-art{height:350px;align-self:center;background:radial-gradient(ellipse at 50% 70%,var(--color-primary-border) 0 46%,transparent 47%);width:100%;max-width:510px;margin:0 auto}
#home .family-header-person{width:50%;height:100%;bottom:0}
#home .family-header-person.dad{left:0}#home .family-header-person.son{right:0}
#home .family-character{position:absolute;inset:90px 0 25px;overflow:hidden}
#home .family-header-person img,#home .family-header-person.son img{height:300px;width:100%;max-width:100%;object-fit:contain;object-position:bottom;left:0;bottom:-90px;transform:none;filter:drop-shadow(3px 0 0 var(--color-primary)) drop-shadow(-3px 0 0 var(--color-primary)) drop-shadow(0 3px 0 var(--color-primary)) drop-shadow(0 -3px 0 var(--color-primary));transition:filter .2s}
#home .family-speech,#home .son .family-speech{position:absolute;top:8px;left:0;right:5px;margin:0;max-width:none;min-height:74px;display:block;padding:15px 10px;border:2px solid var(--color-primary);border-radius:20px;background:var(--white);color:var(--color-primary-ink);font-size:14px;line-height:1.35;transform:rotate(-3deg);box-shadow:0 5px 0 var(--color-primary-border);text-align:center;transition:transform .2s}
#home .son .family-speech{top:25px;left:5px;right:0;background:var(--color-primary);color:var(--white);transform:rotate(3deg)}
#home .family-speech:before,#home .family-speech:after{content:'';position:absolute;bottom:-15px;left:43%;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:15px solid var(--color-primary);filter:none;transform:none}
#home .family-speech:after{bottom:-11px;border-top-color:var(--white);border-left-width:10px;border-right-width:10px;margin-left:2px}
#home .son .family-speech:after{border-top-color:var(--color-primary)}
#home .son .family-speech b{color:inherit}
#home .family-person-name{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--color-primary-ink);font-weight:700;padding:3px 12px;border:1px solid var(--color-primary-border);border-radius:20px;background:var(--white)}
#home .family-header-person.is-speaking .family-speech{transform:translateY(-4px) rotate(0)}
#home .hero-chat-slot{min-width:0;scroll-margin-top:90px}
#home .hero-chat-slot .wizard-shell{display:block;border:2px solid var(--color-primary);border-radius:24px;overflow:hidden;box-shadow:0 7px 0 var(--color-primary-border),0 15px 35px color-mix(in srgb,var(--color-primary) 10%,transparent);margin:0}
#home .hero-chat-slot .wizard-shell.hide{display:none}
#home .hero-chat-slot .chat-side{background:var(--color-primary);padding:23px}
#home .hero-chat-slot .chat-heading{margin:0;padding:0}
#home .hero-chat-slot .chat-heading strong{font-size:15px}
#home .hero-chat-slot .chat-heading>div>span{font-size:10px}
#home .hero-chat-slot .chat-heading .assistant-avatar{width:35px;height:35px;font-size:23px}
#home .hero-chat-slot .chat-messages{height:auto;min-height:80px;padding:22px 0 18px;overflow:visible}
#home .hero-chat-slot .chat-bubble.assistant{font-size:17px;line-height:1.4;padding:15px 17px;margin:0;max-width:100%}
#home .hero-chat-slot .chat-compose{display:flex;flex-direction:column;padding:7px;gap:7px;margin:0}
#home .hero-chat-slot .chat-compose textarea{width:100%;resize:none;min-height:43px;padding:10px;line-height:1.4;font-size:16px;background:var(--white);color:var(--gray-900)}
#home .hero-chat-slot .chat-compose .button{width:100%;font-size:13px;letter-spacing:.015em;min-height:45px}
#home .hero-chat-slot .chat-suggestions,#home .hero-chat-slot .chat-attachments,#home .hero-chat-slot #logoStatus,#home .hero-chat-slot .business-brief{display:none}
#home .hero-chat-slot .conversation-started .chat-messages{max-height:240px;overflow:auto;min-height:100px}
#home .hero-chat-slot .conversation-started .chat-bubble{font-size:13px;margin-bottom:10px}
#home .hero-chat-slot .conversation-started .chat-suggestions{display:flex;margin-bottom:12px}
#home .hero-chat-slot .conversation-started .chat-attachments{display:flex;margin-top:14px}
#home .hero-chat-slot .conversation-started #logoStatus{display:block}
#home .hero-chat-slot .conversation-started .business-brief{display:block;padding:20px;border-top:1px solid var(--color-primary-border)}
#home .hero-chat-slot .business-brief h3{font-size:18px}
#heroTypedGreeting.is-typing:after{content:'|';color:var(--color-primary);animation:conversation-caret .8s steps(2,end) infinite}
#home .conversation-form-link{padding:24px;border:2px dashed var(--color-primary-border);border-radius:20px;font-size:14px;color:var(--color-primary-ink);background:var(--white)}
#home .hero-carousel-controls{left:36px;right:30px}
#home .creator[hidden]{display:none}
@keyframes conversation-caret{50%{opacity:0}}
@media(max-width:760px){#home .landing-banner .hero-family{grid-template-columns:1fr;padding:23px 20px 53px;gap:17px}#home .conversation-heading{gap:12px;align-items:start}#home .conversation-heading h1{font-size:35px}#home .conversation-heading .overline{font-size:7px}#home .conversation-offer{max-width:130px;padding-top:5px}#home .conversation-offer>strong{font-size:22px}#home .conversation-offer>span{font-size:10px;line-height:1.4}#home .conversation-offer>small{font-size:9px}#home .family-header-art{height:285px;max-width:390px}#home .family-character{inset:85px 0 22px}#home .family-header-person img,#home .family-header-person.son img{height:250px;bottom:-90px}#home .family-speech,#home .son .family-speech{font-size:12px;min-height:66px;padding:10px 7px}#home .son .family-speech{top:20px}#home .hero-chat-slot .chat-side{padding:17px}#home .hero-chat-slot .chat-heading>div>span{display:none}#home .hero-chat-slot .chat-messages{min-height:62px;padding:14px 0}#home .hero-chat-slot .chat-bubble.assistant{font-size:15px;padding:12px 14px}#home .hero-chat-slot .chat-heading .assistant-avatar{height:30px;width:30px;font-size:19px}#home .hero-carousel-controls{left:20px;right:17px}}
@media(max-width:380px){#home .landing-banner .hero-family{padding-inline:14px}#home .conversation-heading{flex-direction:column;gap:10px}#home .conversation-heading h1{font-size:34px}#home .conversation-heading h1 br{display:block}#home .conversation-offer{max-width:none;text-align:left;display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:0}#home .conversation-offer>strong{font-size:20px}#home .conversation-offer>span{font-size:10px}#home .conversation-offer>small{display:none}#home .family-header-art{height:265px}#home .family-header-person img,#home .family-header-person.son img{height:235px;bottom:-90px}#home .family-speech,#home .son .family-speech{font-size:11px;padding:10px 6px}#home .hero-chat-slot .chat-side{padding:14px}#home .hero-chat-slot .chat-heading strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){#heroTypedGreeting.is-typing:after{animation:none}#home .family-speech,#home .family-header-person img{transition:none}}

/* One continuous conversation, with the portraits aligned to its top. */
#home .family-header-art{align-self:start;margin-top:0;height:380px}
#home .family-character{inset:90px 0 0;overflow:hidden}
#home .family-header-person img,#home .family-header-person.son img{top:0;bottom:auto;height:100%;width:100%;object-position:top;object-fit:contain}
#home .hero-chat-slot .chat-side{background:#5019ce}
#home .hero-chat-slot .chat-bubble.assistant{background:#6c36d7;color:#fff;border:1px solid #a47de6;box-shadow:none;border-radius:16px 16px 16px 4px}
#home .hero-chat-slot .chat-bubble.user{background:#eaff68;color:#321454;border:1px solid #d4eb4b;border-radius:16px 16px 4px 16px}
#home .hero-chat-slot .chat-compose{background:transparent;border:0;padding:0;box-shadow:none;gap:10px}
@property --chat-border-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
#home .hero-chat-slot .chat-compose textarea{--chat-border-angle:0deg;border:3px solid transparent;border-radius:15px;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--chat-border-angle),#eaff68,#dba5ff,#fff,#eaff68) border-box;animation:chat-input-ring 4s linear infinite;min-height:78px;max-height:180px;resize:vertical;padding:14px;color:#321454}
#home .hero-chat-slot .chat-compose textarea:focus{outline:2px solid #eaff68;outline-offset:3px;box-shadow:0 0 0 6px #eaff6820}
#home .hero-chat-slot .chat-compose textarea::placeholder{color:#816897;opacity:1}
#home .hero-chat-slot .conversation-started .business-brief,#legacyCreationControls[hidden]{display:none!important}
#home .hero-chat-slot .logo-preview{max-width:180px;margin-top:10px}
@keyframes chat-input-ring{to{--chat-border-angle:360deg}}
@media(max-width:760px){#home .family-header-art{height:305px}#home .family-character{inset:80px 0 0}#home .hero-chat-slot .chat-compose textarea{min-height:78px}}
@media(max-width:380px){#home .family-header-art{height:285px}#home .family-character{inset:76px 0 0}}
@media(prefers-reduced-motion:reduce){#home .hero-chat-slot .chat-compose textarea{animation:none}}
#home .family-header-person.dad img{object-fit:cover}
#home .hero-chat-slot .conversation-started .chat-suggestions{display:none}

/* Reserve a separate speech row so neither bubble can cover a portrait. */
#home .family-header-person{display:grid;grid-template-rows:104px minmax(0,1fr);align-items:start}
#home .family-speech,#home .son .family-speech{position:relative;inset:auto;grid-row:1;align-self:start;margin:0 7px;min-height:0;max-width:calc(100% - 14px);transform:none;padding:12px 8px;z-index:1}
#home .family-speech[hidden]{display:none!important}
#home .family-header-person.is-speaking .family-speech{transform:none}
#home .family-character{position:relative;inset:auto;grid-row:2;align-self:stretch;min-height:0;height:100%;width:100%}
#home .hero-chat-slot .chat-compose textarea{box-sizing:border-box;min-width:0;min-height:66px;max-height:none;overflow:hidden;resize:none;border-radius:13px}
@media(max-width:760px){.nav a[data-home-anchor="como-funciona"],a.nav-link[data-home-anchor="como-funciona"]{display:none}#home .family-header-person{grid-template-rows:96px minmax(0,1fr)}#home .family-header-art{height:320px}#home .hero-chat-slot .conversation-started .chat-messages{max-height:none;overflow:visible}#home .hero-chat-slot .chat-compose textarea{min-height:66px;padding:12px;font-size:16px}}
@media(max-width:380px){#home .family-header-art{height:300px}#home .family-header-person{grid-template-rows:90px minmax(0,1fr)}}
#home .hero-chat-slot{align-self:start}
@media(max-width:760px){#home #como-funciona{display:none}}
