:root {
  color-scheme: light;
  --paper: #faf7f4;
  --ink: #302729;
  --muted: #685a60;
  --rose: #dfa6b8;
  --rose-dark: #8d405b;
  --line: #e9dfdd;
  --surface: #ffffff;
  --header: rgba(250, 247, 244, .96);
  --accent-soft: #efc8d8;
  --media: #f0e8e6;
  --app-surface: #eee0f6;
  --app-card: #faf4ff;
  --app-line: #d9c0e9;
  --pill: #dfc7f0;
  --pill-text: #674485;
  --about: #f1c6d7;
  --contact: #f4dce6;
  --hero-panel: #f2c7d8;
  --models-surface: #f8e7ee;
  --models-line: #e6bacb;
  --renders-surface: #eae3f7;
  --renders-line: #d6c6ec;
  --field: #fffcfa;
  --field-line: #d9c7ca;
  --button: #302729;
  --button-text: #ffffff;
  --button-hover: #8d405b;
  --icon-filter: none;
  --selection: #eed0db;
  --radius: 24px;
  --width: 1180px;
}

/* This also follows the browser preference when JavaScript is disabled. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #17171b;
    --ink: #efecef;
    --muted: #bbb2b8;
    --rose-dark: #e5aabe;
    --line: #393239;
    --surface: #222126;
    --header: rgba(23, 23, 27, .96);
    --accent-soft: #533346;
    --media: #29262c;
    --app-surface: #30233e;
    --app-card: #251e30;
    --app-line: #593d70;
    --pill: #583c70;
    --pill-text: #dcc0ee;
    --about: #4b2c3d;
    --contact: #362430;
    --hero-panel: #402b39;
    --models-surface: #30232c;
    --models-line: #59384a;
    --renders-surface: #282333;
    --renders-line: #49395f;
    --field: #1d1b20;
    --field-line: #5e4c58;
    --button: #e3adc0;
    --button-text: #241c20;
    --button-hover: #efc6d4;
    --icon-filter: invert(1);
    --selection: #603b4c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17171b;
  --ink: #efecef;
  --muted: #bbb2b8;
  --rose-dark: #e5aabe;
  --line: #393239;
  --surface: #222126;
  --header: rgba(23, 23, 27, .96);
  --accent-soft: #533346;
  --media: #29262c;
  --app-surface: #30233e;
  --app-card: #251e30;
  --app-line: #593d70;
  --pill: #583c70;
  --pill-text: #dcc0ee;
  --about: #4b2c3d;
  --contact: #362430;
  --hero-panel: #402b39;
  --models-surface: #30232c;
  --models-line: #59384a;
  --renders-surface: #282333;
  --renders-line: #49395f;
  --field: #1d1b20;
  --field-line: #5e4c58;
  --button: #e3adc0;
  --button-text: #241c20;
  --button-hover: #efc6d4;
  --icon-filter: invert(1);
  --selection: #603b4c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 5px; }
::selection { background: var(--selection); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
em { color: var(--rose-dark); font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--button); color: var(--button-text); padding: 12px 20px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: calc(var(--width) + 64px);
  margin: auto;
  padding: 20px 32px;
}
.logo-left { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-left img:first-child { width: 43px; height: 43px; }

.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; transition: color .2s; }
.site-nav a:hover, .site-footer a:hover { color: var(--rose-dark); }
.site-nav a:last-child { padding: 9px 17px; background: var(--accent-soft); border-radius: 50px; }
.social { display: flex; align-items: center; gap: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s; }
.social a:hover { background: var(--accent-soft); }
.social img { width: 20px; height: 20px; object-fit: contain; filter: var(--icon-filter); }
.theme-control { display: flex; align-items: center; gap: 8px; margin-right: 6px; font-size: .75rem; color: var(--muted); }
.theme-control select { border: 1px solid var(--line); border-radius: 9px; padding: 8px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.logo-center { display: none; }

.hero, .section-intro, .module, .about-section, .contact-section, .product-view, .site-footer {
  width: calc(100% - 64px);
  max-width: var(--width);
  margin-left: auto;
  margin-right: auto;
}
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .71rem; font-weight: 700; color: var(--rose-dark); margin: 0 0 16px; }
.hero { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 54px; padding: 64px 0; }
.hero h1 { font-size: clamp(3rem, 5.3vw, 4.8rem); font-weight: 650; margin: 22px 0; max-width: 600px; }
.hero-description { color: var(--muted); font-size: 1.08rem; max-width: 440px; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button, .buy-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.button-primary, .buy-btn { background: var(--button); color: var(--button-text); }
.button-primary:hover, .buy-btn:hover { background: var(--button-hover); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--rose-dark); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hero-tags span { font-size: .73rem; border: 1px solid var(--line); color: var(--muted); border-radius: 50px; padding: 6px 13px; }
.hero-art { min-width: 0; }
.hero-brand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; width: 100%; aspect-ratio: 4 / 3; background: var(--hero-panel); border-radius: 20px; overflow: hidden; }
.hero-brand img { position: relative; z-index: 1; }
.hero-brand-mark { width: 44%; max-width: 240px; height: auto; }
.hero-brand-name { height: auto; position: relative; z-index: 1; }
.section-intro { padding: 35px 0 10px; border-top: 1px solid color-mix(in srgb, var(--line) 45%, transparent); }
.section-intro h2 { margin: 0 0 14px; }
.section-intro > p:last-child { color: var(--muted); margin: 0; }

.module { margin-top: 42px; margin-bottom: 64px; }
#modelos, #renders { padding: 36px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--line) 45%, transparent); }
#modelos { background: linear-gradient(155deg, color-mix(in srgb, var(--models-surface) 90%, var(--paper)), color-mix(in srgb, var(--surface) 45%, var(--models-surface))); }
#renders { background: linear-gradient(155deg, color-mix(in srgb, var(--renders-surface) 90%, var(--paper)), color-mix(in srgb, var(--models-surface) 55%, var(--surface))); }
.module-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; }
.module-header .eyebrow { margin-bottom: 9px; }
.module-header h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.module-header > .text-link { flex-shrink: 0; }
.section-note { color: var(--muted); font-size: .85rem; }
.module-header button { background: none; border: 0; color: var(--rose-dark); }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.module-grid.full-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.module-grid.render-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform .25s, box-shadow .25s;
}
.module-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px #3027290c; }
.module-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: opacity .25s; background: var(--media); }
.module-card:hover > img { opacity: .92; }
.overlay { display: block; padding: 17px 20px; font-size: .88rem; font-weight: 600; line-height: 1.5; }
.render-description { margin: -5px 0 0; padding: 0 20px 20px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.applications-module { background: linear-gradient(145deg, color-mix(in srgb, var(--app-surface) 92%, var(--paper)), color-mix(in srgb, var(--app-card) 80%, var(--app-surface))); border: 1px solid color-mix(in srgb, var(--app-line) 45%, transparent); border-radius: var(--radius); padding: 32px; }
.applications-module .module-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; gap: 48px; }
.application-card { background: var(--app-card); border-color: var(--app-line); }
.application-card > img { object-fit: contain; padding: 24px; aspect-ratio: 16 / 9; }
.application-card .overlay { border-top: 1px solid var(--app-line); }
.application-intro h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 17px 0; }
.application-intro p { color: var(--muted); font-size: .93rem; max-width: 490px; }
.pill { display: inline-block; padding: 5px 12px; background: var(--pill); border-radius: 30px; color: var(--pill-text); font-size: .72rem; font-weight: 600; }

.about-section { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 80px; padding: 55px 0 75px; border-top: 1px solid color-mix(in srgb, var(--line) 45%, transparent); }
.about-art { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--about); border-radius: 24px 120px 24px 24px; padding: 45px 25px; min-height: 390px; }
.about-art .eyebrow { color: var(--rose-dark); }
.about-art img { margin: 20px 0 30px; width: 200px; height: 200px; }
.about-art-caption { font-family: Georgia, serif; font-style: italic; font-size: 1.25rem; }
.about-copy h2, .contact-copy h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); margin: 0 0 25px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.about-copy .hero-tags { margin: 24px 0; }
.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 50px; background: linear-gradient(125deg, color-mix(in srgb, var(--surface) 78%, var(--paper)) 8%, var(--contact) 54%, color-mix(in srgb, var(--app-surface) 85%, var(--contact)) 100%); border: 1px solid color-mix(in srgb, var(--line) 45%, transparent); border-radius: var(--radius); margin-bottom: 70px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); max-width: 340px; }
.contact-email { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: clamp(.95rem, 1.7vw, 1.25rem); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rose-dark); padding-bottom: 7px; margin-top: 12px; overflow-wrap: anywhere; }
.contact-copy .contact-note { font-size: .8rem; margin-top: 18px; }
.contact-note a { text-underline-offset: 3px; }
.contact-form { min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field label { font-size: .8rem; font-weight: 600; }
.form-field input, .form-field textarea { min-width: 0; width: 100%; padding: 12px 14px; background: var(--field); border: 1px solid var(--field-line); border-radius: 10px; color: var(--ink); font-size: .9rem; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); }
.form-field textarea { resize: vertical; min-height: 140px; }
.contact-form .button { width: 100%; }
.form-help { font-size: .76rem; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.contact-status { font-size: .85rem; margin-bottom: 8px; }
.contact-form > .text-link { margin-top: 8px; }

.product-view { margin-top: 42px; margin-bottom: 70px; background: color-mix(in srgb, var(--surface) 86%, transparent); padding: 32px; border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); border-radius: var(--radius); }
.back-arrow { display: none; background: none; border: 0; padding: 0; color: var(--rose-dark); font-size: .88rem; font-weight: 600; margin-bottom: 26px; }
.product-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.product-images, .product-info { min-width: 0; }
.slider-container { position: relative; width: 100%; border-radius: 16px; background: var(--media); overflow: hidden; }
.product-images #product-main-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: #302729cf; color: white; border: 0; padding: 10px 14px; font-size: 18px; border-radius: 10px; z-index: 1; }
.slider-arrow:hover { background: #8d405b; }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.product-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 10px 4px; margin-top: 12px; }
.product-thumbnails button { border: 2px solid transparent; padding: 0; border-radius: 8px; background: transparent; flex-shrink: 0; opacity: .65; overflow: hidden; }
.product-thumbnails img { width: 80px; height: 60px; object-fit: cover; display: block; }
.product-thumbnails button:hover, .product-thumbnails button.active { opacity: 1; border-color: var(--rose-dark); }
.product-info h2 { margin-top: 4px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.product-info p { color: var(--muted); white-space: pre-line; }
.buy-btn { margin-top: 15px; }
.application-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: 10px; }
.application-actions .desktop-btn { background: #7052a8; color: white; }
.application-actions small { width: 100%; color: var(--muted); }
.catalog-heading { margin: 42px auto 26px; padding-left: 22px; border-left: 4px solid var(--rose); }
.catalog-heading .text-link { margin-bottom: 24px; color: var(--rose-dark); }
.catalog-heading h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 14px; }
.catalog-heading p:last-child { color: var(--muted); max-width: 620px; }
.catalog-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.catalog-nav a { padding: 8px 14px; border: 1px solid var(--models-line); border-radius: 8px; text-decoration: none; font-size: .8rem; background: var(--models-surface); }
.catalog-nav a[href="#accesorios"], .catalog-nav a[href="#juegos"] { background: var(--renders-surface); border-color: var(--renders-line); }
.catalog-nav a:hover { border-color: var(--rose-dark); }
.catalog-group { margin-top: 40px; }
.catalog-group + .catalog-group { padding-top: 35px; border-top: 1px solid var(--line); }
.catalog-group h2 { font-size: 1.6rem; margin: 0 0 24px; padding-left: 14px; border-left: 4px solid var(--rose); }
#accesorios h2, #juegos h2 { border-left-color: var(--pill-text); }

.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; padding: 30px 0 40px; border-top: 1px solid color-mix(in srgb, var(--line) 45%, transparent); font-size: .8rem; }
.footer-brand { font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.footer-brand span { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { text-decoration: none; }
.footer-credit { color: var(--muted); }
.footer-credit span { color: var(--rose-dark); margin-left: 6px; }
.modal { display: none; position: fixed; inset: 0; z-index: 50; background: #302729b3; }
.modal-content { background: var(--surface); margin: 5% auto; padding: 24px; width: 80%; max-width: 500px; border-radius: 20px; text-align: center; }
.modal-content img { width: 100%; border-radius: 12px; }
.close { float: right; cursor: pointer; }
.buttons { margin-top: 10px; }


/* Vista detalle de aplicaciones: PNG libre o captura real flotante sin recuadro */
#product-view[data-app] .product-layout {
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: center;
}
#product-view[data-app] .app-stage-shell {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  perspective: 950px;
}

