/* =========================================================
   ABYAN Capital — Capa premium: efectos e interacciones
   ========================================================= */

/* ---------- Textura de grano ---------- */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9998; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Barra de progreso ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-500));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(201,164,92,.7);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-900);
  display: grid; place-items: center;
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1);
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader .pl-inner { text-align: center; }
.preloader img { width: 210px; opacity: 0; transform: translateY(14px); animation: plLogo 1s .1s var(--ease) forwards; }
.preloader .pl-bar { width: 210px; height: 1px; background: rgba(201,164,92,.2); margin: 28px auto 0; overflow: hidden; }
.preloader .pl-bar i { display: block; height: 100%; background: var(--gold-500); transform-origin: left; transform: scaleX(0); animation: plBar 1.2s .3s cubic-bezier(.65,0,.35,1) forwards; }
.preloader .pl-txt { margin-top: 16px; font-size: 10px; letter-spacing: .5em; color: var(--gold-500); text-transform: uppercase; opacity: 0; animation: plLogo .8s .5s forwards; }
.preloader.quick img, .preloader.quick .pl-bar i, .preloader.quick .pl-txt { animation-duration: .3s; animation-delay: 0s; }
@keyframes plLogo { to { opacity: 1; transform: none; } }
@keyframes plBar { to { transform: scaleX(1); } }
.no-js .preloader { display: none; }

/* ---------- Cursor personalizado ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 9997; pointer-events: none;
    border-radius: 50%; transform: translate(-50%, -50%);
  }
  .cursor {
    width: 38px; height: 38px; border: 1px solid rgba(201,164,92,.75);
    transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s, opacity .3s;
    mix-blend-mode: normal;
  }
  .cursor-dot { width: 5px; height: 5px; background: var(--gold-500); }
  .cursor.hover { width: 72px; height: 72px; background: rgba(201,164,92,.12); border-color: var(--gold-400); }
  .cursor.hidden, .cursor-dot.hidden { opacity: 0; }
  .cursor .c-label {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300);
    opacity: 0; transition: opacity .3s;
  }
  .cursor.hover.has-label .c-label { opacity: 1; }
}

/* ---------- Texto dorado animado ---------- */
/* Color sólido de respaldo: el texto nunca queda invisible */
.shine { color: var(--gold-500) !important; }
/* El degradado se aplica a cada palabra animada (Safari no pinta
   background-clip:text a través de elementos inline-block transformados) */
.shine:not(:has(.w)),
.shine .w > span {
  background-image: linear-gradient(100deg, var(--gold-600) 0%, var(--gold-500) 30%, #f3e2b8 48%, var(--gold-500) 62%, var(--gold-600) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- Titulares palabra por palabra ---------- */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.split-words.in .w > span { transform: none; }

/* ---------- Revelado de imágenes con cortina ---------- */
.img-reveal { position: relative; }
.img-reveal:not(.framed):not(.photo) { overflow: hidden; }
.img-reveal:not(.framed):not(.photo)::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(90deg, var(--navy-700), var(--navy-600));
  transform-origin: right; transition: transform 1.3s cubic-bezier(.77,0,.18,1);
}
.img-reveal:not(.framed):not(.photo) img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.img-reveal.in:not(.framed):not(.photo)::after { transform: scaleX(0); }
.img-reveal.in:not(.framed):not(.photo) img { transform: scale(1); }
.framed.img-reveal img, .photo.img-reveal img { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.77,0,.18,1); }
.framed.img-reveal.in img, .photo.img-reveal.in img { clip-path: inset(0 0 0 0); }
.framed.img-reveal::before, .framed.img-reveal::after, .photo.img-reveal::before { opacity: 0; transition: opacity 1s .9s; }
.framed.img-reveal.in::before, .framed.img-reveal.in::after, .photo.img-reveal.in::before { opacity: 1; }
.framed.img-reveal .badge { opacity: 0; transform: translateY(20px); transition: all .9s 1s var(--ease); }
.framed.img-reveal.in .badge { opacity: 1; transform: none; }

