/* Sicilia Plus — agency landing
   Dark night + cyan #00e5ff + orange #ff7a45
   Unbounded / Sora — geometric display + modern tech body */

:root {
  --ink: #e8eef7;
  --ink-soft: #8b9cb8;
  --ink-muted: #6b7c94;
  --night: #070b14;
  --night-2: #0c1220;
  --surface: #111827;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.14);
  --cyan-glow: rgba(0, 229, 255, 0.28);
  --orange: #ff7a45;
  --orange-soft: rgba(255, 122, 69, 0.22);
  --line: rgba(0, 229, 255, 0.12);
  --font-brand: "Unbounded", "Segoe UI", sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --max: 68rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 78% 18%, rgba(0, 229, 255, 0.11), transparent 55%),
    radial-gradient(ellipse 45% 35% at 8% 72%, rgba(255, 122, 69, 0.08), transparent 50%),
    linear-gradient(165deg, #0a101c 0%, var(--night) 45%, #0b121f 100%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

#scene,
#scene-lite {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#scene { opacity: 0.55; }
#scene-lite {
  display: none;
  opacity: 0.7;
  z-index: 0;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}

body.scene-lite .aurora {
  opacity: 1;
}

body.scene-lite #scene {
  display: none;
}

body.scene-lite #scene-lite {
  display: block;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  will-change: transform, opacity;
}

.aurora-orb-a {
  width: min(78vw, 22rem);
  height: min(78vw, 22rem);
  top: -8%;
  right: -18%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.38), transparent 68%);
  animation: aurora-drift-a 14s ease-in-out infinite;
}

.aurora-orb-b {
  width: min(70vw, 18rem);
  height: min(70vw, 18rem);
  bottom: 12%;
  left: -22%;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.28), transparent 70%);
  animation: aurora-drift-b 18s ease-in-out infinite;
}

.aurora-orb-c {
  width: min(55vw, 14rem);
  height: min(55vw, 14rem);
  top: 42%;
  left: 38%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16), transparent 72%);
  animation: aurora-drift-c 11s ease-in-out infinite;
}

.float-spark {
  display: none;
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-glow);
  opacity: 0;
}

@keyframes aurora-drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(-12%, 18%, 0) scale(1.12); opacity: 1; }
}

@keyframes aurora-drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(18%, -14%, 0) scale(1.18); opacity: 1; }
}

@keyframes aurora-drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.45; }
  50% { transform: translate3d(-8%, 10%, 0) scale(1.2); opacity: 0.8; }
}

@keyframes brand-sheen {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.35)); }
}

@keyframes device-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(3deg) translateY(-8px); }
}

@keyframes mesh-pulse {
  0%, 100% { transform: scale(1); opacity: 0.75; box-shadow: 0 0 12px var(--cyan-glow); }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 22px var(--cyan-glow); }
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 229, 255, 0.22); }
  50% { box-shadow: 0 12px 36px rgba(0, 229, 255, 0.42), 0 0 24px rgba(255, 122, 69, 0.18); }
}

@keyframes aurora-drift-a-mobile {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
  33% { transform: translate3d(-22%, 24%, 0) scale(1.28); opacity: 1; }
  66% { transform: translate3d(10%, 12%, 0) scale(1.12); opacity: 0.85; }
}

@keyframes aurora-drift-b-mobile {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
  40% { transform: translate3d(28%, -22%, 0) scale(1.35); opacity: 1; }
  70% { transform: translate3d(8%, 10%, 0) scale(1.15); opacity: 0.8; }
}

@keyframes aurora-drift-c-mobile {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.85); opacity: 0.5; }
  50% { transform: translate3d(-18%, 16%, 0) scale(1.4); opacity: 0.95; }
}

@keyframes glass-float-a {
  0%, 100% { transform: rotateY(-8deg) translate3d(0, 0, 40px); }
  50% { transform: rotateY(-4deg) translate3d(6%, -10%, 48px); }
}

@keyframes glass-float-b {
  0%, 100% { transform: rotateY(10deg) translate3d(0, 0, 24px); }
  50% { transform: rotateY(14deg) translate3d(-8%, 12%, 32px); }
}

@keyframes spark-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate3d(12px, -28px, 0) scale(1.6); opacity: 1; }
}

@keyframes grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 42px 42px, 42px 42px; }
}

@keyframes cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 28px rgba(0, 229, 255, 0.28);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 16px 42px rgba(0, 229, 255, 0.5), 0 0 28px rgba(255, 122, 69, 0.22);
  }
}

