@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap");

:root {
  --paper: #f6f3f8;
  --ink: #2a2144;
  --muted: #6d6286;
  --line: rgba(74, 52, 130, 0.14);
  --violet: #5b3db5;
  --violet-deep: #3c277e;
  --header: 88px;
  --max: 1120px;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  background-color: var(--paper);
  background-image: url("../images/fondo-logo.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}
p { margin: 0; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--violet-deep);
  color: white;
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
  padding: 0 28px;
  background: rgba(246, 243, 248, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img {
  display: block;
  height: 64px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { color: var(--violet-deep); }
.site-nav a.btn-contact {
  color: #fff !important;
  text-transform: none;
  letter-spacing: 0.02em;
  min-height: 40px;
  padding: 0 14px 0 16px;
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(74, 52, 130, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: var(--violet-deep);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero, .page-intro, .section, .close, .contact, .case {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 0 8px;
}
.hero-stage {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.hero-ring {
  position: absolute;
  left: 50%;
  top: 34px;
  width: min(640px, 86%);
  height: 252px;
  border: 1.5px dashed rgba(124, 90, 210, 0.62);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: ring-spin 26s linear infinite;
}
.ring-2 {
  width: min(420px, 58%);
  height: 168px;
  top: 76px;
  border-style: solid;
  border-color: rgba(140, 100, 230, 0.42);
  animation-duration: 18s;
  animation-direction: reverse;
}
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), rgba(210, 196, 255, 0.55) 38%, rgba(168, 140, 255, 0.12) 68%, transparent 72%);
  animation: sym-bob 7s ease-in-out infinite;
}
.orb-a { width: 210px; height: 210px; left: -70px; top: 24px; }
.orb-b { width: 140px; height: 140px; right: -20px; top: 70px; animation-delay: 1s; }
.orb-c { width: 78px; height: 78px; right: 16%; bottom: 18%; animation-delay: 1.8s; }
.hero-spark {
  position: absolute;
  width: 22px;
  height: 22px;
  fill: #7c66e6;
  filter: drop-shadow(0 0 6px rgba(180, 150, 255, 0.8));
  animation: sym-twinkle 2.6s ease-in-out infinite;
}
.spark-a { left: 8%; top: 18%; }
.spark-b { right: 10%; top: 28%; width: 14px; height: 14px; animation-delay: 0.7s; }
.hero-copy {
  position: relative;
  width: min(760px, 100%);
  margin-top: 6px;
  padding: 28px 32px 32px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 50px rgba(90, 50, 160, 0.1);
  backdrop-filter: blur(10px);
}
.logo-lockup {
  width: min(820px, 100%);
  height: auto;
  display: block;
  margin: 8px auto 4px;
}
.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}
.lede {
  max-width: 38rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 300;
}
.hero-actions, .more {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(100deg, #4a2f9c, #7d55e4 70%, #a98cff);
  color: #fbf8ff;
  text-decoration: none;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(90, 52, 180, 0.22);
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--violet-deep);
  border-color: rgba(74, 52, 130, 0.28);
  box-shadow: none;
}
.btn-ghost:hover { background: white; filter: none; }
.btn-contact,
.btn-wa,
.plan.is-featured .btn-contact,
.plan.is-featured .btn-wa {
  position: relative;
  gap: 8px;
  padding: 0 16px 0 22px;
  overflow: visible;
  color: #fff;
  text-shadow: 0 1px 0 rgba(48, 0, 110, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 42%, rgba(36, 0, 90, 0.22)),
    linear-gradient(100deg, #6d28ff 0%, #e879f9 24%, #67e8f9 46%, #a855f7 68%, #f0abfc 84%, #7c3aed 100%);
  background-size: 100% 100%, 190% 100%;
  background-position: 0 0, 0% 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -10px 16px rgba(58, 0, 130, 0.38),
    0 8px 0 #3a128c,
    0 14px 24px rgba(88, 24, 190, 0.45),
    0 0 22px rgba(168, 84, 255, 0.7);
  animation: contact-aurora 7s ease-in-out infinite, contact-glow 2.4s ease-in-out infinite;
}
.btn-contact:hover,
.btn-wa:hover,
.plan.is-featured .btn-contact:hover,
.plan.is-featured .btn-wa:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-spark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: #fff;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 7px #c9b6ff);
  transform-origin: 50% 50%;
  animation: spark-flare 1.8s ease-in-out infinite;
}
@keyframes spark-flare {
  0%, 100% { transform: scale(1) rotate(0deg); }
  42% { transform: scale(1.08) rotate(8deg); }
  52% { transform: scale(1.7) rotate(-12deg); filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px #e4d8ff); }
  64% { transform: scale(1) rotate(4deg); }
}
@keyframes contact-aurora {
  0%, 100% { background-position: 0 0, 0% 50%; }
  50% { background-position: 0 0, 100% 50%; }
}
@keyframes contact-glow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.85),
      inset 0 -10px 16px rgba(58, 0, 130, 0.38),
      0 8px 0 #3a128c,
      0 14px 24px rgba(88, 24, 190, 0.4),
      0 0 16px rgba(150, 70, 255, 0.45);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      inset 0 -10px 16px rgba(40, 0, 120, 0.28),
      0 8px 0 #4a18b8,
      0 16px 28px rgba(120, 40, 220, 0.5),
      0 0 28px rgba(186, 120, 255, 0.95),
      0 0 42px rgba(80, 210, 255, 0.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-contact,
  .btn-wa,
  .plan.is-featured .btn-contact,
  .plan.is-featured .btn-wa,
  .btn-spark { animation: none; }
  .btn-spark { opacity: 1; transform: none; }
  .sym,
  .sym .orbit,
  .sym .orbit-rev,
  .sym .spin,
  .sym .twinkle,
  .sym .flash,
  .sym .drift,
  .sym .layer,
  .sym .ring,
  .sym .draw { animation: none; }
  .sym .twinkle { opacity: 1; transform: none; }
}

.kicker {
  margin: 0 0 14px;
  color: #7a6b98;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.kicker a { color: inherit; }

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 48px));
  margin: 10px auto 0;
  border-block: 1px solid var(--line);
}
.band p {
  padding: 18px 12px;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4d3d72;
}
.band p + p { border-left: 1px solid var(--line); }

.home-services-wrap { padding-top: 48px; }
.constellation { position: relative; }
.constellation-wire {
  display: none;
  position: absolute;
  z-index: 0;
  top: 34px;
  left: 12%;
  width: 76%;
  height: 24px;
  overflow: visible;
  pointer-events: none;
}
.wire {
  fill: none;
  stroke: #b9a6f2;
  stroke-width: 2;
  stroke-dasharray: 8 10;
  vector-effect: non-scaling-stroke;
  animation: dash-run 1.5s linear infinite;
}
.wire-dot {
  display: none;
  position: absolute;
  z-index: 2;
  top: 40px;
  left: 12%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(160, 130, 240, 0.28), 0 0 16px #c4b5fd;
  animation: wire-travel 6.5s linear infinite;
}
.home-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-decoration: none;
  background: none;
  border: 0;
  box-shadow: none;
}
.node-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(180, 150, 255, 0.55);
  box-shadow: 0 0 0 8px rgba(210, 196, 255, 0.28), 0 12px 28px rgba(90, 50, 160, 0.1);
}
.node-mark .sym { width: 72px; height: 72px; margin: 0; }
.node-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 180px;
  margin-top: 16px;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 238, 255, 0.55)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(180, 150, 255, 0.45)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 40px rgba(90, 50, 160, 0.1);
}
.node-card .num { letter-spacing: 0.16em; }
.node-card strong {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.node-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 300;
}
.node-card small {
  margin-top: auto;
  padding-top: 8px;
  color: var(--violet-deep);
  font-weight: 500;
}
@media (min-width: 721px) {
  .constellation-wire,
  .wire-dot { display: block; }
}
@media (min-width: 901px) {
  .schematic-line { display: block; }
}
.home-service,
.home-piece { transition: transform 0.25s ease; }
.home-service:hover { transform: translateY(-4px); }