#product-view[data-app] .app-window {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transform: perspective(950px) rotateX(var(--ary, 0deg)) rotateY(var(--arx, 0deg));
  transition: transform .22s var(--ease-out);
  animation: drift-shot 6.5s ease-in-out infinite;
  will-change: transform, translate;
}

/* Modo captura real: la pantalla del programa entera con esquinas redondeadas y sombra */
#product-view[data-app][data-slide-kind="screen"] .app-window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--app-line) 65%, transparent);
  box-shadow: 0 28px 60px -22px color-mix(in srgb, var(--pill-text) 55%, transparent);
}
#product-view[data-app][data-slide-kind="screen"] .slider-container {
  border-radius: 16px;
  background: transparent;
}
#product-view[data-app][data-slide-kind="screen"] #product-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1360 / 850;
  object-fit: cover;
  padding: 0;
  display: block;
}

/* Modo PNG transparente: imagen libre sin rectángulo detrás, con el mismo movimiento, tilt 3D y sombra */
#product-view[data-app][data-slide-kind="png"] .app-window,
#product-view[data-app][data-slide-kind="png"] .slider-container {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
#product-view[data-app][data-slide-kind="png"] .slider-container {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
#product-view[data-app][data-slide-kind="png"] #product-main-img {
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 92%;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 26px 38px color-mix(in srgb, var(--pill-text) 42%, transparent));
}
#product-view[data-app="catculator"][data-slide-kind="png"] #product-main-img[src*="logo.png"] {
  max-width: 240px;
  max-height: 240px;
}