/* ---------- Hero premium ---------- */
.hero { isolation: isolate; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,164,92,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,164,92,.07) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 20% 50%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 10%, transparent 70%);
  animation: gridMove 30s linear infinite;
}
@keyframes gridMove { to { background-position: 80px 80px, 80px 80px; } }

.hero-media { z-index: 1; overflow: hidden; }
.hero-media .sweep {
  position: absolute; inset: -20% -60%; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,236,190,.22) 50%, transparent 58%);
  animation: sweep 7s 2.4s ease-in-out infinite;
  transform: translateX(-60%);
}
@keyframes sweep { 0% { transform: translateX(-60%); } 35%, 100% { transform: translateX(60%); } }
.hero .container { z-index: 4; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 18px 8px 10px; margin-bottom: 30px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300);
  background: rgba(10,21,48,.5); backdrop-filter: blur(6px);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 0 rgba(201,164,92,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,164,92,.6); } 70% { box-shadow: 0 0 0 10px rgba(201,164,92,0); } 100% { box-shadow: 0 0 0 0 rgba(201,164,92,0); } }

.hero-card {
  position: absolute; right: clamp(24px, 5vw, 80px); top: 50%; z-index: 5;
  transform: translateY(-30%);
  width: 290px; padding: 28px 28px 22px;
  background: linear-gradient(145deg, rgba(14,27,58,.72), rgba(6,13,31,.55));
  border: 1px solid rgba(201,164,92,.35);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  opacity: 0; animation: cardIn 1.2s 1.1s var(--ease) forwards;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(-20%); } to { opacity: 1; transform: translateY(-30%); } }
.hero-card .hc-title { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; display: flex; justify-content: space-between; }
.hero-card .hc-row { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(201,164,92,.18); }
.hero-card .hc-row b { font-family: var(--serif); font-size: 34px; color: #fff; font-weight: 600; line-height: 1; }
.hero-card .hc-row span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); text-align: right; max-width: 120px; line-height: 1.4; }
.hero-card .hc-foot { margin-top: 8px; display: flex; gap: 6px; }
.hero-card .hc-foot i { flex: 1; height: 3px; background: rgba(201,164,92,.2); border-radius: 2px; overflow: hidden; position: relative; }
.hero-card .hc-foot i::after { content: ""; position: absolute; inset: 0; background: var(--gold-500); transform: scaleX(0); transform-origin: left; animation: plBar 1.4s forwards; }
.hero-card .hc-foot i:nth-child(1)::after { animation-delay: 1.8s; }
.hero-card .hc-foot i:nth-child(2)::after { animation-delay: 2.1s; }
.hero-card .hc-foot i:nth-child(3)::after { animation-delay: 2.4s; }

.hero-side {
  position: absolute; left: 24px; bottom: 40px; z-index: 5;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 16px;
}
.hero-side::before { content: ""; width: 1px; height: 60px; background: var(--gold-500); }

@media (max-width: 1180px) { .hero-card { display: none; } }
@media (max-width: 960px) { .hero-side { display: none; } }

