/* =========================================================
   DANREINA v2 — Black-mode "studio" aesthetic
   Huge bold serif, punchy copy, animated borders, textures
========================================================= */

:root {
  --c-ink: #0a0a0c;
  --c-ink-deep: #050507;
  --c-ink-soft: #15151a;
  --c-paper: #ecebee;
  --c-paper-dim: #ababb2;
  --c-paper-mute: #6a6a72;
  --c-line: rgba(236, 235, 238, 0.10);
  --c-line-soft: rgba(236, 235, 238, 0.05);

  --c-violet: #7c3aed;
  --c-violet-bright: #9d6dff;
  --c-violet-glow: rgba(124, 58, 237, 0.45);
  --c-amber: #f6ad55;
  --c-amber-bright: #ffc079;

  --f-display: "DM Serif Display", "Times New Roman", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --max: 1480px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--f-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--c-violet); color: var(--c-paper); }

/* NAVBAR */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background 0.35s var(--ease-soft), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: var(--c-line);
}
.nav-logo {
  display: inline-flex; align-items: center;
  transition: opacity 0.25s;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo:focus-visible { outline: 2px solid #7c3aed; outline-offset: 4px; border-radius: 6px; }
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-logo--footer img {
  height: 64px;
}
@media (max-width: 480px) {
  .nav-logo img {
    height: 40px;
  }
}
.nav-links {
  display: flex; gap: 36px;
  position: absolute; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-paper-dim);
}
.nav-links a { position: relative; padding: 8px 0; transition: color 0.2s; }
.nav-links a:hover { color: var(--c-paper); }
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--c-amber);
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; left: 0; }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Hamburguesa */
.hamburger {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--c-line);
  background: transparent;
  border-radius: 50%;
  position: relative;
  align-items: center; justify-content: center;
}
.hamburger span {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 16px; height: 1.5px; background: var(--c-paper);
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 18px; transform: translateX(-50%) rotate(45deg); }
.hamburger.open span:nth-child(2) { top: 18px; transform: translateX(-50%) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .nav-cta-label { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--c-ink);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 24px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 2.5rem; font-weight: 400;
  color: var(--c-paper);
}
.mobile-menu a .num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--c-paper-mute);
  margin-right: 14px;
  vertical-align: super;
}

/* BTN */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  font-family: var(--f-body);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-paper);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s, background 0.4s;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn .label { position: relative; z-index: 2; }
.btn .arrow {
  position: relative; z-index: 2;
  display: inline-flex;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn .border-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.btn .border-svg rect { fill: none; stroke: var(--c-paper); stroke-width: 1; }
.btn .border-svg .runner {
  stroke: var(--c-amber); stroke-width: 1.5;
  stroke-dasharray: 60 400; stroke-dashoffset: 0;
  animation: dash 4s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -460; } }