@keyframes brand-glow {
  0%, 100% {
    filter: drop-shadow(0 0 0 transparent);
    letter-spacing: -0.045em;
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.45));
    letter-spacing: -0.03em;
  }
}

@keyframes device-float-mobile {
  0%, 100% { transform: rotateY(-10deg) rotateX(6deg) translateY(0) scale(1); }
  50% { transform: rotateY(-2deg) rotateX(2deg) translateY(-14px) scale(1.03); }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.85), transparent);
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.4s var(--ease), background 0.4s var(--ease);
}

.site-header.is-scrolled {
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.9);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 1;
}

.logo img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--cyan-glow));
}

.logo-word {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-word em {
  font-style: normal;
  font-weight: 600;
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.2vw, 1.5rem);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--ink) !important;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  border-color: rgba(0, 229, 255, 0.45);
  background: var(--cyan-soft);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    calc(var(--header-h) + 1.5rem)
    clamp(1.25rem, 5vw, 4rem)
    clamp(3.5rem, 8vh, 5rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  max-width: 34rem;
  position: relative;
  z-index: 2;
}

.brand-title {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 9vw, 5.75rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.brand-title span {
  display: inline-block;
  font-weight: 700;
  background: linear-gradient(115deg, var(--cyan) 0%, #5eefff 40%, var(--orange) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-headline {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #3ad4ff 50%, var(--orange) 130%);
  color: #061018;
  box-shadow: 0 10px 28px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(0, 229, 255, 0.32);
}

.btn-ghost {
  background: rgba(232, 238, 247, 0.04);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: var(--cyan-soft);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

/* Dominant visual — browser / UI frame */
.hero-stage {
  position: relative;
  height: min(52vh, 26rem);
  min-height: 18rem;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.device-frame {
  position: absolute;
  inset: 8% 4% 4% 8%;
  border-radius: 0.85rem;
  overflow: hidden;
  background: linear-gradient(160deg, #121a2a 0%, #0a101c 100%);
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(0, 229, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: rotateY(-12deg) rotateX(6deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.device-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid var(--line);
}

.device-chrome span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(139, 156, 184, 0.35);
}

.device-chrome span:nth-child(1) { background: rgba(255, 122, 69, 0.65); }
.device-chrome span:nth-child(2) { background: rgba(0, 229, 255, 0.45); }
.device-chrome span:nth-child(3) { background: rgba(139, 156, 184, 0.35); }

.device-url {
  margin-left: 0.65rem;
  flex: 1;
  padding: 0.25rem 0.65rem;
  border-radius: 0.35rem;
  background: rgba(7, 11, 20, 0.7);
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.device-screen {
  padding: 1rem 1.1rem 1.25rem;
  display: grid;
  gap: 0.75rem;
  height: calc(100% - 2.4rem);
}

.ui-bar {
  height: 0.35rem;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.85;
}

.ui-hero-block {
  height: 38%;
  min-height: 4.5rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.18), transparent 55%),
    linear-gradient(200deg, rgba(255, 122, 69, 0.12), transparent 50%),
    rgba(17, 24, 39, 0.9);
  border: 1px solid var(--line);
}

.ui-rows {
  display: grid;
  gap: 0.4rem;
}

.ui-rows i {
  display: block;
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(139, 156, 184, 0.28);
}

.ui-rows i:nth-child(1) { width: 88%; }
.ui-rows i:nth-child(2) { width: 72%; }
.ui-rows i:nth-child(3) { width: 56%; background: rgba(0, 229, 255, 0.25); }

.ui-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: auto;
}

.ui-metric {
  padding: 0.55rem 0.45rem;
  border-radius: 0.4rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.08);
  display: grid;
  gap: 0.35rem;
}

.ui-metric b {
  display: block;
  height: 0.45rem;
  width: 55%;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.45);
}

.ui-metric:nth-child(2) b { background: rgba(255, 122, 69, 0.55); width: 70%; }
.ui-metric:nth-child(3) b { width: 40%; }

.ui-metric em {
  display: block;
  height: 0.22rem;
  width: 80%;
  border-radius: 999px;
  background: rgba(139, 156, 184, 0.22);
  font-style: normal;
}

.glass-panel {
  position: absolute;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.08), rgba(17, 24, 39, 0.25));
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.glass-a {
  width: 34%;
  height: 28%;
  top: 0;
  right: 0;
  transform: rotateY(-8deg) translateZ(40px);
}

.glass-b {
  width: 28%;
  height: 22%;
  bottom: 6%;
  left: 0;
  background: linear-gradient(145deg, rgba(255, 122, 69, 0.1), rgba(17, 24, 39, 0.2));
  border-color: rgba(255, 122, 69, 0.18);
  transform: rotateY(10deg) translateZ(24px);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4vh, 2.25rem);
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 2.2rem;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scroll-pulse 2.2s var(--ease) infinite;
  transform-origin: top;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* —— Sections —— */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 14vh, 9rem) clamp(1.25rem, 5vw, 4rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-lede {
  margin: 0 0 3rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-more {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin: 2rem 0 0;
}

.text-link {
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}

.text-link:hover { color: #7af0ff; }

.craft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.craft-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transform-style: preserve-3d;
}

.craft-index {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--orange);
  opacity: 0.95;
  letter-spacing: -0.03em;
}

.craft-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.craft-item p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

/* Metodo — pinned mesh stage */
.section-metodo {
  padding: 0;
  min-height: 160vh;
}

.metodo-stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 72rem;
  margin: 0 auto;
}