/* ---------- Marca de agua por sección ---------- */
.watermark {
  position: absolute; pointer-events: none; z-index: 0; white-space: nowrap;
  font-family: var(--serif); font-weight: 700; line-height: .8;
  font-size: clamp(120px, 20vw, 300px);
  color: transparent; -webkit-text-stroke: 1px rgba(201,164,92,.14);
  letter-spacing: .05em;
}
.watermark.wm-right { right: -2vw; top: 40px; }
.watermark.wm-left { left: -2vw; bottom: 30px; }
.on-ivory .watermark, .section:not(.on-dark):not(.on-deep) .watermark { -webkit-text-stroke-color: rgba(14,27,58,.07); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Estadísticas premium ---------- */
.stats-x { position: relative; overflow: hidden; }
.stats-x .stats-bg { position: absolute; inset: -20% 0; z-index: 0; opacity: .16; }
.stats-x .stats-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.stats-x::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(201,164,92,.22), transparent 60%), linear-gradient(180deg, var(--navy-700) 0%, rgba(14,27,58,.85) 50%, var(--navy-700) 100%);
}
.stats-x .container { position: relative; z-index: 1; }
.stat { position: relative; transition: background .5s var(--ease); }
.stat:hover { background: rgba(201,164,92,.06); }
.stat .v { background: linear-gradient(180deg, #f3e2b8, var(--gold-500) 60%, var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Panel interactivo de servicios ---------- */
.svc-x { position: relative; overflow: hidden; }
.svc-x .svc-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.svc-tabs { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.svc-tab {
  width: 100%; text-align: left; background: none; border: 0; color: inherit;
  display: grid; grid-template-columns: 64px 1fr 30px; align-items: center; gap: 10px;
  padding: 26px 0; border-bottom: 1px solid rgba(201,164,92,.22); position: relative;
}
.svc-tab .n { font-family: var(--serif); font-size: 22px; color: rgba(201,164,92,.55); transition: color .4s; }
.svc-tab .t {
  font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); text-transform: uppercase; line-height: 1.1;
  color: rgba(255,255,255,.38); transition: color .5s var(--ease), transform .5s var(--ease);
}
.svc-tab .a { color: var(--gold-500); opacity: 0; transform: translateX(-10px); transition: all .5s var(--ease); }
.svc-tab .a .ico { width: 26px; height: 26px; }
.svc-tab .bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold-500); transform: scaleX(0); transform-origin: left; }
.svc-tab:hover .t { color: rgba(255,255,255,.75); }
.svc-tab.active .t { color: #fff; transform: translateX(8px); }
.svc-tab.active .n { color: var(--gold-500); }
.svc-tab.active .a { opacity: 1; transform: none; }
.svc-tab.active .bar { animation: svcBar var(--svc-time, 6s) linear forwards; }
.svc-x.paused .svc-tab.active .bar { animation-play-state: paused; }
@keyframes svcBar { to { transform: scaleX(1); } }

.svc-stage { position: relative; aspect-ratio: 4 / 4.4; }
.svc-stage::before {
  content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--gold-500); border-radius: 4px;
}
.svc-slide { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); }
.svc-slide.active { clip-path: inset(0 0 0 0); z-index: 2; }
.svc-slide.leaving { clip-path: inset(0 100% 0 0); z-index: 1; }
.svc-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 6s linear; }
.svc-slide.active img { transform: scale(1); }
.svc-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,13,31,.95) 0%, rgba(6,13,31,.3) 45%, transparent 70%); }
.svc-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 34px; }
.svc-info .ico-badge { width: 62px; height: 62px; margin-bottom: 18px; background: var(--gold-500); color: var(--navy-900); box-shadow: 0 0 0 6px rgba(201,164,92,.2); }
.svc-info .ico-badge .ico { width: 28px; height: 28px; }
.svc-info p { color: #dfe3ec; font-size: 15.5px; margin: 0 0 18px; max-width: 420px; }
.svc-info a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.svc-info a .ico { width: 16px; height: 16px; }
.svc-slide .svc-info > * { opacity: 0; transform: translateY(20px); transition: all .8s var(--ease); }
.svc-slide.active .svc-info > * { opacity: 1; transform: none; transition-delay: .55s; }
.svc-slide.active .svc-info > *:nth-child(2) { transition-delay: .68s; }
.svc-slide.active .svc-info > *:nth-child(3) { transition-delay: .8s; }
@media (max-width: 900px) {
  .svc-x .svc-wrap { grid-template-columns: 1fr; }
  .svc-stage { order: -1; max-width: 520px; width: 100%; margin: 0 auto 10px; }
  .svc-stage::before { inset: 16px -12px -16px 16px; }
}

/* ---------- Tarjetas con inclinación 3D ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .6s var(--ease); }
.tilt .glare {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,240,205,.28), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.tilt:hover .glare { opacity: 1; }

.sector .label { transform: translateZ(30px); }
.sector::before {
  content: ""; position: absolute; inset: 10px; z-index: 3; pointer-events: none;
  border: 1px solid rgba(201,164,92,0); transition: border-color .6s var(--ease), inset .6s var(--ease);
}
.sector:hover::before { border-color: rgba(201,164,92,.7); inset: 14px; }

/* ---------- Carrusel de logotipos ---------- */
.logos { padding: 20px 0 10px; display: grid; gap: 18px; }
.logo-row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; gap: 18px; width: max-content; animation: marquee 55s linear infinite; }
.logo-row.rev .logo-track { animation-direction: reverse; animation-duration: 60s; }
.logo-row:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  flex: none; width: 200px; height: 104px; background: #fff; border-radius: 6px;
  display: grid; place-items: center; padding: 14px 22px;
  border: 1px solid rgba(201,164,92,.25);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.logo-chip img { max-width: 100%; max-height: 64px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .5s, opacity .5s; mix-blend-mode: multiply; }