.btn--solid { background: var(--c-paper); color: var(--c-ink); }
.btn--solid .border-svg rect { stroke: transparent; }
.btn--solid:hover { background: var(--c-violet); color: var(--c-paper); }
.btn--violet { background: var(--c-violet); color: var(--c-paper); }
.btn--violet .border-svg rect { stroke: transparent; }
.btn--violet:hover { background: var(--c-violet-bright); }
.btn--ghost { color: var(--c-paper); }
.btn--lg { padding: 22px 38px; font-size: 0.9rem; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--c-violet), var(--c-amber));
  z-index: 999;
  transition: width 0.1s linear;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  background: var(--c-ink);
}
.hero-texture {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(246,173,85,0.10), transparent 50%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg,
    rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px,
    transparent 1px, transparent 3px);
  mix-blend-mode: overlay; pointer-events: none;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 5;
  max-width: var(--max); width: 100%; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-paper-dim);
  padding: 8px 16px;
  border: 1px solid var(--c-line); border-radius: 999px;
  background: rgba(255,255,255,0.02); margin-bottom: 36px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 12px #22c55e;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.5; } }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 9.5vw, 9rem);
  line-height: 0.92; letter-spacing: -0.04em; font-weight: 400;
  margin: 0; text-wrap: balance;
}
.hero-title .row { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero-title .row span.inner {
  display: inline-block; transform: translateY(110%);
  animation: rise 1.2s var(--ease-out) forwards;
}
.hero-title .row:nth-child(2) span.inner { animation-delay: 0.14s; }
.hero-title .it { font-style: italic; }
/* Gradient animado "fabricamos" */
.hero-title .v {
  font-style: italic;
  background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 22%, #fbbf24 50%, #a78bfa 78%, #7c3aed 100%);
  background-size: 280% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v-sweep 5s ease-in-out 1.8s infinite;
}
@keyframes v-sweep {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Respeta prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-title .v { animation: none; background-position: 0% 50%; }
}
.hero-title .a { color: var(--c-amber); }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub {
  margin: 44px 0 0; max-width: 540px;
  font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55;
  color: var(--c-paper-dim); opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.7s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hero-cta-row {
  margin-top: 48px; display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeIn 0.8s var(--ease-out) 0.9s forwards;
}
.hero-bottom {
  position: absolute; bottom: 32px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-paper-mute); z-index: 5;
}
.hero-bottom .scroll-cue { display: flex; align-items: center; gap: 10px; }
.hero-bottom .scroll-cue .line {
  width: 1px; height: 30px;
  background: linear-gradient(180deg, var(--c-line), transparent);
  position: relative; overflow: hidden;
}
.hero-bottom .scroll-cue .line::after {
  content: ""; position: absolute; top: -10px; left: 0; right: 0;
  height: 10px; background: var(--c-amber);
  animation: scrollLine 2s var(--ease-soft) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}
.hero-orb {
  position: absolute; right: 6vw; top: 50%; transform: translateY(-50%);
  width: clamp(280px, 30vw, 460px); aspect-ratio: 1;
  pointer-events: none; z-index: 4; opacity: 0;
  animation: fadeIn 1.4s var(--ease-out) 0.4s forwards;
}
@media (max-width: 980px) { .hero-orb { display: none; } }

/* SECTION BASE */
.section {
  position: relative;
  padding: clamp(100px, 14vh, 180px) var(--gutter);
  overflow: hidden;
}
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-amber); margin: 0 0 24px;
}
.section-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--c-amber); }
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 7vw, 6.5rem);
  line-height: 0.92; letter-spacing: -0.035em; font-weight: 400;
  margin: 0; text-wrap: balance; max-width: 1100px;
}
.section-title .it { font-style: italic; color: var(--c-violet); }
.section-title .a { color: var(--c-amber); }

/* SERVICIOS */
.services { background: var(--c-ink); }
.services-list { margin-top: 80px; display: flex; flex-direction: column; }
.service {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr 1fr 56px;
  align-items: center; gap: 40px; padding: 48px 0;
  border-top: 1px solid var(--c-line);
  cursor: pointer; transition: padding 0.4s var(--ease-out);
}
.service:last-child { border-bottom: 1px solid var(--c-line); }
.service:hover { padding-left: 24px; }
.service .num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--c-paper-mute); letter-spacing: 0.18em; }
.service .label { display: flex; flex-direction: column; gap: 8px; }
.service .label h3 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1; letter-spacing: -0.025em; margin: 0; font-weight: 400;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.service:hover .label h3 { color: var(--c-violet); }
.service .label .hook {
  font-family: var(--f-mono); font-size: 0.74rem;
  letter-spacing: 0.14em; color: var(--c-amber); text-transform: uppercase;
}
.service .desc { font-size: 0.95rem; line-height: 1.55; color: var(--c-paper-dim); max-width: 420px; }
.service .arrow-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-paper); transition: all 0.3s var(--ease-out);
}
.service:hover .arrow-circle {
  background: var(--c-amber); border-color: var(--c-amber);
  color: var(--c-ink); transform: rotate(-45deg);
}
.service-preview {
  position: fixed; width: 280px; height: 280px;
  pointer-events: none; z-index: 50; opacity: 0; transition: opacity 0.3s;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  background: var(--c-ink-soft);
  transform: translate(-50%, -50%) scale(0.9);
}
.service-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.service-preview svg { width: 100%; height: 100%; }
@media (max-width: 760px) {
  .service { grid-template-columns: 50px 1fr 44px; }
  .service .desc { grid-column: 2 / span 2; max-width: none; margin-top: 8px; font-size: 0.9rem; }
}