@media (max-width: 1000px) {
  .hero { gap: 35px; padding-top: 60px; }
  .theme-control > span { display: none; }
  .site-nav { gap: 20px; }
  .module-grid.full-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-section { gap: 40px; }
  .contact-section { gap: 35px; padding: 32px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 140px; }
  .top-bar { flex-wrap: wrap; gap: 12px; padding: 14px 20px; }
  .logo-left { gap: 8px; }
  .logo-left img:first-child { width: 30px; height: 30px; }
  .social { gap: 6px; }
  .social a { width: 28px; height: 28px; }
  .social img { width: 16px; height: 16px; }
  .theme-control { margin-right: 0; }
  .theme-control select { width: 80px; padding: 6px 3px; font-size: .7rem; }
  .site-nav { order: 3; width: 100%; justify-content: center; gap: 28px; }
  .site-nav a { font-size: .8rem; }
  .site-nav a:last-child { padding: 5px 14px; }
  .hero, .section-intro, .module, .about-section, .contact-section, .product-view, .site-footer { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; padding: 42px 0 65px; gap: 40px; }
  .hero h1 { font-size: clamp(2.8rem, 9vw, 4rem); }
  .hero-description { font-size: 1rem; }
  .hero-art { width: 100%; }
  .hero-brand { gap: 16px; }
  .section-intro { padding-top: 28px; }
  .module { margin: 32px auto 44px; }
  #modelos, #renders { padding: 24px; }
  .module-header { gap: 16px; flex-wrap: wrap; }
  .module-grid, .module-grid.full-grid, .module-grid.render-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .overlay { padding: 12px 14px; font-size: .8rem; }
  .render-description { padding: 0 14px 14px; font-size: .76rem; }
  .applications-module { padding: 24px; }
  .applications-module .module-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-note { display: none; }
  .about-section { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .about-art { min-height: 300px; padding: 28px; }
  .about-art img { width: 150px; height: 150px; margin: 10px 0 20px; }
  .contact-section { grid-template-columns: 1fr; gap: 32px; padding: 28px; margin-bottom: 44px; }
  .contact-copy > p:not(.eyebrow) { max-width: none; }
  .product-view { margin-top: 28px; padding: 24px; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { align-items: flex-start; }
  .footer-credit { width: 100%; }
}
@media (max-width: 420px) {
  .hero, .section-intro, .module, .about-section, .contact-section, .product-view, .site-footer { width: calc(100% - 32px); }
  .hero-actions { gap: 18px; }
  .module-grid, .module-grid.full-grid, .module-grid.render-grid { gap: 12px; }
  .module-card { border-radius: 12px; }
  .overlay { padding: 10px; font-size: .76rem; }
  .render-description { padding: 0 10px 12px; }
  .contact-section, .applications-module, .product-view, #modelos, #renders { padding: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .button { font-size: .8rem; padding: 13px 10px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ==========================================================================
   CatSuii3D redesign v3: fondo limpio e integrado + animaciones al hacer scroll
   inspiradas en COZYDIADORA (sticky split-column, scale/slide reveal, parallax).
   Usa solo la paleta oficial existente.
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --glow: color-mix(in srgb, var(--rose) 55%, transparent);
  --glow-violet: color-mix(in srgb, var(--pill-text) 38%, transparent);
}

/* Fondo continuo y sereno (sin líneas ni tramas cargadas) */
body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 45% at 85% 0%, color-mix(in srgb, var(--accent-soft) 28%, transparent), transparent 65%),
    linear-gradient(180deg,
      var(--paper) 0%,
      color-mix(in srgb, var(--models-surface) 24%, var(--paper)) 38%,
      color-mix(in srgb, var(--renders-surface) 22%, var(--paper)) 72%,
      var(--paper) 100%);
}

