/* Final brand pass: Poppins, reduced editorial noise and restrained interaction. */
:root { --brand-font: 'Poppins', sans-serif; }
html, body, button, input, textarea, select { font-family: var(--brand-font) !important; }
html, body { overflow-x: clip; }
img, svg, video, canvas { max-width: 100%; }

/* Home: keep the second section close to the hero and leave copy to the cards. */
body[data-page="home"] .universes { padding-top: clamp(52px, 6vw, 88px); }
body[data-page="home"] .universes .section-heading { margin-bottom: clamp(26px, 3vw, 44px); }
body[data-page="home"] .universes .section-heading > p { display: none; }

/* Only two interactive lighting surfaces; static fallback is deliberate. */
#kit-inicio, body[data-page="studio"] #studio.studio-page { --pointer-x: 50%; --pointer-y: 36%; }
#kit-inicio { background: radial-gradient(500px circle at var(--pointer-x) var(--pointer-y), #ff3c9547, transparent 42%), radial-gradient(ellipse at 88% 100%, #bdff0030, transparent 52%); transition: background-position 220ms ease-out; }
body[data-page="studio"] #studio.studio-page { background: radial-gradient(600px circle at var(--pointer-x) var(--pointer-y), #ff3c9530, transparent 42%), radial-gradient(ellipse 46% 40% at 91% 16%, #8c62ff15, transparent 70%), #111113; }

/* Home Color Club uses the supplied original artwork, not a substitute wordmark. */
.club-teaser-brand { display: none; }
.club-logo-art { display: block; width: min(290px, 72%); height: auto; margin: 0 0 24px; object-fit: contain; }