/* PROCESO */
.process { background: var(--c-ink-deep); }
.process-track {
  margin-top: 80px; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.process-line {
  position: absolute; top: 40px; left: 0; right: 0; height: 1px; background: var(--c-line);
}
.process-line .fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--c-amber); width: 0%; transition: width 0.4s var(--ease-out);
}
.step {
  position: relative; padding-top: 70px;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s var(--ease-out);
}
.step.in { opacity: 1; transform: translateY(0); }
.step .dot {
  position: absolute; top: 28px; left: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-ink-deep); border: 2px solid var(--c-line); transition: all 0.4s;
}
.step.active .dot {
  background: var(--c-amber); border-color: var(--c-amber);
  box-shadow: 0 0 0 8px rgba(246, 173, 85, 0.15);
}
.step .num {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.22em;
  color: var(--c-paper-mute); text-transform: uppercase; margin-bottom: 14px;
}
.step h3 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400;
  margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1;
}
.step p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--c-paper-dim); max-width: 280px; }
@media (max-width: 860px) {
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-line { left: 11px; top: 0; bottom: 0; right: auto; width: 1px; height: auto; }
  .process-line .fill { width: 100%; height: 0%; transition: height 0.4s var(--ease-out); }
  .step { padding-top: 0; padding-left: 50px; padding-bottom: 36px; }
  .step .dot { top: 0; left: 0; }
}

/* PORTFOLIO */
.portfolio { background: var(--c-ink); }
.portfolio-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; row-gap: 24px; column-gap: 40px; margin-bottom: 48px;
}
.portfolio-filters { display: flex; column-gap: 8px; row-gap: 10px; flex-wrap: wrap; }
.portfolio-filters button {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--c-line); background: transparent; color: var(--c-paper-dim);
  transition: all 0.3s;
}
.portfolio-filters button:hover { color: var(--c-paper); border-color: var(--c-paper-dim); }
.portfolio-filters button.active { background: var(--c-amber); color: var(--c-ink); border-color: var(--c-amber); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px;
}
.work {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--c-ink-soft); border: 1px solid var(--c-line);
  cursor: pointer; opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.work.in { opacity: 1; transform: translateY(0); }
.work:hover { border-color: var(--c-violet); }
.work:nth-child(1)  { grid-column: span 5; grid-row: span 4; }
.work:nth-child(2)  { grid-column: span 4; grid-row: span 3; }
.work:nth-child(3)  { grid-column: span 3; grid-row: span 3; }
.work:nth-child(4)  { grid-column: span 4; grid-row: span 3; }
.work:nth-child(5)  { grid-column: span 3; grid-row: span 4; }
.work:nth-child(6)  { grid-column: span 5; grid-row: span 3; }
.work:nth-child(7)  { grid-column: span 4; grid-row: span 4; }
.work:nth-child(8)  { grid-column: span 4; grid-row: span 3; }
.work:nth-child(9)  { grid-column: span 4; grid-row: span 3; }
.work-placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(124,58,237,0.06) 0, rgba(124,58,237,0.06) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, var(--c-ink-soft), var(--c-ink-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--c-paper-mute); text-transform: uppercase;
  transition: transform 0.6s var(--ease-out);
}
.work-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.work:hover .work-placeholder { transform: scale(1.05); }
.work-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  opacity: 0; transition: opacity 0.4s;
}
.work:hover .work-overlay { opacity: 1; }
.work-overlay .tag {
  font-family: var(--f-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-amber);
}
.work-overlay .name { font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; margin-top: 4px; }
@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .work { grid-column: span 3 !important; grid-row: span 2 !important; }
  .work:nth-child(1), .work:nth-child(4), .work:nth-child(7) { grid-column: span 6 !important; grid-row: span 3 !important; }
}