main, footer { position: relative; z-index: 1; }

/* Integración suave entre módulos */
.module { margin-top: 28px; margin-bottom: 44px; }
.applications-module, #modelos, #renders, .contact-section {
  box-shadow: 0 22px 54px -38px color-mix(in srgb, var(--ink) 18%, transparent), inset 0 1px 0 color-mix(in srgb, var(--surface) 60%, transparent);
}

/* Marca CatSuii3D (versión clara / oscura) */
.brand-word { filter: none !important; }
.brand-word-dark { display: none !important; }
:root[data-theme="dark"] .brand-word-light { display: none !important; }
:root[data-theme="dark"] .brand-word-dark { display: inline-block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand-word-light { display: none !important; }
  :root:not([data-theme]) .brand-word-dark { display: inline-block !important; }
}

/* Cabecera */
header { transition: box-shadow .35s, background .35s; }
.top-bar { transition: padding .35s var(--ease-out); }
header.is-scrolled { box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--ink) 35%, transparent); }
header.is-scrolled .top-bar { padding-top: 12px; padding-bottom: 12px; }
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--rose-dark);
  transform-origin: left;
  transform: scaleX(var(--scroll, 0));
  pointer-events: none;
  will-change: transform;
}
.logo-left img:first-child { transition: transform .6s var(--ease-out); }
.logo-left:hover img:first-child { transform: rotate(-14deg) scale(1.08); }
.logo-left .brand-word { width: 128px; height: auto; }
.site-nav a { position: relative; }
.site-nav a:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--rose-dark); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.site-nav a:not(:last-child):hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a:last-child { transition: background .25s, transform .25s, box-shadow .25s; }
.site-nav a:last-child:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px var(--glow); }
.social a { transition: background .2s, transform .3s var(--ease-out); }
.social a:hover { transform: translateY(-3px) rotate(-6deg); }