.home-work {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.schematic-line {
  display: none;
  position: absolute;
  top: -18px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c4b6f2 0 10px, transparent 10px 18px);
  animation: rail-shift 1.2s linear infinite;
}
.schematic-joint {
  position: absolute;
  top: -24px;
  left: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #8b78e8;
  box-shadow: 0 0 0 5px rgba(180, 150, 255, 0.28);
}
.home-piece {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  text-decoration: none;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 36px rgba(90, 50, 160, 0.1);
}
.home-piece .cover img {
  height: 190px;
  border-radius: 16px;
}
.home-piece strong { font-size: 1.35rem; }
.home-piece em {
  color: var(--muted);
  font-style: normal;
  font-weight: 300;
}
.home-piece small { color: var(--muted); font-weight: 300; }
.home-piece:hover { transform: translateY(-4px); }
@keyframes ring-spin { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes dash-run { to { stroke-dashoffset: -36; } }
@keyframes wire-travel {
  from { left: 12%; }
  to { left: calc(88% - 10px); }
}
@keyframes rail-shift { to { background-position: 18px 18px; } }

.steps-section { scroll-margin-top: calc(var(--header) + 12px); }
.process-diagram { position: relative; margin-top: 8px; }
.step-rail { display: none; }
.step-dot {
  position: absolute;
  z-index: 2;
  left: 19px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(160, 130, 240, 0.28), 0 0 16px #c4b5fd;
  animation: step-fall 7s linear infinite;
}
.steps.home-steps {
  position: relative;
  z-index: 3;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}
.steps.home-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.steps.home-steps li::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 24px;
  top: 38px;
  bottom: -22px;
  width: 2px;
  background: repeating-linear-gradient(180deg, #c4b6f2 0 8px, transparent 8px 16px);
  animation: rail-shift 1.15s linear infinite;
}
.steps.home-steps li:last-child::before { display: none; }
.home-steps .step-node {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: 2px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #b9a6f2;
  color: var(--violet-deep);
  font-weight: 500;
  box-shadow: 0 0 0 6px rgba(210, 196, 255, 0.45);
}
.home-steps .step-card {
  padding: 16px 18px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 238, 255, 0.55)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(180, 150, 255, 0.4)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 14px 32px rgba(90, 50, 160, 0.08);
}
.home-steps h3 { margin: 0 0 6px; }
.home-steps p { margin: 0; }
.home-steps .is-delivery .step-node {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(160deg, #7c5cff, #c084fc);
  box-shadow: 0 0 0 6px rgba(160, 120, 255, 0.28), 0 8px 18px rgba(90, 40, 180, 0.18);
}
.home-steps .is-delivery .step-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 238, 255, 0.72)) padding-box,
    linear-gradient(115deg, #6d28ff, #e879f9, #67e8f9, #a855f7) border-box;
}
@keyframes step-fall {
  from { top: 16px; }
  to { top: calc(100% - 28px); }
}
@keyframes step-run {
  from { left: 8%; }
  to { left: calc(92% - 12px); }
}
@media (min-width: 901px) {
  .steps.home-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 4px;
  }
  .steps.home-steps li {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: stretch;
  }
  .steps.home-steps li::before { display: none; }
  .home-steps .step-node { margin: 0 0 16px; }
  .home-steps .step-card { width: 100%; }
  .step-rail {
    display: block;
    position: absolute;
    z-index: 0;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #c4b6f2 0 10px, transparent 10px 18px);
    animation: rail-shift 1.15s linear infinite;
  }
  .step-dot {
    top: 17px;
    left: 8%;
    animation-name: step-run;
  }
}