/* REVIEWS */
.reviews { background: var(--c-ink-deep); padding-bottom: 0; }
/* Especificidad doble (.section.reviews) gana sobre .section { overflow:hidden } */
.section.reviews { overflow: visible; }
.reviews .section-inner { overflow: visible; }
.reviews-marquee-wrap {
  margin-top: 64px; position: relative;
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-bottom: 80px;
  overflow-x: clip; /* contiene el marquee horizontalmente sin afectar el eje Y */
}
.reviews-marquee-wrap::before, .reviews-marquee-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 3; pointer-events: none;
}
.reviews-marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--c-ink-deep), transparent); }
.reviews-marquee-wrap::after { right: 0; background: linear-gradient(-90deg, var(--c-ink-deep), transparent); }
.reviews-marquee { display: flex; gap: 24px; animation: marquee 50s linear infinite; width: max-content; }
.reviews-marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review-card {
  width: 420px; flex-shrink: 0; padding: 32px 28px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(124,58,237,0.04), rgba(255,255,255,0.01));
  display: flex; flex-direction: column; gap: 18px;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  position: relative; z-index: 1;
  will-change: transform;
}
.review-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 0 2px rgba(124,58,237,0.5), 0 24px 60px -12px rgba(124,58,237,0.35), inset 0 0 36px rgba(124,58,237,0.07);
  border-color: rgba(124,58,237,0.65);
  z-index: 10;
}
/* imagen dentro de la card hace zoom en hover */
.review-card .rv-img-wrap img {
  transition: transform 0.5s var(--ease-out);
}
.review-card:hover .rv-img-wrap img {
  transform: scale(1.08);
}
/* indicador "clic para abrir" */
.review-card::after {
  content: "Ver completo";
  position: absolute; bottom: 16px; right: 20px;
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-amber);
  opacity: 0; transition: opacity 0.3s;
}
.review-card:hover::after { opacity: 1; }
.review-card .stars { display: flex; gap: 3px; color: var(--c-amber); }
.review-card p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--c-paper); }
.review-card .meta { display: flex; align-items: center; gap: 14px; margin-top: auto; }

/* REVIEW MODAL */
.rv-modal {
  position: fixed; inset: 0; z-index: 600;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}
.rv-modal.open { pointer-events: all; opacity: 1; }
.rv-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,5,7,0.85);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.rv-box {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 860px; max-height: 90dvh;
  background: var(--c-ink-soft);
  border: 1px solid var(--c-line);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.75);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.4s var(--ease-out);
}
.rv-box.no-img { grid-template-columns: 1fr; max-width: 520px; }
.rv-modal.open .rv-box { transform: translateY(0) scale(1); }
.rv-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--c-line); background: var(--c-ink);
  color: var(--c-paper-dim); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.rv-close:hover { color: var(--c-paper); border-color: var(--c-paper-dim); }
.rv-img {
  background: var(--c-ink-deep);
  overflow: hidden; position: relative; min-width: 0;
}
.rv-img img, .rv-img video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.rv-content { padding: 48px 40px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; overflow-x: hidden; min-width: 0; max-width: 100%; scrollbar-gutter: stable; }
.rv-stars { display: flex; gap: 3px; color: var(--c-amber); flex-shrink: 0; }
.rv-quote {
  font-family: var(--f-display); font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.4; font-style: italic; color: var(--c-paper);
  margin: 0; letter-spacing: -0.01em;
  overflow-wrap: break-word; word-break: break-word;
}
.rv-meta { display: flex; align-items: flex-start; gap: 14px; padding-top: 8px; border-top: 1px solid var(--c-line); min-width: 0; }
.rv-meta > * { min-width: 0; }
.rv-cta { align-self: flex-start; margin-top: 4px; max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 680px) {
  .rv-box { grid-template-columns: 1fr; max-height: 92dvh; overflow-y: auto; }
  .rv-img { min-height: 220px; max-height: 260px; }
  .rv-content { padding: 28px 24px 32px; }
  .rv-quote { font-size: 1.05rem; }
}
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--c-violet);
  font-family: var(--f-display); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-paper); flex-shrink: 0;
}
.review-card .who { font-size: 0.9rem; font-weight: 700; }
.review-card .what {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--c-paper-mute); text-transform: uppercase; margin-top: 2px;
}

/* STATS */
.stats {
  background: var(--c-ink);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
}
.stats-row {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 56px 0;
}
.stat { display: flex; flex-direction: column; border-right: 1px solid var(--c-line); padding-right: 24px; }
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.9; letter-spacing: -0.05em; font-weight: 400;
  color: var(--c-paper); display: inline-flex; align-items: baseline;
}
.stat:nth-child(2) .num, .stat:nth-child(3) .num { color: var(--c-amber); }
.stat .num .unit { font-size: 0.5em; color: inherit; margin-left: 4px; }
.stat .label {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-paper-dim); margin-top: 22px;
}
@media (max-width: 860px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--c-line); padding-top: 32px; }
}