/* Botones con destello */
.button, .buy-btn { position: relative; overflow: hidden; isolation: isolate; transition: background .25s, transform .3s var(--ease-out), box-shadow .3s; }
.button::after, .buy-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-110%); transition: transform .7s var(--ease-out); }
.button:hover::after, .buy-btn:hover::after { transform: translateX(110%); }
.button-primary:hover, .buy-btn:hover { box-shadow: 0 14px 30px -12px var(--glow); }
.text-link span { display: inline-block; transition: transform .3s var(--ease-out); }
.text-link:hover span { transform: translate(3px, -3px); }

/* Hero (entrada suave estilo portfolio) */
.hero { position: relative; min-height: min(76vh, 700px); }
.hero-copy > * { animation: rise .95s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }

.hero-art { animation: pop 1.1s .12s var(--ease-out) both; perspective: 1000px; }
@keyframes pop { from { opacity: 0; transform: scale(.93) translateY(22px); } to { opacity: 1; transform: none; } }
.hero-brand {
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--surface) 55%, transparent) 0%, transparent 46%),
    radial-gradient(circle at 15% 90%, var(--accent-soft) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, var(--pill) 0%, transparent 45%),
    var(--hero-panel);
  border-radius: 28px;
  box-shadow: 0 40px 80px -40px var(--glow), inset 0 0 0 1px color-mix(in srgb, var(--surface) 40%, transparent);
  transform-style: preserve-3d;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .5s var(--ease-out);
}
.hero-brand::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--surface) 45%, transparent) 80%, transparent 90%); animation: spin 14s linear infinite; opacity: .5; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-mark-wrap { position: relative; z-index: 1; width: 44%; max-width: 240px; display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.hero-mark-wrap .hero-brand-mark { width: 100%; max-width: none; filter: drop-shadow(0 24px 30px color-mix(in srgb, var(--rose-dark) 35%, transparent)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(2deg); } }
.hero-brand-name { width: 58%; max-width: 330px; animation: rise 1s .5s var(--ease-out) both; }
.hero-orbit { position: absolute; z-index: 0; left: 50%; top: 42%; border: 1.5px dashed color-mix(in srgb, var(--rose-dark) 45%, transparent); border-radius: 50%; translate: -50% -50%; }
.hero-orbit-1 { width: 62%; aspect-ratio: 1; animation: spin 30s linear infinite; }
.hero-orbit-2 { width: 84%; aspect-ratio: 2.2; border-style: solid; border-color: color-mix(in srgb, var(--surface) 60%, transparent); rotate: -14deg; animation: orbit 9s ease-in-out infinite; }
.hero-orbit-1::after { content: ""; position: absolute; top: 8%; left: 14%; width: 12px; height: 12px; border-radius: 50%; background: var(--rose-dark); box-shadow: 0 0 16px var(--rose); }
@keyframes orbit { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.05); opacity: .5; } }
.hero-spark { position: absolute; z-index: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 12px 2px var(--glow); animation: twinkle 3.6s ease-in-out infinite; }
.hero-spark.s1 { top: 14%; left: 18%; }
.hero-spark.s2 { top: 22%; right: 14%; width: 5px; height: 5px; animation-delay: .8s; }
.hero-spark.s3 { bottom: 26%; left: 10%; width: 6px; height: 6px; animation-delay: 1.6s; }
.hero-spark.s4 { bottom: 14%; right: 22%; animation-delay: 2.2s; }
.hero-spark.s5 { top: 54%; right: 6%; width: 4px; height: 4px; animation-delay: 1.1s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }

/* Títulos de sección */
.section-intro h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.eyebrow { display: flex; width: fit-content; align-items: center; gap: 10px; }
.section-intro .eyebrow::before, .module-header .eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: left; transition: width .6s var(--ease-out); }
.is-visible .eyebrow::before, .is-visible.eyebrow::before { width: 38px; }

/* Sticky split-column scroll en Modelos y Renders (estilo Selected Work de COZYDIADORA) */
@media (min-width: 961px) {
  #modelos, #renders {
    display: grid;
    grid-template-columns: minmax(230px, 275px) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    overflow: visible;
  }
  #modelos .module-header, #renders .module-header {
    position: sticky;
    top: 108px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 0;
  }
  #modelos .module-header > .text-link, #renders .module-header > .text-link {
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--button);
    color: var(--button-text);
    font-size: .84rem;
    transition: background .25s, transform .3s var(--ease-out), box-shadow .3s;
  }
  #modelos .module-header > .text-link:hover, #renders .module-header > .text-link:hover {
    background: var(--button-hover);
    color: var(--button-text);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px var(--glow);
  }
  #modelos .module-grid, #renders .module-grid.render-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  /* Sticky header por categoría en modelos-impresion-3d.html */
  .catalog-group {
    display: grid;
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
  .catalog-group > h2 {
    position: sticky;
    top: 108px;
    margin-bottom: 0;
  }
  .module-grid.full-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tarjetas */
.module-card { transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; isolation: isolate; }
.module-card > img { transition: transform .8s var(--ease-out), opacity .25s; }
.module-card > .overlay { position: relative; z-index: 1; background: var(--surface); }
.module-card::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--surface) 35%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; }
.module-card::before { content: "↗"; position: absolute; z-index: 3; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--rose-dark); font-weight: 700; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--ink) 40%, transparent); opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .3s, transform .45s var(--ease-out); }
.module-card:hover, .module-card:focus-visible { transform: translateY(-8px); border-color: color-mix(in srgb, var(--rose-dark) 45%, var(--line)); box-shadow: 0 24px 44px -22px color-mix(in srgb, var(--rose-dark) 45%, transparent); }
.module-card:hover::after { opacity: 1; }
.module-card:hover::before, .module-card:focus-visible::before { opacity: 1; transform: none; }
.module-card:hover > img { transform: scale(1.07); opacity: 1; }
.render-description { position: relative; z-index: 1; background: var(--surface); margin-top: 0; padding-top: 0; }
#modelos, #renders { position: relative; isolation: isolate; }

/* Aplicaciones: presentación tipo escaparate */
.applications-module { position: relative; overflow: hidden; isolation: isolate; padding: 40px; }
.applications-module::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pill) 60%, transparent), transparent 65%); }
.app-showcases { display: grid; gap: 44px; }
.app-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.app-showcase-cat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.app-showcase-cat .app-stage { order: 2; }
.app-showcase + .app-showcase { padding-top: 44px; border-top: 1px solid color-mix(in srgb, var(--app-line) 55%, transparent); }