.metodo-copy {
  position: relative;
  z-index: 2;
  max-width: 32rem;
}

.metodo-copy .section-more { margin-top: 0; }

.metodo-visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.mesh-frame {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 30%, rgba(0, 229, 255, 0.14), transparent 45%),
    radial-gradient(circle at 70% 75%, rgba(255, 122, 69, 0.1), transparent 40%),
    rgba(12, 18, 32, 0.65);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 60px rgba(0, 229, 255, 0.04);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.mesh-grid {
  position: absolute;
  inset: 12%;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
  background-size: 18% 18%;
  opacity: 0.7;
}

.mesh-node {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

.mesh-node.n1 { top: 22%; left: 28%; }
.mesh-node.n2 { top: 38%; right: 24%; background: var(--orange); box-shadow: 0 0 16px var(--orange-soft); }
.mesh-node.n3 { bottom: 28%; left: 42%; }
.mesh-node.n4 { top: 58%; left: 18%; width: 0.5rem; height: 0.5rem; opacity: 0.7; }

.mesh-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.5), rgba(255, 122, 69, 0.35));
  transform-origin: left center;
  opacity: 0.65;
}

.mesh-line.l1 {
  top: 25%;
  left: 30%;
  width: 42%;
  transform: rotate(12deg);
}

.mesh-line.l2 {
  top: 42%;
  left: 45%;
  width: 28%;
  transform: rotate(55deg);
  background: linear-gradient(90deg, rgba(255, 122, 69, 0.45), rgba(0, 229, 255, 0.3));
}

.mesh-line.l3 {
  bottom: 32%;
  left: 22%;
  width: 36%;
  transform: rotate(-18deg);
}

.mesh-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Contact */
.section-contact {
  background:
    linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5) 40%, rgba(12, 18, 32, 0.85));
}

.contact-inner { text-align: center; }

.contact-inner .section-title,
.contact-inner .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.contact-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  color: var(--ink-soft);
  font-weight: 500;
}

.contact-alt a:hover { color: var(--cyan); }

.contact-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.footer-brand {
  font-family: var(--font-brand);
  font-weight: 700;
  color: var(--ink-soft);
}