/* MATERIALES */
.materials { background: var(--c-ink-deep); }
.materials-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mat-card {
  position: relative; padding: 38px 32px 32px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-ink-soft); overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
  min-height: 360px; display: flex; flex-direction: column;
}
.mat-card:hover { border-color: var(--c-violet); transform: translateY(-4px); }
.mat-card .mat-bg { position: absolute; inset: 0; opacity: 0.4; transition: opacity 0.4s; }
.mat-card:hover .mat-bg { opacity: 0.7; }
.mat-card .num { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--c-paper-mute); position: relative; }
.mat-card h3 {
  font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1; font-weight: 400; margin: 18px 0 16px; letter-spacing: -0.02em; position: relative;
}
.mat-card h3 .it { font-style: italic; color: var(--c-amber); }
.mat-card .hook {
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.14em;
  color: var(--c-amber); text-transform: uppercase; margin-bottom: 16px; position: relative;
}
.mat-card p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--c-paper-dim); position: relative; }
.mat-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.mat-card ul li {
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em;
  color: var(--c-paper-dim); padding-left: 18px; position: relative;
}
.mat-card ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 1px; background: var(--c-amber); }
@media (max-width: 860px) { .materials-grid { grid-template-columns: 1fr; } }

/* CONTACTO */
.contact { background: var(--c-ink); }
.contact-grid { margin-top: 80px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.form-shell { padding: 38px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-ink-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--c-paper-mute); text-transform: uppercase; }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 0.95rem; color: var(--c-paper);
  background: var(--c-ink); border: 1px solid var(--c-line);
  border-radius: 12px; padding: 14px 16px; transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-amber); background: rgba(246,173,85,0.04);
}
.field select option { background: var(--c-ink-deep); color: var(--c-paper); }
.file-drop {
  border: 1.5px dashed var(--c-line); border-radius: 12px; padding: 22px;
  text-align: center; font-size: 0.88rem; color: var(--c-paper-dim);
  cursor: pointer; transition: all 0.3s; display: block;
}
.file-drop:hover { border-color: var(--c-amber); color: var(--c-paper); }
.file-drop .small {
  display: block; font-family: var(--f-mono); font-size: 0.7rem;
  color: var(--c-paper-mute); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px;
}
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--c-line);
  background: var(--c-ink-soft); display: flex; align-items: center; gap: 20px; transition: all 0.3s;
}
.contact-card:hover { border-color: var(--c-amber); transform: translateY(-2px); }
.contact-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.3);
  color: var(--c-violet-bright); flex-shrink: 0;
}
.contact-card.whatsapp .ico { background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.4); color: #25D366; }
.contact-card .who { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-paper-mute); }
.contact-card .val { font-size: 1.1rem; font-weight: 700; margin-top: 4px; }
.contact-card.whatsapp .val { color: #25D366; }
.contact-promise {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--c-amber);
  background: linear-gradient(180deg, rgba(246,173,85,0.08), transparent);
}
.contact-promise .small {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--c-amber); text-transform: uppercase;
}
.contact-promise .big { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.15; margin-top: 10px; }

/* SKIP LINK */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  background: var(--c-violet); color: var(--c-paper);
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* FAQ */
.faq-grid {
  max-width: 760px; margin: 56px auto 64px;
  display: flex; flex-direction: column; gap: 4px;
}
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-ink-soft);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(124,58,237,0.4); }
.faq-item summary {
  padding: 20px 24px;
  font-size: 0.95rem; font-weight: 600; color: var(--c-paper);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0;
  font-size: 1.4rem; font-weight: 300; color: var(--c-violet);
  transition: transform 0.25s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0; padding: 0 24px 20px;
  font-size: 0.9rem; line-height: 1.65; color: var(--c-paper-dim);
}