.app-stage {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 11; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, var(--app-card) 0%, transparent 70%), linear-gradient(150deg, var(--app-surface), var(--app-card));
  border: 1px solid var(--app-line); border-radius: 24px; perspective: 900px;
}
.app-stage:hover, .app-stage:focus-visible { transform: translateY(-6px); }
.app-stage > img {
  position: absolute; z-index: 4; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; height: auto; padding: 3%;
  object-fit: contain; translate: -50% -50%;
  background: color-mix(in srgb, var(--app-card) 78%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--surface) 60%, var(--app-line));
  border-radius: 26%;
  box-shadow: 0 30px 60px -20px var(--glow-violet), 0 0 0 6px color-mix(in srgb, var(--surface) 18%, transparent);
  animation: float 6s ease-in-out infinite;
  transition: none;
}
.app-stage:hover > img { transform: none; }
.app-stage > .overlay { position: absolute; z-index: 5; left: 16px; bottom: 16px; padding: 7px 14px; border: 1px solid var(--app-line); border-top: 1px solid var(--app-line); border-radius: 50px; background: color-mix(in srgb, var(--app-card) 85%, transparent); backdrop-filter: blur(8px); font-size: .78rem; }
.stage-deco { position: absolute; inset: 0; pointer-events: none; }
.stage-glow { position: absolute; left: 50%; top: 50%; width: 55%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, var(--glow-violet), transparent 65%); animation: orbit 5s ease-in-out infinite; }
.stage-ring { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--pill-text) 45%, transparent); animation: spin 26s linear infinite; }
.stage-ring::after { content: ""; position: absolute; top: 6%; right: 18%; width: 10px; height: 10px; border-radius: 50%; background: var(--pill-text); box-shadow: 0 0 14px var(--pill-text); }
.stage-shot {
  position: absolute; z-index: 2; display: block; overflow: visible;
  border-radius: 0; border: 0; background: transparent; box-shadow: none;
  transition: transform .8s var(--ease-out);
  animation: drift-shot 8s ease-in-out infinite;
}
.stage-shot img {
  display: block; width: 100%; height: auto; padding: 0; aspect-ratio: auto;
  object-fit: contain; object-position: center;
  filter: drop-shadow(0 18px 28px color-mix(in srgb, var(--pill-text) 38%, transparent));
}
.app-showcase-pixel .stage-shot img {
  border-radius: 10px;
}
@keyframes drift-shot { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.app-showcase-pixel .shot-a { width: 41%; left: 4%; top: 7%; transform: rotate(-5deg); }
.app-showcase-pixel .shot-b { width: 40%; right: 4%; top: 9%; transform: rotate(5deg); animation-delay: -2.5s; }
.app-showcase-pixel .shot-c { width: 41%; right: 8%; bottom: 7%; transform: rotate(-3deg); animation-delay: -5s; }
.app-showcase-cat .shot-a { width: 25%; left: 7%; top: 9%; transform: rotate(-7deg); }
.app-showcase-cat .shot-b { width: 34%; right: 6%; bottom: 9%; transform: rotate(6deg); animation-delay: -4s; }
.app-stage:hover .shot-a { transform: rotate(-10deg) translate(-12px, -8px); }
.app-stage:hover .shot-b { transform: rotate(9deg) translate(12px, -6px); }
.app-stage:hover .shot-c { transform: rotate(-1deg) translate(8px, 10px); }
.application-intro h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.application-intro .pill { box-shadow: 0 0 0 0 var(--glow-violet); animation: pill-pulse 3s ease-in-out infinite; }
@keyframes pill-pulse { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--pill) 50%, transparent); } }

/* Sobre mí y contacto */
.about-art { position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 24px 50px -34px var(--glow); }
.about-art::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; top: 50%; left: 50%; translate: -50% -55%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--rose-dark) 40%, transparent); animation: spin 34s linear infinite; }
.about-art img { animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 24px color-mix(in srgb, var(--rose-dark) 30%, transparent)); }
.hero-tags span { transition: background .25s, color .25s, transform .3s var(--ease-out), border-color .25s; }
.hero-tags span:hover { background: var(--accent-soft); color: var(--ink); border-color: transparent; transform: translateY(-3px); }
.contact-section { position: relative; isolation: isolate; overflow: hidden; }
.form-field input, .form-field textarea { transition: border-color .25s, box-shadow .25s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--rose-dark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 35%, transparent); }
.contact-email { background: linear-gradient(var(--rose-dark), var(--rose-dark)) left bottom / 0 2px no-repeat; transition: background-size .5s var(--ease-out); }
.contact-email:hover { background-size: 100% 2px; }

/* Vista de producto */
.product-view { animation: rise .6s var(--ease-out) both; }
#product-main-img { animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.product-thumbnails button { transition: opacity .2s, border-color .2s, transform .3s var(--ease-out); }
.product-thumbnails button:hover { transform: translateY(-3px); }
.slider-arrow { transition: background .2s, transform .3s var(--ease-out); }
.slider-arrow:hover { transform: translateY(-50%) scale(1.08); }

/* Páginas de colección */
.catalog-heading { animation: rise .9s var(--ease-out) both; }
.catalog-nav a { transition: border-color .2s, transform .3s var(--ease-out), box-shadow .3s; }
.catalog-nav a:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -12px var(--glow); }

/* Pie */
.footer-brand .brand-word { width: 140px; height: auto; display: block; }

