/* Expanded rotation: overrides remain in general-brand areas. */
body[data-brand-choice="a"]{--general-bg:#f2f3ee;--selection-bg:#c6f45c;--selection-text:#1a1e20}

/* E: violet, mandarin and porcelain; original typefaces and layout preserved. */
body[data-general-style="coral"][data-general-variant="violeta"]{
 --e-page:#302056;--e-ink:#fff9f0;--e-muted:#dcd1e8;--e-line:#8e7ba6;
 --e-action:#ffc078;--e-action-text:#302056;--e-action-hover:#ffd3a2;
 --e-highlight:#ffc078;--e-highlight-text:#302056;
 --e-frame:#ffc078;--e-image-surface:#493168;--e-caption-shade:#21163fee;--e-caption-text:#fff9f0;
 --e-band:#ffc078;--e-band-text:#302056;--e-band-accent:#593578;
 --e-card:#fff9f0;--e-card-text:#302056;--e-card-line:#cdbbd8;
 --e-about:#fff9f0;--e-about-text:#302056;--e-about-muted:#695475;--e-about-line:#cfbfd8;--e-process:#8b3b24;
 --e-contact:#f8e4d0;--e-contact-text:#302056;--e-contact-muted:#695475;
 --e-contact-action:#302056;--e-contact-action-text:#fff9f0;--e-contact-hover:#4b317a;
 --e-footer:#21163f;--e-footer-logo:#ffc078;--e-footer-text:#fff9f0;--e-footer-muted:#d4c6e0;--e-footer-line:#8e7ba6;
 --e-selection:#ffc078;--e-selection-text:#302056;
}
body[data-general-variant="violeta"] .skip-link{background:var(--e-action);color:var(--e-action-text)}

/* Preserve the complete ink drawing and graphic composition inside their frames. */
body[data-brand-choice="a"] .hero-art{background:#f2f3ee}
body[data-brand-choice="a"] .hero-art>img,
body[data-general-variant="violeta"] .hero-art>img{height:auto;object-fit:contain}
body[data-brand-choice="a"] .hero-art>figcaption{background:#1a1e20;color:#edf0e7}
body[data-general-variant="violeta"] .hero-art{background:var(--e-page)}

/* Atlas: a softly rounded rectangular mat keeps the complete composition visible. */
body[data-general-exploration="v8"] .hero-art{
 padding:12px;border:1px solid #927ca5;border-radius:24px;
 background:#432958;box-shadow:0 16px 40px #22142f26;
}
body[data-general-exploration="v8"] .hero-art>img{
 height:auto;aspect-ratio:4/3;border:0;border-radius:13px;object-fit:contain;background:#351f4b;
}
body[data-general-exploration="v8"] .hero-art>figcaption{
 margin-top:0;padding:18px 6px 6px;letter-spacing:.04em;
}
/* Keep the remaining caption visible after removal of the old image identifier. */
body[data-brand-choice] .hero-art>figcaption>span:first-child{display:block}

/* Let the longer, broader message wrap naturally in every original layout. */
body[data-brand-choice] .general-zone :is(.hero-copy,.hero-art,.section-heading,.specialty-links){min-width:0}
body[data-brand-choice] .general-zone .hero h1{overflow-wrap:normal}
body[data-brand-choice] .general-zone .highlight-word{white-space:normal}
body[data-brand-choice] .capabilities-band>.wrap{flex-wrap:wrap;gap:14px 20px}
body[data-brand-choice] .capabilities-band>.wrap>span:not([aria-hidden]){white-space:nowrap}

/* The imported A and E versions also use the approved compact uppercase footer. */
body[data-brand-choice="a"] .footer-brand,
body[data-general-style="coral"][data-general-variant] .footer-brand{
 font-size:clamp(3.25rem,5.2vw,4.5rem);line-height:1.08;letter-spacing:-.045em;
}
body[data-general-style="coral"][data-general-variant] .footer-top{
 grid-template-columns:auto 1fr auto;align-items:center;gap:28px 48px;
}
body[data-general-style="coral"][data-general-variant] .footer-brand,
body[data-general-style="coral"][data-general-variant] .footer-top>p,
body[data-general-style="coral"][data-general-variant] .back-top{grid-column:auto}
body[data-brand-choice] .footer-bottom{flex-wrap:wrap;gap:16px 28px;line-height:1.7}
body[data-brand-choice] .company-tax-id{display:inline-block;margin-top:5px;font-weight:700;letter-spacing:.035em}

/* Inherit the contact panel's text color so these links fit all nine palettes. */
body[data-brand-choice] .whatsapp-contacts{display:grid;gap:10px;margin-top:28px;max-width:25rem;min-width:0}
body[data-brand-choice] .whatsapp-heading{font:inherit;font-size:.9375rem;font-weight:600;margin:0 0 2px;color:inherit}
body[data-brand-choice] .whatsapp-contact{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 min-height:52px;padding:13px 16px;border:1px solid currentColor;border-radius:6px;
 color:inherit;font-size:1rem;line-height:1.5;font-weight:600;text-decoration:none;
 transition:background .18s ease;
}
body[data-brand-choice] .whatsapp-contact>span:first-child{white-space:nowrap}
body[data-brand-choice] .whatsapp-contact:hover{background:color-mix(in srgb,currentColor 9%,transparent)}
body[data-brand-choice] .whatsapp-contact:focus-visible{outline:2px solid currentColor;outline-offset:4px}

/* General selection follows its identity; TI and Marketing keep their own colors. */
body[data-brand-choice] :is(.tech-zone)::selection,
body[data-brand-choice] .tech-zone *::selection,
body[data-brand-choice][data-active-theme="tech"] .site-header::selection,
body[data-brand-choice][data-active-theme="tech"] .site-header *::selection{background:#7de0ef;color:#090f19}
body[data-brand-choice] :is(.marketing-zone)::selection,
body[data-brand-choice] .marketing-zone *::selection,
body[data-brand-choice][data-active-theme="marketing"] .site-header::selection,
body[data-brand-choice][data-active-theme="marketing"] .site-header *::selection{background:#70232f;color:#ffe0eb}

@media(max-width:1150px){
 body[data-brand-choice="a"] .general-zone .hero h1{font-size:clamp(2.7rem,5.6vw,4.4rem)}
 body[data-general-style="coral"] .general-zone .hero h1{font-size:clamp(2.7rem,5.6vw,4.4rem)}
}
@media(max-width:900px){
 body[data-general-style="coral"][data-general-variant] .footer-top{grid-template-columns:auto 1fr;gap:24px 34px}
 body[data-general-style="coral"][data-general-variant] .back-top{grid-column:1/-1;justify-content:space-between}
}
@media(max-width:620px){
 body[data-brand-choice] .general-zone .hero h1{font-size:clamp(2.45rem,9.2vw,3.65rem)}
 body[data-brand-choice] .capabilities-band>.wrap{justify-content:center;gap:9px 14px}
 body[data-general-exploration="v8"] .hero-art{padding:9px;border-radius:20px;box-shadow:0 10px 24px #22142f26}
 body[data-general-exploration="v8"] .hero-art>img{border-radius:11px}
 body[data-general-exploration="v8"] .hero-art>figcaption{padding:15px 4px 6px}
 body[data-brand-choice="a"] .footer-brand,
 body[data-general-style="coral"][data-general-variant] .footer-brand{font-size:clamp(2.8rem,11vw,3.75rem)}
 body[data-general-style="coral"][data-general-variant] .footer-top{grid-template-columns:1fr}
 body[data-general-style="coral"][data-general-variant] .back-top{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){body[data-brand-choice] .whatsapp-contact{transition:none}}
@media print{
 body[data-brand-choice] .whatsapp-contact{border-color:#555;color:#000}
 body[data-general-exploration="v8"] .hero-art{box-shadow:none}
}