.logo-chip:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -20px rgba(201,164,92,.6); border-color: var(--gold-500); }
.logo-chip:hover img { filter: none; opacity: 1; }

.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-wall .logo-chip { width: auto; }
@media (max-width: 1024px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } .logo-wall .logo-chip { height: 90px; } }

/* ---------- Botones magnéticos y brillo ---------- */
.btn { will-change: transform; }
.btn-gold::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn-gold:hover::before { left: 130%; }

/* ---------- Números de sección grandes ---------- */
.eyebrow b { font-family: var(--serif); font-size: 15px; letter-spacing: .05em; color: var(--gold-400); font-weight: 600; }

/* ---------- Banda con línea animada ---------- */
.band::before {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  animation: bandLine 5s linear infinite;
}
@keyframes bandLine { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

/* ---------- Page hero premium ---------- */
.page-hero { min-height: 78vh; display: flex; align-items: center; isolation: isolate; }
.page-hero .bg img { animation: slowZoom 16s var(--ease) both; }
.page-hero .hero-grid { mask-image: radial-gradient(ellipse at 15% 60%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 15% 60%, #000 10%, transparent 65%); }
.page-hero .bg { z-index: 1; }
.page-hero .container { z-index: 3; }
.page-hero .num { z-index: 2; }
.page-hero .inner > * { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.page-hero .inner > *:nth-child(2) { animation-delay: .1s; }
.page-hero .inner > *:nth-child(3) { animation-delay: .2s; }
.page-hero .inner > *:nth-child(4) { animation-delay: .3s; }
.page-hero .inner > *:nth-child(5) { animation-delay: .4s; }
.preloading .page-hero .inner > *, .preloading .hero .fade-up { animation-play-state: paused; }

/* ---------- CTA premium ---------- */
.cta .orb {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(201,164,92,.28), transparent 65%);
  filter: blur(20px); left: 50%; top: 50%; transform: translate(-50%, -50%);
  animation: orb 9s ease-in-out infinite alternate;
}
@keyframes orb { from { transform: translate(-70%, -60%) scale(.9); } to { transform: translate(-30%, -40%) scale(1.15); } }
.cta .rings { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: grid; place-items: center; }
.cta .rings i { position: absolute; border: 1px solid rgba(201,164,92,.14); border-radius: 50%; animation: ring 8s linear infinite; }
.cta .rings i:nth-child(1) { width: 380px; height: 380px; }
.cta .rings i:nth-child(2) { width: 620px; height: 620px; animation-delay: -2.6s; }
.cta .rings i:nth-child(3) { width: 880px; height: 880px; animation-delay: -5.2s; }
@keyframes ring { 0% { transform: scale(.85); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .preloader { display: none; }
  .split-words .w > span { transform: none; }
  .img-reveal::after { display: none; }
  .img-reveal img { transform: none !important; clip-path: none !important; }
  .hero-card { opacity: 1; }
}

/* ---------- Ajustes de proporción ---------- */
.hero-logo { width: min(250px, 60vw); margin-bottom: 30px; }
.hero h1 { font-size: clamp(30px, 3.6vw, 50px); }
.hero .rule { margin: 28px 0; }
.values { margin-bottom: 34px; }
.svc-stage { max-width: 500px; width: 100%; justify-self: end; }
.logo-chip img { opacity: .9; filter: grayscale(1) contrast(1.1); }
@media (max-width: 560px) {
  .hero-logo { width: 170px; }
  .hero-eyebrow { font-size: 9.5px; letter-spacing: .14em; }
  .logo-chip { width: 150px; height: 84px; }
  .svc-tab { grid-template-columns: 44px 1fr 24px; padding: 20px 0; }
}
img { height: auto; }
.brand img, .footer-grid img, .band img.logo-mini { width: auto; }
.section, .band, .cta, .page-hero, .hero { overflow-x: clip; }
@media (min-width: 961px) {
  .hero-media { inset: 0 0 0 48%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-line { left: 48%; width: 52%; }
  .hero h1 { font-size: clamp(30px, 3.2vw, 46px); }
}
.hero-line line { stroke-dasharray: 100; stroke-dashoffset: 100; }
.hero-line { height: 100%; }

/* ---------- WhatsApp ---------- */
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.form-actions .btn { margin-top: 0; padding-left: 14px; padding-right: 14px; }
.form-actions .btn .ico { width: 18px; height: 18px; transition: none; }
.form-actions .btn:hover .ico { transform: none; }
@media (max-width: 560px) { .form-actions { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.55), 0 0 0 0 rgba(201,164,92,.5);
  animation: waPulse 2.6s 3s infinite;
  transition: transform .4s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); }
.wa-tip {
  position: absolute; right: 74px; top: 50%; transform: translate(10px, -50%);
  white-space: nowrap; background: var(--navy-800); color: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 8px 14px; font-size: 12px; letter-spacing: .08em;
  opacity: 0; pointer-events: none; transition: all .35s var(--ease);
}
.wa-tip[hidden] { display: block; }
.wa-float:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }
@keyframes waPulse { 0% { box-shadow: 0 14px 30px -10px rgba(0,0,0,.55), 0 0 0 0 rgba(201,164,92,.55); } 70%, 100% { box-shadow: 0 14px 30px -10px rgba(0,0,0,.55), 0 0 0 16px rgba(201,164,92,0); } }
.menu-open .wa-float, .preloading .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; } }
.form-actions .btn { font-size: 11.5px; letter-spacing: .1em; gap: 10px; white-space: nowrap; }
.nav .btn[aria-current="page"] { color: var(--navy-900); }

/* ---------- Modo vista previa ---------- */
.preview-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 210; height: 30px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; padding: 0 12px;
}
.preview-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-900); animation: pulse 2s infinite; flex: none; }
.site-header.has-preview { top: 30px; }
.has-preview ~ main .hero, .has-preview ~ main .page-hero { padding-top: calc(var(--header-h) + 70px); }


body:not(:has(.preview-bar)) .progress { top: 0; }
@media (max-width: 560px) { .preview-bar { font-size: 9px; letter-spacing: .12em; } }
@media (max-width: 960px) { .has-preview .nav { padding-top: 30px; } }

.page-hero.wip { min-height: 100vh; }
.wip-status {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 8px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300);
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px 9px 12px;
  background: rgba(10,21,48,.5);
}
.wip-status .spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(201,164,92,.25); border-top-color: var(--gold-500);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