/* Animaciones al hacer scroll estilo COZYDIADORA (scale + slide + soft blur reveal + parallax) */
.js .reveal {
  opacity: 0;
  transform: translateY(38px) scale(.95);
  filter: blur(4px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), filter .85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal-slide-left {
  opacity: 0;
  transform: translateX(-28px) translateY(14px);
  filter: blur(3px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), filter .85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal-panel {
  opacity: 0;
  transform: translateY(42px) scale(.96);
  transition: opacity .95s var(--ease-out), transform .95s var(--ease-out);
}
.js .reveal.is-visible,
.js .reveal-slide-left.is-visible,
.js .reveal-panel.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.js .module-card.reveal.is-visible {
  transition: opacity .85s var(--ease-out) var(--d, 0s), transform .45s var(--ease-out), filter .7s var(--ease-out), box-shadow .45s, border-color .3s;
}

/* Movimiento suave ligado al scroll (parallax / profundidad sutil) */
.scroll-float {
  translate: 0 calc(var(--sp, 0) * -16px);
  transition: translate .12s linear;
  will-change: translate;
}

@media (max-width: 1000px) {
  .app-showcase, .app-showcase-cat { gap: 32px; }
}
@media (max-width: 960px) {
  #modelos, #renders { display: block; padding: 28px; }
  .catalog-group { display: block; }
  .catalog-group > h2 { margin-bottom: 24px; }
}
@media (max-width: 760px) {
  .logo-left .brand-word { width: 96px; }
  .hero { min-height: 0; }
  .applications-module { padding: 24px; }
  .app-showcase, .app-showcase-cat { grid-template-columns: 1fr; gap: 24px; }
  .app-showcase-cat .app-stage { order: 0; }
  .app-showcases { gap: 32px; }
  .app-showcase + .app-showcase { padding-top: 32px; }
  .app-stage > img { width: 30%; }
  .module-card::before { display: none; }
  #product-view[data-app] .product-layout { grid-template-columns: 1fr; gap: 24px; }
  #product-view[data-app] .app-stage-shell { padding: 0; }
  #product-view[data-app][data-slide-kind="png"] #product-main-img { max-width: 76%; }
  #product-view[data-app][data-slide-kind="png"] .slider-arrow { padding: 7px 11px; font-size: 15px; }
  #product-view[data-app][data-slide-kind="png"] .slider-arrow.prev { left: 4px; }
  #product-view[data-app][data-slide-kind="png"] .slider-arrow.next { right: 4px; }
  #product-view[data-app="catculator"][data-slide-kind="png"] #product-main-img[src*="logo.png"] { max-width: 180px; max-height: 180px; }
}
@media (max-width: 420px) {
  .applications-module, #modelos, #renders { padding: 20px; }
  .app-stage { border-radius: 18px; }
}
@media (hover: none) {
  .module-card::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .reveal-slide-left, .js .reveal-panel { opacity: 1; transform: none; filter: none; }
  .scroll-float, #product-view[data-app] .app-window { translate: none !important; }
  .hero-brand, #product-view[data-app] .app-window { transform: none !important; }
}

/* Calculadora 3D: tarjeta en «Aplicaciones y más» */
.app-showcase-calc .app-stage { color: var(--ink); text-decoration: none; }
.calc-badge {
  position: absolute; z-index: 4; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; color: var(--rose-dark);
  background: color-mix(in srgb, var(--app-card) 78%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--surface) 60%, var(--app-line));
  border-radius: 26%;
  box-shadow: 0 30px 60px -20px var(--glow-violet), 0 0 0 6px color-mix(in srgb, var(--surface) 18%, transparent);
  animation: float 6s ease-in-out infinite;
}
.calc-badge svg { width: 46%; height: 46%; }
.calc-chip {
  position: absolute; z-index: 3; padding: 6px 14px; border-radius: 50px;
  background: var(--pill); color: var(--pill-text); font-size: .74rem; font-weight: 700; letter-spacing: .01em;
  border: 1px solid color-mix(in srgb, var(--surface) 55%, var(--app-line));
  box-shadow: 0 14px 26px -14px var(--glow-violet);
  transition: transform .8s var(--ease-out);
  animation: drift-shot 8s ease-in-out infinite;
}
.calc-chip.chip-a { left: 8%; top: 16%; rotate: -6deg; }
.calc-chip.chip-b { right: 7%; top: 22%; rotate: 5deg; animation-delay: -2s; background: var(--accent-soft); color: var(--rose-dark); }
.calc-chip.chip-c { left: 9%; bottom: 20%; rotate: 4deg; animation-delay: -4s; background: var(--accent-soft); color: var(--rose-dark); }
.calc-chip.chip-d { right: 10%; bottom: 16%; rotate: -5deg; animation-delay: -6s; }
.calc-chip.chip-e { left: 24%; top: 6%; padding: 4px 11px; rotate: 8deg; animation-delay: -3s; background: var(--button); color: var(--button-text); }
.app-stage:hover .chip-a { transform: translate(-10px, -8px); }
.app-stage:hover .chip-b { transform: translate(10px, -6px); }
.app-stage:hover .chip-c { transform: translate(-8px, 8px); }
.app-stage:hover .chip-d { transform: translate(10px, 8px); }
@media (max-width: 760px) {
  .calc-badge { width: 30%; }
  .calc-chip { font-size: .64rem; padding: 4px 10px; }
  .calc-chip.chip-a { left: 5%; top: 12%; }
  .calc-chip.chip-b { right: 5%; top: 16%; }
  .calc-chip.chip-c { left: 6%; bottom: 24%; }
  .calc-chip.chip-d { right: 6%; bottom: 14%; }
  .calc-chip.chip-e { display: none; }
}