/* Studio: remove decorative labels/chips that interrupt the reading order. */
body[data-page="studio"] .page-breadcrumb { display: none; }
body[data-page="studio"] .studio-chip-row { margin-bottom: 26px; }
body[data-page="studio"] .studio-chip-row span:not(:first-child),
body[data-page="studio"] .studio-panel-label,
body[data-page="studio"] .studio-mini-chip { display: none; }
body[data-page="studio"] .studio-chip-row span:first-child { padding: 0; border: 0; border-radius: 0; background: none; color: #f5ee4f; font-size: 11px; letter-spacing: .12em; backdrop-filter: none; -webkit-backdrop-filter: none; }
body[data-page="studio"] .studio-glass-panel { width: min(100%, 390px); height: 440px; border-radius: 30px; background: linear-gradient(145deg, #ffffff13, #ffffff05 52%, #ff3c950a); }
body[data-page="studio"] .studio-glass-panel img { width: 107%; transform: translateY(20px); }
body[data-page="studio"] .studio-hero { min-height: 640px; }
body[data-page="studio"] .site-footer .footer-manifesto { display: none; }

/* Color Club is explored directly through swatches; no redundant transport controls. */
.color-stage .poster-actions, .color-stage .color-controls { display: none; }
.color-stage-bottom { justify-content: space-between; }
.color-dots { margin-inline: auto; }
.club-original-palette { margin: clamp(36px, 6vw, 74px) 0 0; overflow: hidden; border-radius: 24px; background: #f6f0df; }
.club-original-palette img { display: block; width: 100%; height: auto; }

/* Footer is a closer, not a second campaign headline. */
.site-footer .footer-manifesto > span { display: none; }

/* Gallery navigation is intentionally reduced to lightweight dots. */
.product-gallery .gallery-prev, .product-gallery .gallery-next, .product-gallery .gallery-pause { display: none; }
.product-gallery .gallery-controls { justify-content: center; }
.product-gallery .gallery-dots { padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, #ffffff 76%, transparent); box-shadow: 0 6px 20px #1a1a1a18; }

@media (prefers-reduced-motion: reduce) {
  #kit-inicio, body[data-page="studio"] #studio.studio-page { transition: none; }
}

/* Refinement pass: ambient light moves slowly, never like a UI control. */
@keyframes kapa-aura-drift {
  0%, 100% { transform: translate3d(-11%, -8%, 0) scale(.88); opacity: .52; }
  46% { transform: translate3d(18%, 13%, 0) scale(1.12); opacity: .88; }
  72% { transform: translate3d(4%, 27%, 0) scale(.98); opacity: .64; }
}
@keyframes kapa-aura-reverse {
  0%, 100% { transform: translate3d(18%, 14%, 0) scale(1.05); opacity: .64; }
  50% { transform: translate3d(-14%, -12%, 0) scale(.87); opacity: .9; }
}
#kit-marca { position: relative; isolation: isolate; overflow: hidden; }
#kit-marca::before, body[data-page="studio"] #studio.studio-page::after,
body[data-page="studio"] .studio-final-cta::before, body:not([data-page="studio"]) .footer-manifesto::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, #ff3c9563 0%, #ff3c9524 28%, transparent 69%);
  will-change: transform; animation: kapa-aura-drift 17s ease-in-out infinite;
}
#kit-marca::before { width: 46rem; height: 46rem; right: -19rem; bottom: -27rem; }
 #kit-marca > *, body[data-page="studio"] .studio-final-cta > *, body:not([data-page="studio"]) .footer-manifesto > * { position: relative; z-index: 1; }
body[data-page="studio"] #studio.studio-page::after { width: 38rem; height: 38rem; left: -19rem; top: 25rem; background: radial-gradient(circle, #f5ee4f24 0%, #ff3c9522 35%, transparent 70%); animation-duration: 20s; }
body[data-page="studio"] .studio-final-cta { overflow: hidden; isolation: isolate; }
body[data-page="studio"] .studio-final-cta::before { width: 32rem; height: 32rem; right: -14rem; top: -17rem; animation: kapa-aura-reverse 15s ease-in-out infinite; }
body:not([data-page="studio"]) .footer-manifesto { position: relative; isolation: isolate; overflow: hidden; }
body:not([data-page="studio"]) .footer-manifesto::before { width: 31rem; height: 31rem; left: -13rem; bottom: -19rem; animation-duration: 19s; }

/* Catalog: the dots remain usable but nearly disappear into the photo. */
.product-gallery .gallery-dots { padding: 4px 7px; gap: 5px; background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 22%); box-shadow: none; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.product-gallery .gallery-dots button { width: 5px; height: 5px; opacity: .62; }
.product-gallery .gallery-dots button[aria-pressed="true"] { width: 13px; opacity: .92; }
.catalog-price-note { color: #9a9aa0; font-size: 12px; line-height: 1.55; }

/* The Color Club lockup is a small white signature, not a competing hero. */
.club-logo-art { width: min(176px, 55%); margin-bottom: 17px; filter: brightness(0) invert(1); opacity: .96; }
.club-original-palette { display: none; }

/* On the narrow footer, stack each group deliberately so no contact line clips. */
@media (max-width: 700px) {
  .site-footer .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .site-footer .footer-contact, .site-footer .footer-social { align-items: flex-start; }
  .site-footer .footer-contact a, .site-footer .footer-social a { align-self: flex-start; }
  .site-footer .footer-whatsapp { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  #kit-marca::before, body[data-page="studio"] #studio.studio-page::after,
  body[data-page="studio"] .studio-final-cta::before, body:not([data-page="studio"]) .footer-manifesto::before { animation: none; }
}

@keyframes catalog-kapa-light {
  0%, 100% { transform: translate(-18%, -12%) scale(.9); opacity: .45; }
  50% { transform: translate(20%, 18%) scale(1.12); opacity: .84; }
}
.catalog-kapa { isolation: isolate; overflow: hidden; }
.catalog-kapa::before { content: ''; position: absolute; z-index: 0; width: 28rem; height: 28rem; right: -13rem; top: -15rem; border-radius: 50%; background: radial-gradient(circle, #ff3c9560, transparent 68%); animation: catalog-kapa-light 14s ease-in-out infinite; pointer-events: none; }
.catalog-kapa > * { position: relative; z-index: 1; }

/* Publication covers are used as editorial work, not as a generic social grid. */
.editorial-post-cover { aspect-ratio: 1 / 1; overflow: hidden; background: #f4f3e7; }
.editorial-post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Studio footer reorganizes before it becomes cramped at tablet widths. */
@media (max-width: 1050px) {
  body[data-page="studio"] .site-footer .footer-top { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; }
  body[data-page="studio"] .site-footer .footer-social { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-top: 24px; border-top: 1px solid #ffffff1a; }
  body[data-page="studio"] .site-footer .footer-social h3 { grid-column: 1 / -1; margin: 0; }
  body[data-page="studio"] .site-footer .footer-bottom { flex-wrap:wrap; gap: 14px; }
}
@media (max-width: 700px) {
  body[data-page="studio"] .site-footer .footer-top { grid-template-columns: 1fr; }
  body[data-page="studio"] .site-footer .footer-social { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .catalog-kapa::before { animation: none; } }

/* Touch screens do not have a pointer to steer the kit light, so it drifts on its own. */
@keyframes kit-mobile-ambient {
  0%, 100% { background-position: 16% 20%, 88% 86%; }
  50% { background-position: 82% 42%, 18% 18%; }
}

@media (hover: none) and (pointer: coarse) {
  #kit-inicio {
    background-image:
      radial-gradient(520px circle at 18% 24%, #ff3c9559, transparent 43%),
      radial-gradient(460px ellipse at 84% 78%, #bdff0048, transparent 54%);
    background-size: 170% 170%, 170% 170%;
    background-repeat: no-repeat;
    animation: kit-mobile-ambient 15s ease-in-out infinite alternate;
  }

  .catalog-kapa::before {
    width: 32rem;
    height: 32rem;
    right: -12rem;
    top: -17rem;
    background: radial-gradient(circle, #ff3c9578 0%, #ffb7d867 35%, transparent 69%);
    filter: blur(3px);
    animation-duration: 12s;
  }
}

/* Mobile close controls stay intentionally quiet: the icon is the only visible affordance. */
@media (max-width: 580px) {
  .quick-contact-close,
  .kapa-close {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .quick-contact-close:focus-visible,
  .kapa-close:focus-visible {
    outline: 0 !important;
  }
}

body.contact-clean-lines .site-footer,
body.contact-clean-lines .footer-bottom { border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  #kit-inicio { animation: none; }
}

/* Conócenos: direct, calm information about how the small business operates. */
body[data-page="conocenos"] .about-page { max-width: 1180px; margin: 0 auto; padding: 52px 0 100px; }
.about-hero { max-width: 820px; padding: 48px 0 74px; }
.about-kicker { margin: 0 0 16px; color: #68686d; font-size: 12px; font-weight: 650; letter-spacing: .1em; }
.about-hero h1 { margin: 0; font-size: clamp(48px, 6.8vw, 82px); line-height: 1; letter-spacing: -.065em; }
.about-intro { max-width: 660px; margin: 26px 0 0; color: #5e5e62; font-size: 20px; line-height: 1.5; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #dedee3; border-bottom: 1px solid #dedee3; }
.about-card { min-height: 210px; padding: 29px 28px 32px; border-right: 1px solid #dedee3; }
.about-card:last-child { border-right: 0; }
.about-card__number { display: block; margin-bottom: 42px; color: #ff3c95; font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.about-card h2 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.04em; }
.about-card p { margin: 0; color: #68686d; font-size: 16px; line-height: 1.55; }
.about-note { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-top: 42px; padding: 34px 38px; border-radius: 26px; background: linear-gradient(115deg, #f8f4f6, #f3f7e9); }
.about-note p { max-width: 610px; margin: 0; color: #55555a; font-size: 17px; line-height: 1.55; }
.about-note .button { flex: 0 0 auto; }
@media (max-width: 1300px) { body[data-page="conocenos"] .about-page { margin-left: 6%; margin-right: 6%; } }
@media (max-width: 680px) { body[data-page="conocenos"] .about-page { margin: 0 5%; padding: 28px 0 72px; }.about-hero { padding: 30px 0 52px; }.about-hero h1 { font-size: clamp(44px, 13.5vw, 64px); }.about-intro { font-size: 18px; }.about-grid { grid-template-columns: 1fr; }.about-card { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid #dedee3; }.about-card:last-child { border-bottom: 0; }.about-card__number { margin-bottom: 22px; }.about-note { display: block; margin-top: 28px; padding: 27px 24px; border-radius: 22px; }.about-note .button { margin-top: 22px; } }

/* A gentle living glow gives the closing invitation a sense of momentum. */
@keyframes about-note-ambient {
  0%, 100% { transform: translate3d(-7%, -6%, 0) scale(.92); opacity: .35; }
  50% { transform: translate3d(18%, 12%, 0) scale(1.12); opacity: .76; }
}
.about-note { position: relative; isolation: isolate; overflow: hidden; }
.about-note::before { content: ''; position: absolute; z-index: -1; width: 28rem; height: 28rem; right: -13rem; top: -19rem; border-radius: 50%; background: radial-gradient(circle, #bdff0096, transparent 67%); filter: blur(4px); animation: about-note-ambient 13s ease-in-out infinite; pointer-events: none; }
.about-note > * { position: relative; z-index: 1; }

/* Footer utility links read as compact controls when a cursor reaches them. */
.footer-legal-links a { border-radius: 999px; padding: 6px 9px; margin: -6px -3px; transition: color .22s ease, background-color .22s ease, transform .22s var(--motion-ease, ease); }
@media (hover: hover) { .footer-legal-links a:hover { color: #1a1a1a !important; background: #ff3c9514; transform: translateY(-1px); } }

/* The active navigation marker arrives like a small liquid drop, then settles. */
@keyframes nav-liquid-arrival {
  0% { transform: translateX(-32%) scaleX(.18) scaleY(.45); opacity: 0; }
  48% { transform: translateX(7%) scaleX(1.12) scaleY(1.45); opacity: 1; }
  100% { transform: translateX(0) scaleX(1) scaleY(1); opacity: 1; }
}
@media (min-width: 901px) {
  .header nav a { position: relative; }
  .header nav a::after { content: ''; position: absolute; right: 0; bottom: -10px; left: 0; height: 3px; border-radius: 999px; background: linear-gradient(90deg, #ff3c95, #ff72af); transform: scaleX(0); transform-origin: center; transition: transform .34s cubic-bezier(.22,.9,.25,1); }
  .header nav a:hover::after { transform: scaleX(.5); }
  .header nav a[aria-current="page"]::after { background: linear-gradient(90deg, #ff3c95, #ff72af) !important; animation: nav-liquid-arrival .62s cubic-bezier(.2,.9,.22,1) both; box-shadow: 0 1px 8px #ff3c9570; }
}
@media (prefers-reduced-motion: reduce) { .about-note::before { animation: none; }.header nav a[aria-current="page"]::after { animation: none; transform: none; } }

/* Color library: swatches meet their labels cleanly, without a stray white seam. */
.color-library .library-swatch { margin-bottom: 0; }
.color-library .library-color > strong { display: block; margin-top: 16px; }

/* Small factual notices share one clear, unobtrusive information marker. */
.catalog-price-note,
.club-footer p,
.quick-contact-note,
.resource-status,
.account-note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.catalog-price-note::before,
.club-footer p::before,
.quick-contact-note::before,
.resource-status::before,
.account-note::before {
  content: 'i';
  display: grid;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: .22em;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #8a8a8f;
  font: 700 10px/1 Arial, sans-serif;
}
/* The Color Club cards acknowledge the cursor before opening their detail. */
@keyframes color-library-select {
  0% { transform: translateY(0) scale(1); }
  62% { transform: translateY(-5px) scale(1.012); }
  100% { transform: translateY(-4px) scale(1.008); }
}
@media (hover: hover) {
  .color-library .library-color {
    cursor: pointer;
    transform: translateY(0);
    transition: border-color .28s ease, box-shadow .32s ease, transform .32s var(--motion-ease, ease);
  }
  .color-library .library-swatch {
    transition: transform .42s var(--motion-ease, ease), filter .32s ease;
  }
  .color-library .library-color:hover {
    animation: color-library-select .46s var(--motion-ease, ease) both;
    border-color: rgba(88, 21, 28, .26);
  }
  .color-library .library-color:hover .library-swatch {
    transform: scale(1.045);
    filter: saturate(1.06) brightness(1.025);
  }
  .color-library .library-color:nth-child(1):hover { box-shadow: 0 16px 30px rgba(88, 21, 28, .18); }
  .color-library .library-color:nth-child(2):hover { box-shadow: 0 16px 30px rgba(201, 54, 69, .19); }
  .color-library .library-color:nth-child(3):hover { box-shadow: 0 16px 30px rgba(236, 164, 177, .28); }
  .color-library .library-color:nth-child(4):hover { box-shadow: 0 16px 30px rgba(151, 112, 77, .16); }
}
@media (prefers-reduced-motion: reduce) {
  .color-library .library-color:hover { animation: none; transform: translateY(-2px); }
  .color-library .library-color:hover .library-swatch { transform: none; }
}

/* Catalog categories keep a one-pixel, pastel edge that drifts like liquid. */
@keyframes catalog-liquid-edge {
  from { background-position: 0 0, 0% 50%; }
  to { background-position: 0 0, 200% 50%; }
}
@media (hover: hover) {
  .catalog-jumps a {
    position: relative;
    border-color: #dededb;
    background: #fff;
    transition: transform .3s var(--motion-ease, ease), box-shadow .3s ease, border-color .3s ease;
  }
  .catalog-jumps a::before,
  .catalog-jumps a::after { content: none; }
  .catalog-jumps a:hover {
    border-color: transparent;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(108deg, #f6bfd5, #e7d3fb, #c8ecdf, #fff0bc, #f6bfd5) border-box;
    background-size: 100% 100%, 220% 100%;
    animation: catalog-liquid-edge 3.8s ease-in-out infinite alternate;
    box-shadow: 0 7px 18px rgba(64, 49, 58, .08), inset 0 1px 0 rgba(255,255,255,.9);
  }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-jumps a:hover { animation: none; }
}

/* Poppins keeps the Color Club interface crisp without changing the rest of the brand. */
body[data-page="color-club"] .color-club,
body[data-page="color-club"] .color-club button { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