/* FOOTER */
.footer { background: var(--c-ink-deep); padding: 80px var(--gutter) 32px; }
.footer-slogan {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 8vw, 7rem);
  line-height: 0.95; letter-spacing: -0.035em; font-weight: 400;
  margin: 0 auto; text-align: center; max-width: var(--max);
}
.footer-slogan .v { color: var(--c-violet); font-style: italic; }
.footer-slogan .a { color: var(--c-amber); }
.footer-grid {
  max-width: var(--max); margin: 80px auto 0;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--c-line);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
.footer h3, .footer h4 {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #8a8a96; margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 0.9rem; color: var(--c-paper-dim); transition: color 0.25s; }
.footer ul a:hover { color: var(--c-paper); }
.footer-bottom {
  max-width: var(--max); margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center; color: #8a8a96;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--c-paper-mute); text-transform: uppercase; flex-wrap: wrap; gap: 12px;
}
.footer-socials {
  display: flex; gap: 16px; align-items: center;
}
.footer-socials a {
  color: #8a8a96;
  display: flex; align-items: center;
  transition: color 0.2s, transform 0.2s;
}
.footer-socials a:hover { color: var(--c-amber); transform: translateY(-2px); }

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Toast */
.v2-toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  padding: 16px 24px; border-radius: var(--radius);
  background: var(--c-ink-soft); border: 1px solid var(--c-line);
  font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.06em;
  color: var(--c-paper); box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  transform: translateY(20px); opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.v2-toast.show { transform: translateY(0); opacity: 1; }
.v2-toast.success { border-color: var(--c-amber); }
.v2-toast.error { border-color: #ef4444; }

/* =========================================================
   PORTFOLIO MODAL
========================================================= */
.pf-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  pointer-events: none; opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
}
.pf-modal.open { pointer-events: all; opacity: 1; }
.pf-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}
.pf-box {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 880px; max-height: 90vh;
  background: var(--c-ink-soft);
  border: 1px solid var(--c-line);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}
.pf-modal.open .pf-box { transform: translateY(0) scale(1); }
.pf-close {
  position: absolute; top: 18px; right: 18px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-line); background: var(--c-ink);
  color: var(--c-paper-dim); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.pf-close:hover { background: var(--c-ink-soft); color: var(--c-paper); border-color: var(--c-paper-dim); }
.pf-media {
  background: var(--c-ink-deep);
  min-height: 320px; overflow: hidden; position: relative;
}
.pf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-media-placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(124,58,237,0.08) 0, rgba(124,58,237,0.08) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, var(--c-ink-soft), var(--c-ink-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  color: var(--c-paper-mute); text-transform: uppercase;
}
.pf-body {
  padding: 48px 40px; display: flex; flex-direction: column;
  gap: 20px; overflow-y: auto;
}
.pf-tag {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-amber);
  display: flex; align-items: center; gap: 8px;
}
.pf-tag::before { content: ""; width: 20px; height: 1px; background: var(--c-amber); }
.pf-name {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05; letter-spacing: -0.025em; font-weight: 400; margin: 0;
}
.pf-desc {
  margin: 0; font-size: 0.95rem; line-height: 1.65;
  color: var(--c-paper-dim); flex: 1;
}
.pf-cta { align-self: flex-start; margin-top: 8px; }

@media (max-width: 680px) {
  .pf-box { grid-template-columns: 1fr; max-height: 92dvh; overflow-y: auto; }
  .pf-media { min-height: 220px; max-height: 280px; }
  .pf-body { padding: 28px 24px; }
  .pf-close { top: 12px; right: 12px; }
}

/* =========================================================
   MOBILE FIXES — v2 responsive pass
========================================================= */

/* Portfolio overlay siempre visible en táctil (sin hover) */
@media (hover: none) {
  .work-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.88));
  }
  .work:hover .work-placeholder { transform: none; }
}

/* Hero bottom — ocultar textos laterales en pantallas pequeñas */
@media (max-width: 520px) {
  .hero-bottom > div:first-child,
  .hero-bottom > div:last-child { display: none; }
  .hero-bottom { justify-content: center; }
}

/* Hero CTA — apila botones en pantallas muy pequeñas */
@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn--lg { padding: 18px 28px; font-size: 0.84rem; }
}

/* Servicios — layout simplificado en móvil pequeño */
@media (max-width: 520px) {
  .service {
    grid-template-columns: 40px 1fr 40px;
    gap: 16px 12px;
    padding: 32px 0;
  }
  .service .label h3 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .service .desc { grid-column: 2 / span 2; font-size: 0.88rem; }
}