.section { padding: 84px 0; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2, .close h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.note { margin-top: 12px; color: var(--muted); }

.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.index-list span, .index-list small, .steps span, .num, .time { color: var(--muted); }
.index-list strong { font-size: 1.7rem; font-weight: 300; }
.index-list em, .work-row em, .work-card em { font-style: normal; color: var(--muted); }
.index-list a:hover strong { color: var(--violet); }

.work-list { display: grid; gap: 14px; }
.work-row {
  display: grid;
  grid-template-columns: 180px 1fr 1.2fr;
  gap: 22px;
  align-items: center;
  text-decoration: none;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.work-row strong, .work-card strong { display: block; font-size: 1.55rem; font-weight: 400; }
.work-row small { color: var(--muted); }
.cover {
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border-radius: 18px;
  background: #efeaf8;
}
.cover img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: cover;
  object-position: top center;
}
.cover-lg img { height: 240px; }
.cover-hero img {
  height: min(52vw, 460px);
  border-radius: 22px;
}
.cover small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}
.cover[data-tone="clay"] { background: linear-gradient(160deg, #efe7ff, #d9c8ff); color: #3a2770; }
.cover[data-tone="sea"] { background: linear-gradient(160deg, #f4efff, #e4d8ff); color: #3d2d66; }
.cover[data-tone="leaf"] { background: linear-gradient(145deg, #5a3cae, #8d6cf0); color: #f7f3ff; }
.cover[data-tone="ink"] { background: linear-gradient(160deg, #24183f, #4a3188); color: #f4efff; }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; }
.work-card { text-decoration: none; }
.work-card em { display: block; margin-top: 6px; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
}
.steps li {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
}
.steps h3 { margin: 10px 0; font-size: 1.35rem; }
.steps p { color: var(--muted); font-weight: 300; }

.close {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 72px;
  padding: 32px;
  border-radius: 28px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 238, 255, 0.72)) padding-box,
    linear-gradient(115deg, #6d28ff, #e879f9, #67e8f9, #a855f7) border-box;
  box-shadow: 0 18px 40px rgba(100, 40, 190, 0.12);
}
.close h2 { max-width: 16ch; }

.page-intro { padding: 72px 0 10px; }
.page-intro h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 14ch; }

.service {
  display: grid;
  grid-template-columns: 70px 1.2fr 0.8fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.service h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 12px; }
.service .fit { margin-top: 14px; }
.service ul, .plan ul, .case-grid ul { margin: 12px 0 0; padding-left: 18px; }
.service li, .plan li { margin: 6px 0; }
.num { font-size: 1.2rem; letter-spacing: 0.12em; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 420px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
}
.plan.is-featured {
  background: linear-gradient(165deg, #2e2158 0%, #5a3cb5 72%, #8d6cf0 100%);
  color: #f7f3ff;
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(70, 40, 150, 0.22);
}
.plan.is-featured .price span,
.plan.is-featured li { color: rgba(247, 243, 255, 0.82); }
.plan .price { font-size: 2.7rem; font-weight: 300; letter-spacing: -0.04em; }
.plan .price span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan .btn { margin-top: auto; }
.service-link {
  color: var(--violet-deep);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.service .service-link { display: inline-block; margin-top: 14px; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 16px;
}
.package { min-height: 0; max-width: 640px; scroll-margin-top: calc(var(--header) + 18px); }
.package.is-star {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 255, 0.9)) padding-box,
    linear-gradient(115deg, #6d28ff, #e879f9, #67e8f9, #a855f7) border-box;
  box-shadow: 0 16px 36px rgba(100, 40, 190, 0.16), 0 0 24px rgba(150, 80, 255, 0.28);
}
.star-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 0;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #6d28ff, #d946ef 48%, #67e8f9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 18px rgba(120, 40, 200, 0.28);
}
.star-badge svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  filter: drop-shadow(0 0 4px #fff);
}
.star-line {
  margin: 0;
  color: var(--violet-deep);
  font-weight: 500;
}
.star-feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  padding: 22px;
  text-decoration: none;
  border-radius: 24px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 255, 0.9)) padding-box,
    linear-gradient(115deg, #6d28ff, #e879f9, #67e8f9, #a855f7) border-box;
  box-shadow: 0 16px 36px rgba(100, 40, 190, 0.16), 0 0 24px rgba(150, 80, 255, 0.28);
}
.star-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.star-feature-copy h2,
.star-feature-copy p { margin: 0; }
.pack-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.pack-identity > div { min-width: 0; flex: 1; }
.sym {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  overflow: visible;
  filter: drop-shadow(0 8px 14px rgba(124, 92, 230, 0.18));
}
.sym .orbit,
.sym .spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: sym-spin 16s linear infinite;
}
.sym .orbit-rev {
  transform-box: fill-box;
  transform-origin: center;
  animation: sym-spin 13s linear infinite reverse;
}
.sym .twinkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: sym-twinkle 2.4s ease-in-out infinite;
}
.sym .twinkle-late { animation-delay: 0.8s; }
.sym-bob { animation: sym-bob 3.8s ease-in-out infinite; }
.sym .flash { animation: sym-flash 2.6s ease-in-out infinite; }
.sym .drift {
  transform-box: fill-box;
  transform-origin: center;
  animation: sym-drift 3.2s ease-in-out infinite;
}
.sym .ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: sym-rock 4.6s ease-in-out infinite;
}
.sym .layer {
  transform-box: fill-box;
  transform-origin: center;
  animation: sym-layer 3.4s ease-in-out infinite;
}
.sym .layer-2 { animation-delay: 0.15s; }
.sym .layer-3 { animation-delay: 0.3s; }
.sym .draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  animation: sym-draw 4.8s ease-in-out infinite;
}
.service li.sym-line {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin-left: -6px;
}
.service li.sym-line .sym { width: 48px; height: 48px; }
.service li.sym-line .star-mark { margin-top: 0; margin-bottom: 2px; }
.star-feature .sym { width: 84px; height: 84px; }
@keyframes sym-spin { to { transform: rotate(360deg); } }
@keyframes sym-twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.72); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes sym-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes sym-flash {
  0%, 72%, 100% { opacity: 1; }
  78% { opacity: 0.45; }
  86% { opacity: 1; }
}
@keyframes sym-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3px, -4px); }
}
@keyframes sym-layer {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes sym-rock {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(10deg); }
}
@keyframes sym-draw {
  0% { stroke-dashoffset: 100; }
  45%, 100% { stroke-dashoffset: 0; }
}
.star-feature h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.star-feature p:last-child {
  color: var(--violet-deep);
  font-weight: 500;
}
.star-mark {
  display: block;
  margin-top: 8px;
  color: #6d28ff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.package h2.is-code {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.package h3 {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a6b98;
}
.package .time, .package .products { margin: 0; }
.package .products, .package .plus { font-weight: 500; }
.package .plus { margin: 8px 0 0; }
.plan.is-featured .btn {
  background: white;
  color: var(--violet-deep);
  box-shadow: none;
}