.footer-brand em {
  font-style: normal;
  font-weight: 600;
  color: var(--cyan);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-nav a:hover { color: var(--ink); }

/* Reveal defaults (JS enhances) */
.reveal {
  opacity: 1;
  transform: none;
}

body.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-scroll i { animation: none; opacity: 0.5; }
  body.js-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .device-frame {
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stage {
    height: 18rem;
    min-height: 16rem;
    max-width: 24rem;
    margin: 0 auto;
    width: 100%;
  }

  .device-frame {
    transform: rotateY(-6deg) rotateX(4deg);
  }

  .metodo-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .metodo-copy {
    margin: 0 auto;
  }

  .metodo-copy .section-title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .metodo-copy .section-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .metodo-copy .section-more {
    justify-content: center;
  }

  .mesh-frame {
    width: min(80vw, 18rem);
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) { display: none; }

  .craft-item {
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 0.85rem);
    padding-bottom: 4.5rem;
    justify-content: flex-start;
    min-height: 100svh;
  }

  .hero-layout {
    gap: 1.75rem;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .brand-title {
    font-size: clamp(2.85rem, 13.5vw, 4.2rem);
    line-height: 1.02;
    animation: brand-glow 3.8s var(--ease) infinite;
  }

  .hero-headline {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    letter-spacing: -0.03em;
  }

  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-cta .btn-primary {
    min-width: min(100%, 16rem);
    animation: cta-pulse 2.4s var(--ease) infinite;
  }

  .hero-stage {
    height: min(42vw, 17rem);
    min-height: 15rem;
    max-width: 22rem;
    will-change: transform;
  }

  .device-frame {
    inset: 6% 2% 2% 6%;
    animation: device-float-mobile 5.2s ease-in-out infinite;
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.5),
      0 0 48px rgba(0, 229, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .glass-a,
  .glass-b {
    display: block;
    opacity: 0.95;
  }

  .glass-a {
    width: 38%;
    height: 30%;
    top: -2%;
    right: -2%;
    animation: glass-float-a 5.8s ease-in-out infinite;
  }

  .glass-b {
    width: 32%;
    height: 24%;
    bottom: 2%;
    left: -4%;
    animation: glass-float-b 6.6s ease-in-out infinite;
  }

  .hero-scroll {
    display: flex;
    bottom: 1rem;
  }

  .hero-scroll i {
    animation: scroll-pulse 1.6s var(--ease) infinite;
  }

  .aurora-orb-a {
    width: min(92vw, 26rem);
    height: min(92vw, 26rem);
    opacity: 1;
    filter: blur(40px);
    animation: aurora-drift-a-mobile 9s ease-in-out infinite;
  }

  .aurora-orb-b {
    width: min(80vw, 22rem);
    height: min(80vw, 22rem);
    filter: blur(44px);
    animation: aurora-drift-b-mobile 11s ease-in-out infinite;
  }

  .aurora-orb-c {
    width: min(62vw, 16rem);
    height: min(62vw, 16rem);
    filter: blur(36px);
    animation: aurora-drift-c-mobile 7.5s ease-in-out infinite;
  }

  .float-spark {
    display: block;
    opacity: 0.7;
    animation: spark-drift 3.4s ease-in-out infinite;
  }

  .spark-a { top: 18%; left: 14%; }
  .spark-b {
    top: 58%;
    right: 12%;
    background: var(--orange);
    box-shadow: 0 0 14px var(--orange-soft);
    animation-delay: 0.8s;
    animation-duration: 4.2s;
  }
  .spark-c {
    top: 34%;
    left: 62%;
    width: 0.32rem;
    height: 0.32rem;
    animation-delay: 1.4s;
    animation-duration: 3.8s;
  }

  body::before {
    background:
      radial-gradient(ellipse 90% 55% at 82% 8%, rgba(0, 229, 255, 0.24), transparent 58%),
      radial-gradient(ellipse 70% 45% at 5% 78%, rgba(255, 122, 69, 0.16), transparent 52%),
      radial-gradient(ellipse 50% 40% at 50% 45%, rgba(0, 229, 255, 0.08), transparent 60%),
      linear-gradient(165deg, #0a101c 0%, var(--night) 45%, #0b121f 100%);
  }

  .grid-bg {
    opacity: 0.38;
    background-size: 42px 42px;
    animation: grid-drift 18s linear infinite;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 15%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 15%, transparent 78%);
  }

  .section-metodo {
    min-height: auto;
  }

  .metodo-stage {
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .mesh-frame {
    width: min(78vw, 17.5rem);
    animation: device-float-mobile 7s ease-in-out infinite;
  }

  .mesh-node {
    animation: mesh-pulse 2.2s ease-in-out infinite;
  }

  .mesh-node.n2 { animation-delay: 0.35s; }
  .mesh-node.n3 { animation-delay: 0.7s; }
  .mesh-node.n4 { animation-delay: 1.05s; }

  .mesh-line {
    animation: mesh-pulse 3.2s ease-in-out infinite;
    transform-origin: left center;
  }

  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-stage {
    height: 14.5rem;
    min-height: 13.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .aurora,
  .aurora-orb,
  .float-spark,
  .brand-title,
  .hero-cta .btn-primary,
  .device-frame,
  .mesh-frame,
  .mesh-node,
  .mesh-line,
  .glass-a,
  .glass-b,
  .grid-bg,
  .hero-scroll i {
    animation: none !important;
  }

  .aurora { opacity: 0.55; }
  .float-spark { display: none; }
  #scene-lite { display: none; }
}

body.sp-landing-3d #wpadminbar { display: none !important; }
html.sp-landing-3d { margin-top: 0 !important; }