/* Proceso — padding-left más pequeño en móvil */
@media (max-width: 480px) {
  .step { padding-left: 38px; }
  .step p { max-width: none; font-size: 0.9rem; }
}

/* Portfolio grid — 2 columnas en pantallas muy pequeñas */
@media (max-width: 520px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
    gap: 10px;
  }
  .work { grid-column: span 1 !important; grid-row: span 1 !important; }
  .work:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; }
  .work-overlay .name { font-size: 1.1rem; }
}

/* Portfolio filters — scroll horizontal en móvil, sin wrap */
@media (max-width: 640px) {
  .portfolio-head { flex-direction: column; align-items: flex-start; }
  .portfolio-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    max-width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 90%, transparent 100%);
  }
  .portfolio-filters::-webkit-scrollbar { display: none; }
  .portfolio-filters button { flex-shrink: 0; }
}

/* Form grid — una columna en móvil */
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 24px 18px; }
  .contact-grid { gap: 32px; }
}

/* Stats — 2 columnas bien ajustadas en 480px, 1 columna en 360px */
@media (max-width: 360px) {
  .stats-row { grid-template-columns: 1fr; gap: 0; }
  .stat { border-right: none; border-bottom: 1px solid var(--c-line); padding: 24px 0; }
  .stat:last-child { border-bottom: none; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 24px; }
}

/* Footer — 1 columna en pantallas muy pequeñas */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-slogan { font-size: clamp(2rem, 10vw, 4rem); }
}

/* Mobile menu — letra más pequeña en pantallas muy estrechas */
@media (max-width: 360px) {
  .mobile-menu a { font-size: 1.9rem; }
  .mobile-menu { gap: 14px; }
}

/* Landscape en móvil — reducir hero */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100svh; padding-top: 90px; padding-bottom: 60px; }
  .hero-title { font-size: clamp(2rem, 7vw, 3.8rem); }
  .hero-sub { margin-top: 20px; }
  .hero-cta-row { margin-top: 24px; }
  .mobile-menu { gap: 10px; overflow-y: auto; padding: 90px 0 30px; }
  .mobile-menu a { font-size: 1.6rem; }
}

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee { animation: none; }
  .reveal, .step { transition: none; opacity: 1; transform: none; }
  .hero-title .row span.inner { animation: none; transform: none; }
  .hero-sub, .hero-cta-row { animation: none; opacity: 1; }
  .hero-orb { animation: none; opacity: 1; }
  .scroll-progress { transition: none; }
}

/* Inputs — evitar zoom automático en iOS */
@media (max-width: 768px) {
  .field input,
  .field select,
  .field textarea { font-size: 16px !important; }
  a, button { touch-action: manipulation; }
}

/* Safe area — respeta notch y barra de inicio en iOS */
@media (max-width: 768px) {
  .v2-toast { bottom: calc(24px + env(safe-area-inset-bottom)); right: 16px; left: 16px; }
  .nav { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
  .hero-bottom { padding-bottom: env(safe-area-inset-bottom); }
}

/* SERVICE PRICE TAG */
.service-price {
  font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-violet);
  opacity: 0.75; margin-top: 6px;
  transition: opacity 0.3s;
}
.service:hover .service-price { opacity: 1; }

/* FAB PRESUPUESTO */
.presupuesto-fab {
  position: fixed; bottom: 28px; left: 28px; z-index: 500;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px 13px 18px;
  background: var(--c-violet); color: var(--c-paper);
  border-radius: 999px; text-decoration: none;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 8px 32px -6px rgba(124,58,237,0.55);
  transform: translateY(100px); opacity: 0; pointer-events: none;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out), box-shadow 0.2s;
}
.presupuesto-fab.visible { transform: translateY(0); opacity: 1; pointer-events: all; }
.presupuesto-fab:hover { box-shadow: 0 12px 44px -6px rgba(124,58,237,0.75); }
.presupuesto-fab svg { flex-shrink: 0; }
@media (max-width: 480px) {
  .presupuesto-fab { bottom: calc(20px + env(safe-area-inset-bottom)); left: 20px; padding: 14px; }
  .presupuesto-fab span { display: none; }
}