.offer-block { padding-bottom: 8px; }
.offer-block ul {
  max-width: 46rem;
  margin: 0;
  padding-left: 18px;
}
.offer-block li { margin: 12px 0; }
.offer-block li strong { font-weight: 500; }
.package-head {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 22px;
}
.package-head.is-code {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price small {
  font-size: 0.42em;
  font-weight: 400;
  letter-spacing: 0;
}
.package-legend {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.following .pack-identity .price small {
  display: inline-block;
  white-space: nowrap;
}
.fold {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  padding: 6px 22px;
}
.fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  cursor: pointer;
  list-style: none;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 12px;
}
.fold .package-head { margin: 0; }
.fold-hint {
  margin-top: 6px;
  color: #7a6b98;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fold-lede {
  max-width: 36rem;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
}
.fold-icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--violet-deep);
  border-bottom: 2px solid var(--violet-deep);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.fold[open] .fold-icon { transform: rotate(225deg); }
.fold[open] { padding-bottom: 22px; }
.fold .package-grid,
.fold .adds-list { margin-top: 8px; }
.fold .btn { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) {
  .fold-icon { transition: none; }
}
.shop { padding-top: 8px; }
.group-label {
  margin-top: 14px;
  list-style: none;
  margin-left: -1.1em;
  color: #7a6b98;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.adds-sub {
  margin: -8px 0 8px;
  color: var(--muted);
}
.adds-list {
  list-style: none;
  max-width: 46rem;
  margin: 0 0 22px;
  padding: 0;
}
.adds-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.adds-list li:last-child { border-bottom: 1px solid var(--line); }
.adds-list strong { font-weight: 500; white-space: nowrap; }
.adds-list li.add-row {
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 16px 0;
}
.adds-list li.add-row .sym { width: 72px; height: 72px; }
.add-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.add-copy > span {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.add-copy strong {
  font-weight: 400;
  color: #7a6b98;
}
.add-copy strong::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: 8px;
  background: #c4b6f2;
}
.adds-list li.is-pill { gap: 14px; }
.adds-list li.is-pill .sym { width: 64px; height: 64px; }
.add-name {
  flex: 1;
  min-width: 0;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.add-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding-left: 14px;
  border-left: 1px solid #e4dcff;
}
.add-pill small {
  color: #7a6b98;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.add-pill strong {
  min-width: 78px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3eeff;
  text-align: center;
  font-size: 1.05rem;
}
.pack-kicker {
  margin: 0;
  color: #7a6b98;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pack-tagline {
  margin: 6px 0 0;
  color: var(--muted);
}

.terms { padding-top: 12px; }
.terms h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}
.terms ul {
  max-width: 46rem;
  margin: 0;
  padding-left: 18px;
}
.terms li { margin: 10px 0; }
.terms li strong { font-weight: 500; }
.terms-note {
  max-width: 46rem;
  margin: 22px 0 0;
  color: var(--muted);
}

.contact .hero-actions { justify-content: flex-start; margin-top: 22px; }
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 72px 0 96px;
}
.form { display: grid; gap: 8px; }
.form label { margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: #655888; }
.form label span { letter-spacing: 0; text-transform: none; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}
.form textarea { resize: vertical; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.error { color: #8a2f86; font-size: 0.92rem; }
.hp { position: absolute; left: -9999px; }

.case { padding: 72px 0 96px; }
.case-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.case-head h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.cover-hero { margin-bottom: 28px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.case-grid h2 { font-size: 1.5rem; margin-bottom: 8px; }
.case-grid p { color: var(--muted); }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.site-footer {
  display: grid;
  gap: 18px;
  padding: 32px 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-logo img {
  display: block;
  width: min(360px, 100%);
  height: auto;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--violet-deep); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.footer-links a.btn-contact {
  color: #fff;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1rem;
}
.legal { font-size: 0.88rem; }

@media (max-width: 900px) {
  .steps, .plans, .work-grid { grid-template-columns: 1fr 1fr; }
  .home-work { grid-template-columns: 1fr 1fr; }
  .schematic-line { display: none; }
  .schematic-joint { display: none; }
  .index-list a, .service, .contact, .case-head, .case-grid, .work-row { grid-template-columns: 1fr; }
  .work-row .cover { min-height: 120px; }
  .close { flex-direction: column; align-items: start; }
}

@media (max-width: 720px) {
  .site-header { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(250, 247, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav a.btn-contact {
    margin: 6px 4px 4px;
    justify-content: center;
  }
  .hero, .page-intro, .section, .close, .contact, .case, .band {
    width: min(var(--max), calc(100% - 32px));
  }
  .band, .steps, .plans, .split, .work-grid, .package-grid, .home-services, .home-work { grid-template-columns: 1fr; }
  .hero-copy { padding: 20px 16px 24px; }
  .orb-a { width: 120px; height: 120px; left: -36px; }
  .band p + p { border-left: 0; border-top: 1px solid var(--line); }
  .hero { padding-top: 8px; }
  .hero h1, .page-intro h1 { max-width: none; }
  .wordmark img { height: 46px; }
}

/* Failsafe: if the intro script never runs (blocked, failed or slow to load),
   the overlay and scroll lock release on their own so the page stays usable. */
body:has(.intro:not(.is-done)) {
  overflow: hidden;
  animation: intro-unlock 0s linear 9s forwards;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background-color: var(--paper);
  background-image: url("../images/fondo-logo.jpg");
  background-position: center;
  background-size: cover;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  animation: intro-failsafe 0.6s ease 9s forwards;
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
}
.intro-lockup {
  position: relative;
  width: min(820px, 92vw);
}
.intro-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.traces path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.intro-star {
  opacity: 0;
  transform-origin: 89.5% 70.1%;
  transform-box: view-box;
}
.intro.is-shine .intro-star {
  animation: intro-spark 0.95s cubic-bezier(0.16, 0.84, 0.28, 1) forwards;
}
.intro-burst,
.intro-ring {
  position: absolute;
  left: 89.5%;
  top: 70.1%;
  width: 16%;
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
}
.intro-burst {
  background:
    linear-gradient(#fff, #fff) center / 2px 86% no-repeat,
    linear-gradient(#fff, #fff) center / 86% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) center / 1.5px 64% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) center / 64% 1.5px no-repeat;
  background-blend-mode: normal;
  transform: translate(-50%, -50%) rotate(45deg);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 16px rgba(176, 140, 255, 0.95));
}
.intro-ring {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 8%, rgba(198, 170, 255, 0.75) 18%, rgba(140, 90, 230, 0.28) 36%, transparent 68%);
}
.intro.is-shine .intro-burst {
  animation: intro-burst 0.95s cubic-bezier(0.16, 0.84, 0.28, 1) forwards;
}
.intro.is-shine .intro-ring {
  animation: intro-ring 0.95s ease-out forwards;
}
.intro-studio {
  opacity: 0;
}
.intro.is-studio .intro-studio {
  animation: studio-write 0.7s steps(7, end) forwards;
}
@keyframes intro-spark {
  0% { opacity: 0; transform: scale(0.12) rotate(-18deg); filter: brightness(3.2); }
  32% { opacity: 1; transform: scale(1.7) rotate(10deg); filter: brightness(2.5); }
  58% { opacity: 1; transform: scale(0.92) rotate(-4deg); filter: brightness(1.7); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: brightness(1.12) drop-shadow(0 0 6px rgba(210, 180, 255, 0.9)); }
}
@keyframes intro-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(0.15); }
  36% { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1.35); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(1.8); }
}
@keyframes intro-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  28% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.15); }
}
@keyframes intro-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes intro-unlock {
  to { overflow: auto; }
}
@keyframes studio-write {
  from { opacity: 1; clip-path: inset(0 70.6% 0 29.4%); }
  to { opacity: 1; clip-path: inset(0 29% 0 29.4%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .sym,
  .sym .orbit,
  .sym .orbit-rev,
  .sym .spin,
  .sym .twinkle,
  .sym .flash,
  .sym .drift,
  .sym .layer,
  .sym .ring,
  .sym .draw { animation: none; }
  .sym .twinkle { opacity: 1; transform: none; }
  .orb, .hero-spark, .hero-ring, .wire, .wire-dot { animation: none; }
  .home-steps::before, .schematic-line, .step-rail, .step-dot, .home-steps li::before { animation: none; }
  .home-service, .home-piece { transition: none; }
}
