@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #05070a;
  --bg-2: #07101a;
  --bg-3: #0d1621;
  --card: rgba(13, 22, 33, 0.74);
  --card-strong: rgba(18, 28, 40, 0.92);
  --text: #f6f1e8;
  --muted: #a7b1bd;
  --muted-2: #747f8f;
  --champagne: #c9b89a;
  --champagne-2: #f0dfbc;
  --blue-accent: #88b6d8;
  --line: rgba(201, 184, 154, 0.17);
  --line-strong: rgba(201, 184, 154, 0.34);
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.55);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% -24%, rgba(201, 184, 154, 0.13), transparent 34rem),
    radial-gradient(circle at 85% 18%, rgba(91, 129, 160, 0.16), transparent 32rem),
    linear-gradient(180deg, #05070a 0%, #07101a 38%, #05070a 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: #10151c;
  background: var(--champagne);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(201,184,154,.11), transparent 22rem),
    #000;
  animation: loaderExit .9s var(--ease) 1.05s forwards;
}

.loader-logo {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,184,154,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  animation: loaderPulse 1s ease-in-out infinite alternate;
}

.loader-logo img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes loaderPulse {
  from {
    transform: scale(.96);
    box-shadow: 0 0 0 0 rgba(201,184,154,.22);
  }
  to {
    transform: scale(1.03);
    box-shadow: 0 0 0 14px rgba(201,184,154,0);
  }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  z-index: 320;
  background: linear-gradient(90deg, var(--champagne), var(--blue-accent), var(--champagne-2));
  box-shadow: 0 0 22px rgba(201, 184, 154, 0.48);
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 28rem;
  height: 28rem;
  z-index: -1;
  opacity: 0;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(201, 184, 154, 0.11), transparent 64%);
  transition: opacity .25s ease;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.045;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.global-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .5;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-one {
  width: 28rem;
  height: 28rem;
  top: 5rem;
  right: -8rem;
  background: rgba(201, 184, 154, 0.14);
}

.orb-two {
  width: 34rem;
  height: 34rem;
  bottom: 6rem;
  left: -13rem;
  background: rgba(47, 74, 105, 0.30);
  animation-delay: -4s;
}

.orb-three {
  width: 22rem;
  height: 22rem;
  top: 45%;
  right: 18%;
  background: rgba(109, 89, 58, 0.12);
  animation-delay: -7s;
}

.vertical-glow {
  position: absolute;
  width: 1px;
  height: 145vh;
  top: -20vh;
  background: linear-gradient(180deg, transparent, rgba(201,184,154,.24), transparent);
  opacity: .36;
  animation: filmLine 8s linear infinite;
}

.vg-one {
  left: 18%;
}

.vg-two {
  right: 22%;
  animation-delay: -4s;
}

@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2rem, -2rem, 0) scale(1.08); }
}

@keyframes filmLine {
  from { transform: translateY(-20%); opacity: .05; }
  50% { opacity: .34; }
  to { transform: translateY(20%); opacity: .05; }
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 7rem 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  border-bottom: 1px solid rgba(201, 184, 154, 0.08);
  background: rgba(5, 7, 10, 0.38);
  backdrop-filter: blur(24px);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 10, 0.80);
  border-bottom-color: rgba(201, 184, 154, 0.14);
}

.navbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  min-width: 176px;
  height: 58px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem;
  border: 1px solid rgba(201, 184, 154, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}

.nav-links a {
  position: relative;
  padding: .65rem .9rem;
  border-radius: 999px;
  color: rgba(246,241,232,.78);
  font-size: .87rem;
  transition: color .25s ease, background .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--champagne);
  background: rgba(201,184,154,.07);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--text);
  transition: transform .3s ease;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 8.5rem 0 3rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #05070a;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: -1;
  background: url("./assets/hero-mateo-ginocchio-21-9.jpg") center / cover no-repeat;
  filter: blur(26px);
  opacity: .46;
  transform: scale(1.08);
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  animation: heroImageReveal 1.25s var(--ease) .2s both;
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: translateX(34px);
    filter: blur(18px) saturate(.85);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0) saturate(1);
  }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,10,.98) 0%, rgba(5,7,10,.93) 21%, rgba(5,7,10,.68) 43%, rgba(5,7,10,.14) 72%, rgba(5,7,10,.20) 100%),
    linear-gradient(180deg, rgba(5,7,10,.88) 0%, rgba(5,7,10,.10) 34%, rgba(5,7,10,.86) 100%),
    radial-gradient(circle at 78% 32%, rgba(201,184,154,.14), transparent 28rem);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 75% 45%, transparent 0 21rem, rgba(5,7,10,.10) 31rem, rgba(5,7,10,.76) 100%),
    radial-gradient(circle at 16% 42%, rgba(201,184,154,.11), transparent 29rem);
}

.hero-texture {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: .075;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 100% 5px;
  mix-blend-mode: overlay;
  animation: scanlineMove 7s linear infinite;
}

@keyframes scanlineMove {
  to { background-position: 0 100px; }
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.cinema-line {
  position: absolute;
  left: 2.5vw;
  right: 2.5vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,184,154,.4), transparent);
  animation: lineBreath 4.8s ease-in-out infinite;
}

.cinema-top {
  top: 15%;
}

.cinema-bottom {
  bottom: 11%;
  animation-delay: -2.4s;
}

@keyframes lineBreath {
  0%, 100% { opacity: .13; transform: scaleX(.86); }
  50% { opacity: .62; transform: scaleX(1); }
}

.focus-ring {
  position: absolute;
  right: 8%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(201,184,154,.12);
  transform: translateY(-50%);
  animation: focusRotate 28s linear infinite;
}

.focus-one {
  width: 650px;
  height: 650px;
}

.focus-two {
  width: 480px;
  height: 480px;
  border-style: dashed;
  border-color: rgba(136,182,216,.12);
  animation-direction: reverse;
  animation-duration: 22s;
}

@keyframes focusRotate {
  to { transform: translateY(-50%) rotate(360deg); }
}

.sweep-light {
  position: absolute;
  inset: -20% auto -20% -36%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
  transform: skewX(-15deg);
  animation: sweep 7.2s ease-in-out 2.2s infinite;
}

@keyframes sweep {
  0%, 55%, 100% { transform: translateX(0) skewX(-15deg); opacity: 0; }
  68% { opacity: .8; }
  90% { transform: translateX(360%) skewX(-15deg); opacity: 0; }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image:
    linear-gradient(rgba(201,184,154,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,184,154,.16) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 72% 44%, black, transparent 72%);
  animation: gridDrift 18s linear infinite;
}

@keyframes gridDrift {
  to { background-position: 74px 74px; }
}

.hero-inner {
  position: relative;
  z-index: 4;
}

.hero-content {
  width: min(100%, 720px);
}


.hero-name {
  margin-bottom: .75rem;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-main-name {
  position: relative;
  max-width: 760px;
  font-size: clamp(3.4rem, 6.4vw, 6.9rem);
  line-height: 1.08;
  letter-spacing: .028em;
  word-spacing: .24em;
  text-wrap: balance;
  color: transparent;
  background:
    linear-gradient(100deg, #fff7e9 0%, var(--champagne-2) 28%, #ffffff 48%, var(--champagne) 76%, #d3e9ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 18px 62px rgba(0,0,0,.42);
  animation: nameGradientShift 6s ease-in-out 1.1s infinite alternate;
}

.hero-service {
  position: relative;
  max-width: 680px;
  margin-top: .2rem;
  color: var(--champagne);
  font-size: clamp(.95rem, 1.45vw, 1.28rem);
  line-height: 1.34;
  letter-spacing: .055em;
  word-spacing: .18em;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-service::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.52rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--champagne), transparent);
  animation: heroRuleIn 1s var(--ease) .8s forwards;
}

.hero-hook {
  max-width: 590px;
  margin-top: 1.05rem;
  color: rgba(246,241,232,.88);
  font-size: clamp(.96rem, 1.25vw, 1.12rem);
  line-height: 1.52;
  letter-spacing: .01em;
  word-spacing: .12em;
  font-weight: 650;
}

.hero-main-name .word {
  display: inline-block;
  margin-right: .26em;
  opacity: 0;
  transform: translate3d(0, 85%, 0) rotateX(-55deg) scale(.98);
  transform-origin: left bottom;
  filter: blur(10px);
  animation: heroWordIn .9s var(--ease) forwards;
  animation-delay: calc(240ms + var(--i) * 120ms);
}

.hero-main-name .word:last-child {
  margin-right: 0;
}

.hero-main-name::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  width: 46%;
  height: 86%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.34) 45%, transparent 70%);
  transform: translateX(-130%) skewX(-18deg);
  animation: heroNameShine 5.2s ease-in-out 1.8s infinite;
  mix-blend-mode: screen;
}

.hero-title .word,
.split-title .word {
  display: inline-block;
  margin-right: .22em;
  opacity: 0;
  transform: translateY(95%) rotateX(-42deg);
  transform-origin: left bottom;
  animation: wordIn .78s var(--ease) forwards;
  animation-delay: calc(520ms + var(--i) * 48ms);
}

.hero-title .word:last-child,
.split-title .word:last-child {
  margin-right: 0;
}

@keyframes heroWordIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 85%, 0) rotateX(-55deg) scale(.98);
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroNameShine {
  0%, 58%, 100% {
    transform: translateX(-130%) skewX(-18deg);
    opacity: 0;
  }
  70% {
    opacity: .64;
  }
  90% {
    transform: translateX(210%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes nameGradientShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.hero-subtitle {
  max-width: 610px;
  margin-top: .85rem;
  color: rgba(246,241,232,.76);
  font-size: clamp(.95rem, 1.15vw, 1.04rem);
  line-height: 1.58;
  word-spacing: .08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.9rem;
}

.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn-primary {
  color: #10151c;
  background: linear-gradient(135deg, var(--champagne-2), var(--champagne));
  box-shadow: 0 20px 55px rgba(201,184,154,.2);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.btn:hover {
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .68rem;
  margin-top: 1.45rem;
}

.hero-proof-card {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: .82rem;
  border: 1px solid rgba(201,184,154,.13);
  border-radius: 18px;
  background: rgba(8,14,21,.46);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.hero-proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201,184,154,.18), transparent 10rem);
  transition: opacity .25s ease;
}

.hero-proof-card:hover::before {
  opacity: 1;
}

.hero-proof-card span {
  display: block;
  color: var(--champagne);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.hero-proof-card strong {
  position: relative;
  display: block;
  margin-top: 1.5rem;
  color: rgba(246,241,232,.92);
  font-size: .92rem;
}

.hero-proof-card p {
  position: relative;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.hero-floating-panel {
  position: absolute;
  right: min(4vw, 5rem);
  bottom: 14%;
  z-index: 5;
  display: grid;
  gap: .15rem;
  min-width: 270px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(201,184,154,.18);
  border-radius: 20px;
  background: rgba(8, 14, 21, .62);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
  will-change: transform;
}

.hero-floating-panel span {
  color: var(--champagne);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-floating-panel strong {
  color: rgba(246,241,232,.86);
  font-size: .9rem;
}

.hero-scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 4.8rem);
  bottom: 2.2rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--muted-2);
  font-size: .82rem;
  transform: none;
  padding: .55rem .75rem;
  border: 1px solid rgba(201,184,154,.13);
  border-radius: 999px;
  background: rgba(8,14,21,.42);
  backdrop-filter: blur(14px);
}

.hero-scroll span {
  position: relative;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(201,184,154,.22);
  border-radius: 999px;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--champagne);
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}

@keyframes heroRuleIn {
  to { width: min(330px, 70%); }
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%, 18px); opacity: 0; }
}

/* REST OF SITE */
.marquee-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(201,184,154,.12);
  background: rgba(255,255,255,.018);
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  min-width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding: 1rem 2rem;
  color: rgba(246,241,232,.55);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  white-space: nowrap;
}

.marquee-track span:nth-child(2n) {
  color: var(--champagne);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: .18em;
  word-spacing: .18em;
  font-size: .74rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5rem);
  font-weight: 900;
  word-spacing: .10em;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.section-heading {
  max-width: 770px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.intro-content p,
.process-sticky p,
.work-card p,
.contact-copy p {
  margin-top: 1.2rem;
  color: rgba(246,241,232,.72);
  font-size: 1.03rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(201,184,154,.16);
  background: rgba(255,255,255,.025);
  box-shadow: 0 30px 100px rgba(0,0,0,.35);
  isolation: isolate;
}

.about-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 62%, rgba(5,7,10,.26)),
    radial-gradient(circle at 34% 18%, rgba(201,184,154,.16), transparent 16rem);
}

.about-photo-card::after {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 24px;
}

.about-photo-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}

.about-photo-card:hover img {
  transform: scale(1.035);
  filter: contrast(1.04) saturate(1.02);
}

.about-copy {
  min-width: 0;
}

.about-heading {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.about-heading h2 {
  font-size: clamp(1.85rem, 3.25vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -.03em;
  word-spacing: .08em;
}

.glass-card,
.solution-card,
.service-panel,
.project-row,
.work-card,
.contact-panel,
.process-step {
  position: relative;
  border: 1px solid rgba(201,184,154,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    rgba(13,22,33,.72);
  box-shadow: 0 24px 90px rgba(0,0,0,.22);
}

.intro-content {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.intro-content p + p {
  margin-top: 1rem;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-top: 2rem;
}

.mini-stats div {
  padding: 1.1rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 18px;
  background: rgba(13,22,33,.64);
}

.mini-stats strong {
  display: block;
  color: var(--champagne);
  font-size: 2rem;
  line-height: 1;
}

.mini-stats span {
  display: block;
  margin-top: .55rem;
  color: var(--muted);
  font-size: .78rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}

.solution-card {
  min-height: 260px;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
}

.solution-card::after,
.service-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201,184,154,.17), transparent 13rem);
  transition: opacity .25s ease;
}

.solution-card:hover::after,
.service-panel:hover::after {
  opacity: 1;
}

.icon-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 3.6rem;
  border: 1px solid rgba(201,184,154,.22);
  border-radius: 50%;
  color: var(--champagne);
  font-size: 1.2rem;
  background: rgba(201,184,154,.06);
}

.solution-card p {
  margin-top: .9rem;
  color: var(--muted);
}

.services-layout {
  display: grid;
  grid-template-columns: .92fr 1.16fr .92fr;
  gap: 1rem;
  margin-top: 3rem;
  align-items: stretch;
}

.service-panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
}

.service-panel.featured {
  background:
    radial-gradient(circle at top, rgba(201,184,154,.14), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    rgba(16, 25, 37, .86);
  border-color: rgba(201,184,154,.24);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  color: var(--champagne);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.service-panel p {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  color: var(--muted);
}

.service-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .65rem;
  margin-top: auto;
  padding-top: 2rem;
}

.service-list span {
  padding: .72rem .85rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 14px;
  color: rgba(246,241,232,.78);
  background: rgba(255,255,255,.025);
  font-size: .86rem;
}

.process-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.process-sticky {
  position: sticky;
  top: 120px;
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -45px;
  top: -45px;
  border-radius: 50%;
  background: rgba(201,184,154,.08);
  filter: blur(3px);
}

.process-step span {
  color: var(--champagne);
  letter-spacing: .18em;
  font-size: .78rem;
}

.process-step p {
  margin-top: .55rem;
  color: var(--muted);
}

.project-showcase {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.project-row {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: .85rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.project-row:nth-child(even) {
  grid-template-columns: 1fr .9fr;
}

.project-row:nth-child(even) .project-visual {
  order: 2;
}

.project-visual {
  min-height: 350px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(201,184,154,.12);
  background:
    linear-gradient(135deg, rgba(201,184,154,.17), transparent 40%),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.08), transparent 14rem),
    rgba(255,255,255,.025);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 20px;
}

.project-visual::after {
  content: "";
  position: absolute;
  width: 180%;
  height: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: rotate(-18deg);
  animation: scanProject 4.5s ease-in-out infinite;
}

@keyframes scanProject {
  0%, 100% { transform: translateY(-180%) rotate(-18deg); opacity: 0; }
  45%, 55% { opacity: 1; }
  100% { transform: translateY(180%) rotate(-18deg); opacity: 0; }
}

.project-visual span {
  z-index: 2;
  color: var(--muted);
  border: 1px dashed rgba(201,184,154,.25);
  border-radius: 999px;
  padding: .65rem .9rem;
  background: rgba(5,7,10,.38);
  backdrop-filter: blur(10px);
}

.placeholder-lines {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  gap: .55rem;
}

.placeholder-lines i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(201,184,154,.12);
}

.placeholder-lines i:nth-child(2) {
  width: 65%;
}

.placeholder-lines i:nth-child(3) {
  width: 42%;
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.project-type {
  margin-bottom: 1rem;
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 800;
}

.project-info p:not(.project-type) {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 520px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.tags span {
  padding: .5rem .75rem;
  border: 1px solid rgba(201,184,154,.15);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: .78rem;
}

.work-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  padding: clamp(1.6rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(201,184,154,.13), transparent 26rem),
    rgba(13,22,33,.72);
}

.work-card .muted {
  color: var(--muted-2);
}

.contact-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2rem;
  padding: clamp(1.6rem, 5vw, 4rem);
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(201,184,154,.15), transparent 25rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(13,22,33,.78);
}

.contact-links {
  display: grid;
  gap: .85rem;
}

.contact-links a,
.contact-links div {
  display: grid;
  gap: .2rem;
  padding: 1rem;
  border: 1px solid rgba(201,184,154,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.contact-links a:hover {
  border-color: rgba(201,184,154,.36);
  background: rgba(201,184,154,.06);
}

.contact-links span {
  color: var(--muted-2);
  font-size: .78rem;
}

.contact-links strong {
  color: rgba(246,241,232,.86);
  font-size: .95rem;
  overflow-wrap: anywhere;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(201,184,154,.1);
  color: var(--muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 1rem;
  font-size: .88rem;
}

.footer-brand img {
  width: 160px;
  height: auto;
  background: transparent;
  object-fit: contain;
}

.footer a {
  color: var(--champagne);
}

/* Animation helpers */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease),
    filter .9s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.magnetic {
  will-change: transform;
}

.tilt-card,
.hero-proof-card {
  will-change: transform;
}

/* Responsive */
@media (max-width: 1080px) {
  .section {
    padding: 5.5rem 0;
  }

  .about-layout,
  .solution-grid,
  .services-layout,
  .process-grid,
  .work-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .process-sticky {
    position: static;
  }

  .service-panel {
    min-height: auto;
  }

  .project-row,
  .project-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project-row:nth-child(even) .project-visual {
    order: initial;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-main-name,
  .hero-title {
    max-width: 680px;
  }

  .hero-floating-panel,
  .focus-ring {
    display: none;
  }
}

@media (max-width: 720px) {
  .about-layout {
    gap: 2rem;
  }

  .about-media {
    max-width: 420px;
    margin-inline: auto;
  }

  .about-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }


  .navbar {
    min-height: 76px;
  }

  .brand {
    width: 138px;
    min-width: 138px;
    height: 46px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 250;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 76px 1rem auto 1rem;
    display: grid;
    gap: .3rem;
    padding: .7rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(8, 14, 21, .96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 7.2rem 0 4.8rem;
  }

  .hero-bg-image {
    object-fit: contain;
    object-position: center;
  }

  .hero-gradient {
    background:
      linear-gradient(90deg, rgba(5,7,10,.98) 0%, rgba(5,7,10,.92) 54%, rgba(5,7,10,.62) 100%),
      linear-gradient(180deg, rgba(5,7,10,.90) 0%, rgba(5,7,10,.34) 36%, rgba(5,7,10,.93) 100%);
  }

  .hero-name {
    letter-spacing: .02em;
    word-spacing: .14em;
  }

  .hero-main-name {
    font-size: clamp(2.8rem, 12.2vw, 4.75rem);
    line-height: 1.1;
    letter-spacing: .016em;
    word-spacing: .14em;
  }

  .hero-service {
    font-size: clamp(.88rem, 4.2vw, 1.08rem);
    line-height: 1.38;
    word-spacing: .10em;
  }

  .hero-hook {
    font-size: clamp(.92rem, 3.8vw, 1.04rem);
    line-height: 1.52;
    word-spacing: .08em;
  }

  .hero-subtitle {
    line-height: 1.6;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    display: none;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 270px;
  }

  .process-step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 1.1rem, var(--max));
  }

  .intro-content,
  .service-panel,
  .project-row,
  .work-card,
  .contact-panel {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .page-loader {
    display: none;
  }

  .reveal,
  .word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-main-name::after {
    display: none;
  }
}


/* Safety fallback: if JavaScript has an unexpected error, sections do not remain invisible forever. */
@keyframes revealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal {
  animation: revealFallback .001s linear 1.4s forwards;
}



/* =========================
   HERO V11 - rebuild inspired by reference
   ========================= */
.hero.hero-v11 {
  min-height: 100svh;
  padding: 7.8rem 0 2.8rem;
  align-items: stretch;
}

.hero-v11 .hero-media {
  place-items: stretch;
}

.hero-v11 .hero-media::before {
  inset: 0;
  background: url("./assets/hero-mateo-ginocchio-21-9.jpg") center / cover no-repeat;
  filter: blur(34px);
  opacity: .24;
  transform: scale(1.08);
}

.hero-v11 .hero-bg-image {
  object-fit: cover;
  object-position: 68% center;
  width: 100%;
  height: 100%;
  animation: heroImageRevealV11 1.2s var(--ease) .15s both;
}

@keyframes heroImageRevealV11 {
  from {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(16px) saturate(.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1);
  }
}

.hero-v11 .hero-gradient {
  background:
    linear-gradient(90deg, rgba(5,7,10,.96) 0%, rgba(5,7,10,.90) 18%, rgba(5,7,10,.70) 39%, rgba(5,7,10,.28) 57%, rgba(5,7,10,.16) 78%, rgba(5,7,10,.28) 100%),
    linear-gradient(180deg, rgba(5,7,10,.82) 0%, rgba(5,7,10,.06) 32%, rgba(5,7,10,.84) 100%),
    radial-gradient(circle at 84% 24%, rgba(201,184,154,.10), transparent 24rem);
}

.hero-v11 .hero-vignette {
  background:
    radial-gradient(circle at 76% 44%, transparent 0 17rem, rgba(5,7,10,.10) 25rem, rgba(5,7,10,.70) 100%),
    radial-gradient(circle at 14% 30%, rgba(82,123,181,.10), transparent 26rem);
}

.hero-v11 .hero-inner {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 10.6rem);
}

.hero-content.hero-content-v11 {
  width: min(100%, 730px);
  padding-block: 3rem 2rem;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
  color: rgba(246,241,232,.72);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-location::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--champagne), transparent);
  opacity: .8;
}

.hero-v11 .hero-main-name {
  max-width: 900px;
  font-size: clamp(4.2rem, 8.6vw, 8rem);
  line-height: .92;
  letter-spacing: .01em;
  word-spacing: .16em;
  margin: 0;
  text-shadow: 0 16px 56px rgba(0,0,0,.34);
}

.hero-v11 .hero-main-name .word {
  margin-right: .16em;
  animation: heroWordInV11 .88s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: calc(180ms + var(--i) * 120ms);
}

.hero-v11 .hero-main-name .word:last-child {
  margin-right: 0;
}

@keyframes heroWordInV11 {
  0% {
    opacity: 0;
    transform: translate3d(0, 90%, 0) scale(.98);
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.hero-v11 .hero-service {
  max-width: 620px;
  margin-top: 1rem;
  color: #ffffff;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  word-spacing: .10em;
  font-weight: 900;
  text-transform: none;
}

.hero-v11 .hero-service::before {
  display: none;
}

.hero-v11 .hero-hook {
  max-width: 620px;
  margin-top: 1rem;
  color: rgba(246,241,232,.92);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .01em;
  word-spacing: .08em;
}

.hero-v11 .hero-subtitle {
  max-width: 620px;
  margin-top: .75rem;
  color: rgba(246,241,232,.76);
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.7;
}

.hero-v11 .hero-actions {
  gap: .9rem;
  margin-top: 1.7rem;
}

.hero-v11 .btn {
  min-height: 54px;
  padding: 0 1.25rem;
  font-size: .9rem;
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.9rem;
}

.hero-social a {
  position: relative;
  color: rgba(246,241,232,.75);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.hero-social a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,184,154,.75), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}

.hero-social a:hover {
  color: var(--text);
}

.hero-social a:hover::after {
  transform: scaleX(1);
}

.hero-outline-word {
  position: absolute;
  inset: 50% auto auto 1.2%;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.05);
  font-size: clamp(8rem, 24vw, 20rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: .82;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  opacity: .95;
}

.hero-v11 .focus-one {
  width: min(42vw, 760px);
  height: min(42vw, 760px);
  right: 5%;
}

.hero-v11 .focus-two {
  width: min(30vw, 560px);
  height: min(30vw, 560px);
  right: 10%;
}

.hero-v11 .sweep-light {
  width: 34%;
  inset: -20% auto -20% -28%;
}

.hero-v11 .hero-scroll {
  right: 1.6rem;
  bottom: 1.8rem;
}

@media (max-width: 1100px) {
  .hero-v11 .hero-main-name {
    font-size: clamp(3.8rem, 8vw, 6.4rem);
  }

  .hero-outline-word {
    font-size: clamp(7rem, 21vw, 15rem);
    inset-inline-start: 0;
  }

  .hero-v11 .hero-bg-image {
    object-position: 72% center;
  }
}

@media (max-width: 900px) {
  .hero-v11 .hero-gradient {
    background:
      linear-gradient(180deg, rgba(5,7,10,.80) 0%, rgba(5,7,10,.34) 42%, rgba(5,7,10,.94) 100%),
      linear-gradient(90deg, rgba(5,7,10,.94) 0%, rgba(5,7,10,.66) 34%, rgba(5,7,10,.25) 100%);
  }

  .hero-v11 .hero-inner {
    align-items: end;
  }

  .hero-v11 .hero-bg-image {
    object-position: 64% center;
  }

  .hero-content.hero-content-v11 {
    width: min(100%, 100%);
    padding-bottom: 3.5rem;
  }

  .hero-v11 .hero-main-name {
    max-width: 100%;
    font-size: clamp(3.1rem, 10.8vw, 5.2rem);
  }

  .hero-v11 .hero-service {
    font-size: clamp(1.12rem, 4vw, 1.5rem);
  }

  .hero-outline-word {
    inset: auto auto 16% 0;
    transform: none;
    font-size: clamp(6rem, 24vw, 10rem);
  }

  .hero-v11 .focus-one,
  .hero-v11 .focus-two {
    opacity: .4;
  }
}

@media (max-width: 720px) {
  .hero.hero-v11 {
    padding: 7rem 0 2rem;
  }

  .hero-v11 .hero-inner {
    min-height: calc(100svh - 9rem);
  }

  .hero-content.hero-content-v11 {
    padding-top: 2.8rem;
    padding-bottom: 3.7rem;
  }

  .hero-location {
    font-size: .68rem;
    letter-spacing: .16em;
    gap: .55rem;
    margin-bottom: .9rem;
  }

  .hero-location::before {
    width: 30px;
  }

  .hero-v11 .hero-main-name {
    font-size: clamp(2.65rem, 13vw, 4.15rem);
    line-height: .96;
    word-spacing: .12em;
  }

  .hero-v11 .hero-service {
    margin-top: .75rem;
    font-size: clamp(1rem, 5vw, 1.26rem);
    line-height: 1.12;
  }

  .hero-v11 .hero-hook {
    margin-top: .8rem;
    font-size: .98rem;
  }

  .hero-v11 .hero-subtitle {
    font-size: .95rem;
    line-height: 1.62;
  }

  .hero-v11 .hero-actions {
    margin-top: 1.25rem;
  }

  .hero-social {
    gap: .95rem;
    margin-top: 1.45rem;
  }

  .hero-social a {
    font-size: .74rem;
    letter-spacing: .13em;
  }

  .hero-outline-word {
    display: none;
  }

  .hero-v11 .hero-scroll {
    right: 1rem;
    bottom: 1rem;
    padding: .45rem .6rem;
  }
}


/* =========================
   HERO V12 - visible title fix
   ========================= */

/* 
  Corrección crítica:
  El título antes dependía de color: transparent + background-clip.
  Al dividir el texto en spans, eso podía dejar el nombre invisible.
  Ahora el color es real y la animación es una aparición progresiva.
*/
.hero-v11 .hero-main-name,
.hero-main-name {
  color: #f6f1e8 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #f6f1e8 !important;
  text-shadow:
    0 18px 56px rgba(0,0,0,.48),
    0 0 34px rgba(201,184,154,.08) !important;
  animation: none !important;
}

/* Quita la animación de iluminación anterior */
.hero-main-name::after,
.hero-v11 .hero-main-name::after {
  display: none !important;
  content: none !important;
}

/* Aparición progresiva premium */
.hero-main-name .word,
.hero-v11 .hero-main-name .word {
  display: inline-block;
  color: #f6f1e8 !important;
  -webkit-text-fill-color: #f6f1e8 !important;
  margin-right: .16em;
  opacity: 0;
  transform: translate3d(0, 1.1em, 0) rotateX(-68deg) scale(.96);
  transform-origin: left bottom;
  filter: blur(14px);
  clip-path: inset(0 0 100% 0);
  animation: heroNameProgressiveRevealV12 1.05s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(180ms + var(--i) * 155ms);
  will-change: transform, opacity, filter, clip-path;
}

.hero-main-name .word:last-child,
.hero-v11 .hero-main-name .word:last-child {
  margin-right: 0;
}

@keyframes heroNameProgressiveRevealV12 {
  0% {
    opacity: 0;
    transform: translate3d(0, 1.1em, 0) rotateX(-68deg) scale(.96);
    filter: blur(14px);
    clip-path: inset(0 0 100% 0);
  }

  55% {
    opacity: 1;
    filter: blur(3px);
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
  }
}

}

/* Asegura que el nombre no quede tapado por capas decorativas */
.hero-v11 .hero-content,
.hero-v11 .hero-main-name,
.hero-v11 .hero-main-name .word {
  position: relative;
  z-index: 8;
}

/* Fallback: si JavaScript no divide el texto, igual se ve */
.hero-main-name:not(.is-split),
.hero-main-name:not(.is-split) .word {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}

/* Orden de capas más seguro */
.hero-v11 .hero-outline-word {
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-main-name .word,
  .hero-v11 .hero-main-name .word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .hero-v11 .hero-main-name::before {
    animation: none !important;
    transform: scaleX(1) !important;
  }
}


/* =========================
   HERO V13 - sin fondo rectangular y animación global
   ========================= */

/* Elimina cualquier pseudo-capa que pueda formar un rectángulo detrás del texto */
.hero-v11 .hero-content::before,
.hero-v11 .hero-content-v11::before,
.hero-content::before,
.hero-content-v11::before {
  display: none !important;
  content: none !important;
  background: transparent !important;
}

/* El nombre queda visible sin brillo ni animación individual extra */
.hero-v11 .hero-main-name,
.hero-main-name {
  color: #f6f1e8 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #f6f1e8 !important;
  animation: none !important;
  text-shadow: 0 18px 56px rgba(0,0,0,.48) !important;
}

.hero-v11 .hero-main-name::before,
.hero-v11 .hero-main-name::after,
.hero-main-name::before,
.hero-main-name::after {
  display: none !important;
  content: none !important;
}

/* Sin animación aparte en las palabras del nombre */
.hero-v11 .hero-main-name .word,
.hero-main-name .word {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  animation: none !important;
  color: #f6f1e8 !important;
  -webkit-text-fill-color: #f6f1e8 !important;
  display: inline-block;
  margin-right: .16em;
}

.hero-v11 .hero-main-name .word:last-child,
.hero-main-name .word:last-child {
  margin-right: 0;
}

/* Animación global para todo el contenido del hero, no solo el nombre */
.hero-v11 .hero-content-v11 {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.985);
  filter: blur(14px);
  animation: heroFullContentRevealV13 1.15s cubic-bezier(.16,1,.3,1) .24s forwards;
  will-change: opacity, transform, filter;
}

@keyframes heroFullContentRevealV13 {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(.985);
    filter: blur(14px);
  }

  58% {
    opacity: 1;
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* Secuencia sutil para los elementos internos, pero sin tocar el nombre con efectos raros */
.hero-v11 .hero-location,
.hero-v11 .hero-service,
.hero-v11 .hero-hook,
.hero-v11 .hero-subtitle,
.hero-v11 .hero-actions,
.hero-v11 .hero-social {
  will-change: transform, opacity, filter;
}

/* La imagen y overlays siguen siendo los que dan el look cinematográfico */
.hero-v11 .hero-gradient {
  background:
    linear-gradient(90deg, rgba(5,7,10,.94) 0%, rgba(5,7,10,.86) 18%, rgba(5,7,10,.58) 39%, rgba(5,7,10,.22) 57%, rgba(5,7,10,.13) 78%, rgba(5,7,10,.26) 100%),
    linear-gradient(180deg, rgba(5,7,10,.82) 0%, rgba(5,7,10,.06) 32%, rgba(5,7,10,.84) 100%),
    radial-gradient(circle at 84% 24%, rgba(201,184,154,.10), transparent 24rem);
}

@media (prefers-reduced-motion: reduce) {
  .hero-v11 .hero-content-v11 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* =========================
   SOBRE MÍ V14
   ========================= */
.about-section {
  padding: clamp(5.5rem, 8vw, 8rem) 0;
  overflow: hidden;
}

.about-v14-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-v14-media {
  position: relative;
}

.about-v14-photo {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(201,184,154,.16);
  background: rgba(255,255,255,.025);
  box-shadow: 0 34px 110px rgba(0,0,0,.38);
  isolation: isolate;
}

.about-v14-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(5,7,10,.28)),
    radial-gradient(circle at 34% 20%, rgba(201,184,154,.13), transparent 16rem);
}

.about-v14-photo::after {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 24px;
}

.about-v14-photo img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}

.about-v14-photo:hover img {
  transform: scale(1.035);
  filter: contrast(1.04) saturate(1.02);
}

.about-v14-content {
  min-width: 0;
}

.about-v14-heading {
  max-width: 920px;
  margin-bottom: 1.45rem;
}

.about-v14-heading h2 {
  max-width: 920px;
  font-size: clamp(2.25rem, 4.25vw, 4.45rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  word-spacing: .08em;
  text-wrap: balance;
}

.about-v14-bio {
  max-width: 880px;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 1px solid rgba(201,184,154,.13);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.014)),
    rgba(13,22,33,.66);
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}

.about-v14-bio p {
  color: rgba(246,241,232,.76);
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.72;
  margin: 0;
}

.about-v14-bio p + p {
  margin-top: .95rem;
}

.about-v14-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-top: 1rem;
  max-width: 880px;
}

.about-v14-points article {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 1rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.025);
}

.about-v14-points article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 30% 10%, rgba(201,184,154,.12), transparent 12rem);
  transition: opacity .25s ease;
}

.about-v14-points article:hover::before {
  opacity: 1;
}

.about-v14-points span,
.about-v14-points strong,
.about-v14-points p {
  position: relative;
  z-index: 1;
}

.about-v14-points span {
  display: block;
  color: var(--champagne);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.about-v14-points strong {
  display: block;
  margin-top: 1.1rem;
  color: rgba(246,241,232,.92);
  font-size: .95rem;
}

.about-v14-points p {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .about-v14-layout {
    grid-template-columns: 1fr;
  }

  .about-v14-media {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .about-v14-heading,
  .about-v14-heading h2,
  .about-v14-bio,
  .about-v14-points {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .about-section {
    padding: 5rem 0;
  }

  .about-v14-layout {
    gap: 2rem;
  }

  .about-v14-heading h2 {
    font-size: clamp(2rem, 9vw, 2.9rem);
    line-height: 1.1;
  }

  .about-v14-bio {
    border-radius: 22px;
  }

  .about-v14-points {
    grid-template-columns: 1fr;
  }

  .about-v14-photo {
    border-radius: 26px;
  }

  .about-v14-photo::after {
    inset: .75rem;
    border-radius: 18px;
  }
}


/* =========================
   SOBRE MÍ V15 - Animaciones premium
   ========================= */

/* Imagen con entrada tipo máscara cinematográfica */
.about-animated-media {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.about-v14-photo {
  transform-origin: center;
  will-change: transform, filter;
}

.about-v14-photo.visible,
.about-animated-media.visible .about-v14-photo {
  animation: aboutPhotoRevealV15 1.15s cubic-bezier(.16,1,.3,1) .08s both;
}

@keyframes aboutPhotoRevealV15 {
  0% {
    opacity: 0;
    transform: translate3d(-26px, 42px, 0) rotateX(10deg) rotateY(-12deg) scale(.96);
    filter: blur(16px) saturate(.82);
    clip-path: inset(14% 18% 18% 12% round 34px);
  }

  58% {
    opacity: 1;
    filter: blur(3px) saturate(1);
    clip-path: inset(0 0 0 0 round 34px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
    filter: blur(0) saturate(1);
    clip-path: inset(0 0 0 0 round 34px);
  }
}

/* Brillo suave que cruza la foto, más editorial que llamativo */
.about-photo-glow,
.about-photo-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.about-photo-glow {
  background:
    radial-gradient(circle at var(--about-x, 50%) var(--about-y, 36%), rgba(201,184,154,.16), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 44%);
  opacity: 0;
  transition: opacity .35s ease;
  mix-blend-mode: screen;
}

.about-v14-photo:hover .about-photo-glow {
  opacity: 1;
}

.about-photo-scan {
  width: 54%;
  left: -70%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
  transform: skewX(-16deg);
  animation: aboutPhotoSweepV15 5.8s ease-in-out 1.2s infinite;
  opacity: 0;
}

@keyframes aboutPhotoSweepV15 {
  0%, 52%, 100% {
    transform: translateX(0) skewX(-16deg);
    opacity: 0;
  }

  64% {
    opacity: .7;
  }

  84% {
    transform: translateX(330%) skewX(-16deg);
    opacity: 0;
  }
}

/* Órbitas/líneas sutiles detrás de la foto */
.about-orbit {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 999px;
  opacity: .72;
}

.about-orbit-one {
  width: 76%;
  aspect-ratio: 1;
  right: -18%;
  top: 10%;
  animation: aboutOrbitRotateV15 26s linear infinite;
}

.about-orbit-two {
  width: 54%;
  aspect-ratio: 1;
  left: -12%;
  bottom: 8%;
  border-style: dashed;
  border-color: rgba(136,182,216,.10);
  animation: aboutOrbitRotateV15 20s linear infinite reverse;
}

@keyframes aboutOrbitRotateV15 {
  to { transform: rotate(360deg); }
}

/* Título por palabras: aparición progresiva sin romper legibilidad */
.about-split-title .about-word {
  display: inline-block;
  margin-right: .16em;
  opacity: 0;
  transform: translate3d(0, .82em, 0) rotateX(-52deg);
  transform-origin: left bottom;
  filter: blur(10px);
  animation: aboutTitleWordInV15 .82s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(110ms + var(--i) * 75ms);
}

.about-split-title .about-word:last-child {
  margin-right: 0;
}

.about-split-title.visible .about-word,
.visible .about-split-title .about-word {
  animation-play-state: running;
}

@keyframes aboutTitleWordInV15 {
  0% {
    opacity: 0;
    transform: translate3d(0, .82em, 0) rotateX(-52deg);
    filter: blur(10px);
  }

  62% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
    filter: blur(0);
  }
}

/* Línea elegante debajo del título */
.about-v14-heading {
  position: relative;
}

.about-v14-heading::after {
  content: "";
  display: block;
  width: min(420px, 62%);
  height: 1px;
  margin-top: 1.15rem;
  background: linear-gradient(90deg, rgba(201,184,154,.85), rgba(201,184,154,0));
  transform: scaleX(0);
  transform-origin: left center;
}

.about-v14-heading.visible::after {
  animation: aboutRuleInV15 .95s cubic-bezier(.16,1,.3,1) .35s forwards;
}

@keyframes aboutRuleInV15 {
  to { transform: scaleX(1); }
}

/* Biografía: reveal interno tipo glass card */
.about-v14-bio {
  position: relative;
  overflow: hidden;
  will-change: transform, opacity, filter;
}

.about-v14-bio.visible {
  animation: aboutCardInV15 .95s cubic-bezier(.16,1,.3,1) both;
}

.about-v14-bio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(201,184,154,.12), transparent 18rem),
    linear-gradient(90deg, transparent, rgba(255,255,255,.045), transparent);
  transform: translateX(-120%);
  opacity: 0;
}

.about-v14-bio.visible::before {
  animation: aboutCardLightV15 1.8s cubic-bezier(.16,1,.3,1) .35s forwards;
}

.about-v14-bio p {
  position: relative;
  z-index: 1;
}

@keyframes aboutCardInV15 {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(.985);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes aboutCardLightV15 {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

/* Cards: entrada escalonada + hover más vivo */
.about-v14-points article {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.985);
  filter: blur(8px);
  transition:
    transform .45s cubic-bezier(.16,1,.3,1),
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.about-v14-points.visible article {
  animation: aboutPointInV15 .78s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(90ms + var(--point-i, 0) * 120ms);
}

.about-v14-points article:nth-child(1) { --point-i: 0; }
.about-v14-points article:nth-child(2) { --point-i: 1; }
.about-v14-points article:nth-child(3) { --point-i: 2; }

.about-v14-points article:hover {
  transform: translateY(-8px);
  border-color: rgba(201,184,154,.28);
  background: rgba(255,255,255,.04);
  box-shadow: 0 22px 70px rgba(0,0,0,.24);
}

@keyframes aboutPointInV15 {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* Fallback seguro si JS falla */
.about-split-title:not(.is-split-about) {
  opacity: 1;
}

.about-split-title:not(.is-split-about) .about-word,
.about-v14-points article {
  animation-fill-mode: forwards;
}

/* Mobile: mantener elegante sin exceso */
@media (max-width: 720px) {
  .about-split-title .about-word {
    margin-right: .12em;
  }

  .about-orbit {
    opacity: .32;
  }

  .about-photo-scan {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-v14-photo,
  .about-split-title .about-word,
  .about-v14-bio,
  .about-v14-points article,
  .about-v14-heading::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .about-photo-scan,
  .about-orbit {
    display: none !important;
  }
}


/* =========================
   QUÉ RESUELVO V16
   ========================= */
.problems-v16 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,184,154,.08), transparent 30rem),
    linear-gradient(180deg, rgba(8,14,21,.74), rgba(5,7,10,.96));
  isolation: isolate;
}

.problems-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.problem-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(74px);
  opacity: .58;
  animation: problemOrbFloatV16 13s ease-in-out infinite alternate;
}

.problem-orb-one {
  width: 34rem;
  height: 34rem;
  top: 3%;
  left: 10%;
  background: rgba(201,184,154,.12);
}

.problem-orb-two {
  width: 30rem;
  height: 30rem;
  right: 6%;
  bottom: 3%;
  background: rgba(88,124,160,.16);
  animation-delay: -6s;
}

@keyframes problemOrbFloatV16 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2.2rem, -1.6rem, 0) scale(1.06); }
}

.problem-grid {
  position: absolute;
  inset: 0;
  opacity: .105;
  background-image:
    linear-gradient(rgba(201,184,154,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,184,154,.13) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at 50% 44%, black, transparent 78%);
  animation: problemGridMoveV16 22s linear infinite;
}

@keyframes problemGridMoveV16 {
  to { background-position: 92px 92px; }
}

.problem-particles {
  position: absolute;
  inset: 0;
  opacity: .34;
  background:
    radial-gradient(circle at 12% 28%, rgba(201,184,154,.42) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 72%, rgba(201,184,154,.30) 0 1px, transparent 2px),
    radial-gradient(circle at 56% 22%, rgba(136,182,216,.34) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 64%, rgba(201,184,154,.28) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 35%, rgba(136,182,216,.28) 0 1px, transparent 2px);
  background-size: 420px 420px;
  animation: problemParticlesDriftV16 18s ease-in-out infinite alternate;
}

@keyframes problemParticlesDriftV16 {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-32px, 26px, 0); }
}

.problems-v16::before {
  content: "";
  position: absolute;
  inset: 2rem;
  z-index: -1;
  border: 1px solid rgba(201,184,154,.06);
  border-radius: 44px;
  pointer-events: none;
}

.problems-v16 .problems-heading {
  max-width: 1140px;
}

.problems-v16 .problems-heading h2 {
  max-width: 1120px;
  margin-inline: auto;
  font-size: clamp(2.55rem, 4.7vw, 5.15rem);
  line-height: 1.05;
  letter-spacing: -.052em;
  word-spacing: .07em;
  text-wrap: balance;
}

.problems-v16 .title-accent {
  color: var(--champagne-2);
  text-shadow: 0 0 34px rgba(201,184,154,.14);
}

.problems-v16 .title-line {
  display: block;
}

.problems-v16 .title-soft {
  color: rgba(246,241,232,.78);
}

.problems-v16 .problems-heading p:not(.eyebrow) {
  max-width: 900px;
  margin: 1.35rem auto 0;
  color: rgba(246,241,232,.70);
  font-size: clamp(1rem, 1.14vw, 1.12rem);
  line-height: 1.72;
}

.problems-v16-grid {
  position: relative;
  z-index: 1;
  margin-top: 3.4rem;
}

.problem-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.55rem;
  background:
    radial-gradient(circle at var(--mx, 16%) var(--my, 16%), rgba(201,184,154,.13), transparent 13rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(13,22,33,.78);
  border-color: rgba(201,184,154,.15);
  box-shadow:
    0 26px 90px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04);
  transition:
    transform .45s cubic-bezier(.16,1,.3,1),
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(201,184,154,.11), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(136,182,216,.09), transparent 11rem);
  opacity: .78;
}

.problem-card::after {
  z-index: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201,184,154,.24), transparent 13rem);
}

.problem-card:hover {
  border-color: rgba(201,184,154,.32);
  background:
    radial-gradient(circle at var(--mx, 16%) var(--my, 16%), rgba(201,184,154,.18), transparent 13rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.022)),
    rgba(13,22,33,.86);
  box-shadow:
    0 34px 110px rgba(0,0,0,.34),
    0 0 0 1px rgba(201,184,154,.04) inset;
}

.problem-card > * {
  position: relative;
  z-index: 1;
}

.problem-card-index {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  color: rgba(201,184,154,.22);
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.08em;
  transform: translateY(-.1rem);
}

.problem-icon {
  width: 58px;
  height: 58px;
  margin-bottom: auto;
  border-color: rgba(201,184,154,.22);
  background:
    radial-gradient(circle at 35% 30%, rgba(201,184,154,.18), transparent 60%),
    rgba(255,255,255,.035);
  box-shadow: 0 12px 42px rgba(0,0,0,.18);
  transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease;
}

.problem-card:hover .problem-icon {
  transform: translateY(-5px) rotate(8deg);
  border-color: rgba(201,184,154,.42);
  background:
    radial-gradient(circle at 35% 30%, rgba(201,184,154,.30), transparent 60%),
    rgba(255,255,255,.045);
}

.problem-card h3 {
  margin-top: 2.2rem;
  font-size: clamp(1.6rem, 2.1vw, 2.05rem);
  letter-spacing: -.055em;
}

.problem-card p {
  max-width: 360px;
  margin-top: .85rem;
  color: rgba(246,241,232,.64);
  font-size: .98rem;
  line-height: 1.58;
}

.problem-card-line {
  width: 0;
  height: 1px;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, rgba(201,184,154,.82), transparent);
  transition: width .45s cubic-bezier(.16,1,.3,1);
}

.problem-card:hover .problem-card-line {
  width: 72%;
}

/* Entrada escalonada más viva para las cards */
.problems-v16 .solution-card.reveal.visible {
  animation: problemCardRiseV16 .85s cubic-bezier(.16,1,.3,1) both;
}

.problems-v16 .solution-card.reveal.visible:nth-child(2) {
  animation-delay: .08s;
}

.problems-v16 .solution-card.reveal.visible:nth-child(3) {
  animation-delay: .16s;
}

@keyframes problemCardRiseV16 {
  from {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(.975);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1080px) {
  .problems-v16 .problems-heading h2 {
    font-size: clamp(2.5rem, 7vw, 4.4rem);
  }

  .problem-card {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .problems-v16::before {
    inset: 1rem;
    border-radius: 28px;
  }

  .problems-v16 .problems-heading h2 {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
    line-height: 1.08;
  }

  .problems-v16 .problems-heading p:not(.eyebrow) {
    font-size: .98rem;
    line-height: 1.65;
  }

  .problems-v16-grid {
    margin-top: 2.4rem;
  }

  .problem-card {
    min-height: 240px;
  }

  .problem-particles {
    opacity: .22;
  }
}

@media (prefers-reduced-motion: reduce) {
  .problem-orb,
  .problem-grid,
  .problem-particles,
  .problems-v16 .solution-card.reveal.visible {
    animation: none !important;
  }
}


/* =========================
   SERVICIOS V17 - ajuste de título y texto
   ========================= */
.services .section-heading {
  max-width: 1060px;
}

.services .section-heading h2 {
  max-width: 1040px;
  font-size: clamp(2.45rem, 4.65vw, 5.15rem);
  line-height: 1.05;
  letter-spacing: -.052em;
  word-spacing: .07em;
  text-wrap: balance;
}

.services .section-heading p:not(.eyebrow) {
  max-width: 760px;
  line-height: 1.68;
}

@media (max-width: 720px) {
  .services .section-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 1.08;
  }

  .services .section-heading p:not(.eyebrow) {
    max-width: 100%;
  }
}


/* =========================
   SERVICIOS V18 - Cards interactivas
   ========================= */
.services-interactive-layout {
  align-items: stretch;
}

.service-interactive-card {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding: 1.45rem;
}

.service-card-head {
  position: relative;
  z-index: 1;
}

.service-card-head h3 {
  margin-bottom: .95rem;
}

.service-overview {
  max-width: 100%;
  margin-top: 0 !important;
  color: rgba(246,241,232,.64) !important;
  font-size: .94rem;
  line-height: 1.58;
}

.service-detail {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 185px;
  margin-top: .2rem;
  padding: 1rem;
  border: 1px solid rgba(201,184,154,.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 0%, rgba(201,184,154,.13), transparent 15rem),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.018)),
    rgba(8,14,21,.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.service-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent, rgba(255,255,255,.04), transparent);
  transform: translateX(-120%);
}

.service-detail.is-changing::before {
  animation: serviceDetailSweepV18 .55s cubic-bezier(.16,1,.3,1);
}

@keyframes serviceDetailSweepV18 {
  to { transform: translateX(120%); }
}

.service-detail-label {
  display: inline-flex;
  margin-bottom: .7rem;
  color: var(--champagne);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.service-detail-title {
  color: rgba(246,241,232,.94);
  font-size: 1.12rem;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.service-detail-text {
  margin-top: .72rem !important;
  color: rgba(246,241,232,.68) !important;
  font-size: .88rem;
  line-height: 1.56;
}

.service-options {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .58rem;
  margin-top: auto;
}

.service-option {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .82rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 14px;
  color: rgba(246,241,232,.72);
  background: rgba(255,255,255,.025);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition:
    color .25s ease,
    border-color .25s ease,
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.service-option::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,184,154,.13);
  border-radius: 999px;
  color: rgba(201,184,154,.82);
  font-size: .82rem;
  line-height: 1;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-option:hover {
  color: rgba(246,241,232,.92);
  border-color: rgba(201,184,154,.26);
  background: rgba(201,184,154,.055);
  transform: translateX(4px);
}

.service-option:hover::after {
  transform: rotate(90deg);
  border-color: rgba(201,184,154,.32);
}

.service-option.active {
  color: #11161d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--champagne-2), var(--champagne));
  box-shadow: 0 14px 38px rgba(201,184,154,.14);
}

.service-option.active::after {
  content: "•";
  color: #11161d;
  border-color: rgba(17,22,29,.16);
  background: rgba(17,22,29,.08);
  transform: none;
}

/* Animación del contenido cuando cambia una opción */
.service-detail-title,
.service-detail-text {
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}

.service-detail.is-changing .service-detail-title,
.service-detail.is-changing .service-detail-text {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
}

.service-interactive-card.featured .service-detail {
  border-color: rgba(201,184,154,.22);
  background:
    radial-gradient(circle at 14% 0%, rgba(201,184,154,.16), transparent 15rem),
    linear-gradient(180deg, rgba(255,255,255,.064), rgba(255,255,255,.02)),
    rgba(8,14,21,.58);
}

@media (max-width: 1080px) {
  .service-interactive-card {
    min-height: auto;
  }

  .service-detail {
    min-height: 150px;
  }
}

@media (max-width: 720px) {
  .service-interactive-card {
    padding: 1.15rem;
  }

  .service-detail {
    min-height: 160px;
    border-radius: 17px;
  }

  .service-option {
    min-height: 46px;
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-option,
  .service-detail-title,
  .service-detail-text,
  .service-detail::before {
    transition: none !important;
    animation: none !important;
  }
}




/* =========================
   PROCESO V20
   ========================= */
.process-v20 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #05070a 0%, rgba(8,14,21,.98) 14%, rgba(15,20,27,.92) 48%, rgba(8,14,21,.98) 86%, #05070a 100%);
}

.process-v20::before,
.process-v20::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10rem;
  z-index: 0;
  pointer-events: none;
}

.process-v20::before {
  top: 0;
  background: linear-gradient(180deg, #05070a 0%, rgba(5,7,10,0) 100%);
}

.process-v20::after {
  bottom: 0;
  background: linear-gradient(0deg, #05070a 0%, rgba(5,7,10,0) 100%);
}

.process-v20-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.process-v20-aurora {
  position: absolute;
  width: 58rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(72px);
  opacity: .48;
  transform: rotate(-18deg);
  animation: processAuroraFloatV20 16s ease-in-out infinite alternate;
}

.process-v20-aurora-one {
  top: 8%;
  left: -22rem;
  background:
    linear-gradient(90deg, rgba(201,184,154,.20), rgba(88,124,160,.08), transparent);
}

.process-v20-aurora-two {
  right: -24rem;
  bottom: 14%;
  background:
    linear-gradient(90deg, transparent, rgba(88,124,160,.16), rgba(201,184,154,.10));
  animation-delay: -7s;
}

@keyframes processAuroraFloatV20 {
  from { transform: translate3d(0, 0, 0) rotate(-18deg) scale(1); }
  to { transform: translate3d(3rem, -1.2rem, 0) rotate(-12deg) scale(1.06); }
}

.process-v20-ribbon {
  position: absolute;
  width: 52vw;
  height: 1px;
  opacity: .24;
  background: linear-gradient(90deg, transparent, rgba(201,184,154,.72), rgba(136,182,216,.28), transparent);
  transform: rotate(-8deg);
  animation: processRibbonPulseV20 6s ease-in-out infinite;
}

.process-v20-ribbon-one {
  top: 28%;
  left: -8%;
}

.process-v20-ribbon-two {
  right: -12%;
  bottom: 30%;
  animation-delay: -3s;
}

@keyframes processRibbonPulseV20 {
  0%, 100% { opacity: .08; transform: translateX(-1rem) rotate(-8deg) scaleX(.86); }
  50% { opacity: .32; transform: translateX(1.2rem) rotate(-8deg) scaleX(1); }
}

.process-v20-contours {
  position: absolute;
  inset: -20%;
  opacity: .055;
  background:
    repeating-radial-gradient(circle at 20% 30%, transparent 0 46px, rgba(201,184,154,.75) 47px 48px, transparent 49px 92px),
    repeating-radial-gradient(circle at 82% 62%, transparent 0 58px, rgba(136,182,216,.55) 59px 60px, transparent 61px 116px);
  animation: processContoursDriftV20 28s linear infinite;
  mask-image: radial-gradient(circle at center, black 0 55%, transparent 82%);
}

@keyframes processContoursDriftV20 {
  to { transform: translate3d(-2rem, 1.8rem, 0) rotate(2deg); }
}

.process-v20-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(2.4rem, 6vw, 6.2rem);
  align-items: start;
}

.process-v20-copy {
  top: 120px;
  padding-top: .35rem;
}

.process-type-title {
  max-width: 720px;
  min-height: 3.25em;
  font-size: clamp(2.65rem, 4.85vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  word-spacing: .08em;
  text-wrap: balance;
}

.process-type-title > span:not(.process-type-char):not(.process-caret) {
  color: var(--champagne-2);
  font-size: 1.08em;
  text-shadow: 0 0 34px rgba(201,184,154,.15);
}

.process-type-title.is-typing {
  visibility: visible;
}

.process-type-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.16em);
  filter: blur(5px);
  animation: processTypeCharV20 .001s steps(1, end) forwards;
  animation-delay: calc(.22s + var(--i) * 34ms);
}

.process-type-char.is-space {
  width: .28em;
}

.process-type-char.is-highlight {
  color: var(--champagne-2);
  font-size: 1.12em;
  text-shadow: 0 0 34px rgba(201,184,154,.15);
}

@keyframes processTypeCharV20 {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.process-caret {
  display: inline-block;
  width: .055em;
  height: .8em;
  margin-left: .06em;
  transform: translateY(.1em);
  background: var(--champagne);
  box-shadow: 0 0 18px rgba(201,184,154,.35);
  animation: processCaretBlinkV20 .8s steps(1, end) infinite;
}

@keyframes processCaretBlinkV20 {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.process-v20-copy p:not(.eyebrow) {
  max-width: 570px;
  margin-top: 1.35rem;
  color: rgba(246,241,232,.72);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.74;
}

.process-v20-list {
  --process-progress: 0;
  position: relative;
  display: grid;
  gap: .95rem;
  padding-left: 2.4rem;
}

.process-progress-rail {
  position: absolute;
  left: .78rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 1px;
  background: rgba(201,184,154,.10);
  overflow: hidden;
}

.process-progress-fill {
  position: absolute;
  inset: 0;
  transform: scaleY(var(--process-progress));
  transform-origin: top center;
  background: linear-gradient(180deg, var(--champagne), rgba(136,182,216,.55), rgba(201,184,154,0));
  box-shadow: 0 0 22px rgba(201,184,154,.22);
}

.process-v20-step {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1.25rem;
  min-height: 145px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(201,184,154,.13);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.016)),
    rgba(10,16,24,.70);
  box-shadow:
    0 22px 70px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.045);
  overflow: hidden;
  transform-style: preserve-3d;
  clip-path: inset(0 0 0 0 round 26px);
  transition:
    transform .55s cubic-bezier(.16,1,.3,1),
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease,
    clip-path .55s cubic-bezier(.16,1,.3,1);
}

.process-v20-step::before {
  content: attr(data-step);
  position: absolute;
  right: -1.1rem;
  top: -.5rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,184,154,.085);
  font-size: clamp(4.5rem, 8vw, 7.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.09em;
  opacity: .75;
  transform: translate3d(1rem, -.2rem, 0);
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .35s ease;
}

.process-v20-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 0%, rgba(201,184,154,.09) 46%, transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
}

.process-v20-step.is-current::after,
.process-v20-step:hover::after {
  animation: processCardSweepV20 1.15s cubic-bezier(.16,1,.3,1);
}

@keyframes processCardSweepV20 {
  0% { opacity: 0; transform: translateX(-120%); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

.process-v20-step:hover,
.process-v20-step.is-current {
  transform: translate3d(0, -6px, 0);
  border-color: rgba(201,184,154,.30);
  background:
    linear-gradient(135deg, rgba(255,255,255,.082), rgba(255,255,255,.020)),
    rgba(12,18,27,.84);
  box-shadow:
    0 32px 100px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.process-v20-step:hover::before,
.process-v20-step.is-current::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.process-v20-step-meta,
.process-v20-step-content {
  position: relative;
  z-index: 1;
}

.process-v20-step-meta {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: .75rem;
}

.process-v20-step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201,184,154,.20);
  border-radius: 999px;
  color: var(--champagne);
  background: rgba(255,255,255,.028);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  transform: rotate(0deg);
  transition: transform .55s cubic-bezier(.16,1,.3,1), border-color .35s ease, background .35s ease, color .35s ease;
}

.process-v20-step-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(201,184,154,.35);
  box-shadow: 0 0 0 0 rgba(201,184,154,.18);
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}

.process-v20-step:hover .process-v20-step-number,
.process-v20-step.is-current .process-v20-step-number {
  transform: rotate(-8deg) scale(1.06);
  border-color: rgba(201,184,154,.42);
  background: rgba(201,184,154,.075);
}

.process-v20-step:hover .process-v20-step-dot,
.process-v20-step.is-current .process-v20-step-dot {
  background: var(--champagne);
  box-shadow: 0 0 0 8px rgba(201,184,154,.07), 0 0 22px rgba(201,184,154,.28);
  transform: scale(1.12);
}

.process-v20-step h3 {
  font-size: clamp(1.35rem, 2vw, 1.86rem);
  line-height: 1.1;
  letter-spacing: -.047em;
}

.process-v20-step p {
  max-width: 575px;
  margin-top: .58rem;
  color: rgba(246,241,232,.66);
  font-size: clamp(.95rem, 1.05vw, 1.04rem);
  line-height: 1.62;
}

.process-v20 .process-v20-copy.visible p:not(.eyebrow) {
  animation: processIntroFadeV20 .85s cubic-bezier(.16,1,.3,1) .28s both;
}

@keyframes processIntroFadeV20 {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.process-v20-step.visible {
  animation: processCardClipInV20 .95s cubic-bezier(.16,1,.3,1) both;
}

.process-v20-step.visible:nth-child(3) { animation-delay: .08s; }
.process-v20-step.visible:nth-child(4) { animation-delay: .16s; }
.process-v20-step.visible:nth-child(5) { animation-delay: .24s; }
.process-v20-step.visible:nth-child(6) { animation-delay: .32s; }

@keyframes processCardClipInV20 {
  0% {
    opacity: 0;
    transform: translate3d(28px, 34px, 0) rotateZ(.8deg);
    filter: blur(12px);
    clip-path: inset(0 100% 0 0 round 26px);
  }
  52% {
    opacity: 1;
    filter: blur(3px);
    clip-path: inset(0 0 0 0 round 26px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateZ(0);
    filter: blur(0);
    clip-path: inset(0 0 0 0 round 26px);
  }
}

@media (max-width: 1080px) {
  .process-v20-grid {
    grid-template-columns: 1fr;
  }

  .process-v20-copy {
    position: static;
  }

  .process-type-title,
  .process-v20-copy p:not(.eyebrow) {
    max-width: 900px;
  }

  .process-v20-list {
    padding-left: 2rem;
  }
}

@media (max-width: 720px) {
  .process-v20-grid {
    gap: 2.2rem;
  }

  .process-type-title {
    min-height: auto;
    font-size: clamp(2.15rem, 9.4vw, 3.1rem);
    line-height: 1.1;
  }

  .process-type-char.is-highlight {
    font-size: 1.08em;
  }

  .process-v20-copy p:not(.eyebrow) {
    font-size: .98rem;
    line-height: 1.65;
  }

  .process-v20-list {
    padding-left: 0;
    gap: .8rem;
  }

  .process-progress-rail {
    display: none;
  }

  .process-v20-step {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.2rem;
    border-radius: 22px;
  }

  .process-v20-step-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .process-v20-step::before {
    font-size: 4.5rem;
    right: -.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-v20-aurora,
  .process-v20-ribbon,
  .process-v20-contours,
  .process-type-char,
  .process-caret,
  .process-v20 .process-v20-copy.visible p:not(.eyebrow),
  .process-v20-step.visible,
  .process-v20-step::after {
    animation: none !important;
  }

  .process-type-char,
  .process-v20-step {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .process-caret {
    display: none !important;
  }
}


/* =========================
   PROCESO V21 - sin typewriter
   ========================= */
.process-type-title {
  min-height: auto !important;
  visibility: visible !important;
}

.process-type-title > span:not(.process-type-char):not(.process-caret),
.process-type-title .process-title-highlight {
  display: inline-block;
  color: var(--champagne-2);
  font-size: 1.12em;
  line-height: .94;
  text-shadow: 0 0 34px rgba(201,184,154,.16);
  transform: translateY(.015em);
}

/* Por seguridad, ocultar cualquier caret o char creado por una versión anterior */
.process-type-char,
.process-caret {
  display: none !important;
}

/* Entrada del título como bloque, sin tipeo */
.process-v20 .process-v20-copy.visible .process-type-title {
  animation: processTitleStaticInV21 .95s cubic-bezier(.16,1,.3,1) both;
}

@keyframes processTitleStaticInV21 {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(.985);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 720px) {
  .process-type-title > span:not(.process-type-char):not(.process-caret),
  .process-type-title .process-title-highlight {
    font-size: 1.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-v20 .process-v20-copy.visible .process-type-title {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* =========================
   PROCESO V22 - punto y degradado integrado
   ========================= */

/* El punto queda unido a profesional para que no baje solo de línea */
.process-type-title .process-highlight-word,
.process-type-title > span.process-highlight-word {
  display: inline-block;
  white-space: nowrap;
  color: var(--champagne-2);
  font-size: 1.08em;
  line-height: .96;
  text-shadow: 0 0 32px rgba(201,184,154,.15);
  transform: translateY(.01em);
}

/* Fondo más integrado: empieza y termina en el color base de las secciones vecinas */
.process-v20 {
  background:
    linear-gradient(180deg,
      #05070a 0%,
      #05070a 7%,
      rgba(7,12,18,.98) 19%,
      rgba(15,20,27,.90) 48%,
      rgba(7,12,18,.98) 81%,
      #05070a 93%,
      #05070a 100%
    ) !important;
}

/* El fondo animado también se desvanece arriba y abajo para que no corte brusco */
.process-v20-bg {
  opacity: .92;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
}

/* Capas de transición más largas y suaves */
.process-v20::before,
.process-v20::after {
  height: 17rem !important;
  z-index: 0;
}

.process-v20::before {
  background:
    linear-gradient(180deg, #05070a 0%, rgba(5,7,10,.86) 28%, rgba(5,7,10,0) 100%) !important;
}

.process-v20::after {
  background:
    linear-gradient(0deg, #05070a 0%, rgba(5,7,10,.86) 28%, rgba(5,7,10,0) 100%) !important;
}

/* Menos intensidad en los elementos del fondo cerca de los bordes */
.process-v20-aurora {
  opacity: .38;
}

.process-v20-ribbon {
  opacity: .18;
}

/* En pantallas chicas achico apenas el highlight para evitar cortes incómodos */
@media (max-width: 720px) {
  .process-type-title .process-highlight-word,
  .process-type-title > span.process-highlight-word {
    font-size: 1.04em;
  }
}




/* =========================
   PORTFOLIO V24 - imágenes reales
   ========================= */
.projects-v24 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #05070a 0%, rgba(8,14,21,.98) 18%, rgba(5,7,10,.98) 100%);
}

.projects-v24-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.projects-v24-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(84px);
  opacity: .42;
  animation: portfolioOrbV24 15s ease-in-out infinite alternate;
}

.projects-v24-orb-one {
  width: 36rem;
  height: 36rem;
  left: -14rem;
  top: 7rem;
  background: rgba(201,184,154,.13);
}

.projects-v24-orb-two {
  width: 32rem;
  height: 32rem;
  right: -12rem;
  bottom: 10rem;
  background: rgba(88,124,160,.14);
  animation-delay: -6s;
}

@keyframes portfolioOrbV24 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2rem, -1.5rem, 0) scale(1.06); }
}

.projects-v24-lines {
  position: absolute;
  inset: 0;
  opacity: .16;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(201,184,154,.06) 39%, transparent 56%),
    radial-gradient(circle at 20% 28%, rgba(201,184,154,.25) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 36%, rgba(136,182,216,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 45% 80%, rgba(201,184,154,.18) 0 1px, transparent 2px);
  background-size: 100% 100%, 460px 460px, 520px 520px, 430px 430px;
  mask-image: radial-gradient(circle at 50% 45%, black 0 58%, transparent 84%);
  animation: portfolioLinesDriftV24 22s ease-in-out infinite alternate;
}

@keyframes portfolioLinesDriftV24 {
  to { transform: translate3d(-24px, 22px, 0); }
}

.projects-v24-heading {
  max-width: 1040px;
}

.projects-v24-heading h2 {
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.projects-v24-heading h2 span {
  color: var(--champagne-2);
  text-shadow: 0 0 34px rgba(201,184,154,.15);
}

.projects-v24-heading p:not(.eyebrow) {
  max-width: 830px;
}

.portfolio-showcase-v24 {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  grid-template-rows: repeat(2, minmax(390px, auto));
  gap: 1rem;
  margin-top: 3.4rem;
}

.portfolio-card-v24 {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: grid;
  grid-template-rows: minmax(255px, .9fr) auto;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(201,184,154,.15);
  border-radius: 34px;
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(201,184,154,.13), transparent 15rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.016)),
    rgba(13,22,33,.72);
  box-shadow:
    0 30px 110px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.05);
  isolation: isolate;
  transform-style: preserve-3d;
  transition:
    transform .6s cubic-bezier(.16,1,.3,1),
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.portfolio-card-large {
  grid-row: span 2;
  min-height: 800px;
}

.portfolio-card-static {
  cursor: default;
}

.portfolio-card-v24::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(201,184,154,.17), transparent 16rem),
    linear-gradient(180deg, transparent 0%, rgba(5,7,10,.08) 42%, rgba(5,7,10,.72) 100%);
  opacity: .9;
  transition: opacity .35s ease;
}

.portfolio-card-v24::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, transparent 36%, rgba(255,255,255,.10) 48%, transparent 60%, transparent 100%);
  opacity: 0;
  transform: translateX(-120%);
}

.portfolio-card-v24:hover {
  transform: translateY(-8px);
  border-color: rgba(201,184,154,.34);
  box-shadow:
    0 42px 130px rgba(0,0,0,.36),
    0 0 0 1px rgba(201,184,154,.04) inset;
}

.portfolio-card-v24:hover::after {
  animation: portfolioSweepV24 1s cubic-bezier(.16,1,.3,1);
}

@keyframes portfolioSweepV24 {
  0% { opacity: 0; transform: translateX(-120%); }
  32% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

.portfolio-image-wrap-v24 {
  position: relative;
  z-index: 1;
  min-height: 255px;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,184,154,.10);
  background: rgba(5,7,10,.55);
}

.portfolio-card-large .portfolio-image-wrap-v24 {
  min-height: 420px;
}

.portfolio-image-wrap-v24::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5,7,10,.02), rgba(5,7,10,.38)),
    radial-gradient(circle at var(--mx) var(--my), rgba(201,184,154,.12), transparent 18rem);
  pointer-events: none;
}

.portfolio-image-wrap-v24 img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.04) brightness(.82);
  transform: scale(1.01);
  transition: transform .9s cubic-bezier(.16,1,.3,1), filter .55s ease;
}

.portfolio-card-ojotas .portfolio-image-wrap-v24 img {
  object-position: center top;
}

.portfolio-card-facualt .portfolio-image-wrap-v24 img {
  object-position: center center;
}

.portfolio-card-nosignal .portfolio-image-wrap-v24 img {
  object-position: center center;
}


.portfolio-card-sigloxx .portfolio-image-wrap-v24 img {
  object-position: center center;
}

.portfolio-card-nimat .portfolio-image-wrap-v24 img {
  object-position: center center;
}

.portfolio-brand-logo-sigloxx {
  width: 122px;
  max-width: 40%;
}

.portfolio-brand-logo-nimat {
  width: 190px;
  max-width: 48%;
}

.portfolio-brand-logo-sigloxx img,
.portfolio-brand-logo-nimat img {
  max-height: 86px;
}

.portfolio-card-sigloxx .portfolio-action-static,
.portfolio-card-nimat .portfolio-action-static {
  color: rgba(243, 236, 220, .76);
}



.portfolio-card-v24:hover .portfolio-image-wrap-v24 > img {
  transform: scale(1.065);
  filter: saturate(1.04) contrast(1.08) brightness(.90);
}

.portfolio-brand-logo-v24 {
  position: absolute;
  z-index: 4;
  left: 1.2rem;
  top: 1.2rem;
  display: grid;
  place-items: center;
  max-width: min(52%, 310px);
  padding: .72rem .9rem;
  border: 1px solid rgba(201,184,154,.15);
  border-radius: 18px;
  background: rgba(5,7,10,.46);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
  transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .35s ease, background .35s ease;
}

.portfolio-card-v24:hover .portfolio-brand-logo-v24 {
  transform: translateY(-4px);
  border-color: rgba(201,184,154,.32);
  background: rgba(5,7,10,.56);
}

.portfolio-brand-logo-v24 img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: none;
  transform: none;
}

.portfolio-brand-logo-ojotas {
  width: 255px;
}

.portfolio-brand-logo-facualt {
  width: 220px;
  border-color: rgba(255,255,255,.16);
}

.portfolio-card-v24:hover .portfolio-brand-logo-v24 img {
  transform: none;
  filter: none;
}

.portfolio-scan-v24 {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.10), transparent);
  height: 36%;
  transform: translateY(-130%);
  animation: portfolioImageScanV24 6s ease-in-out infinite;
}

.portfolio-card-facualt .portfolio-scan-v24 {
  animation-delay: -1.8s;
}

.portfolio-card-nosignal .portfolio-scan-v24 {
  opacity: .25;
  animation-delay: -3s;
}

@keyframes portfolioImageScanV24 {
  0%, 15% { transform: translateY(-135%); opacity: 0; }
  35%, 45% { opacity: .34; }
  70%, 100% { transform: translateY(295%); opacity: 0; }
}

.portfolio-corner-v24 {
  position: absolute;
  z-index: 4;
  width: 52px;
  height: 52px;
  pointer-events: none;
  opacity: .55;
  transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

.portfolio-corner-v24.corner-one {
  right: 1.15rem;
  top: 1.15rem;
  border-top: 1px solid rgba(201,184,154,.44);
  border-right: 1px solid rgba(201,184,154,.44);
}

.portfolio-corner-v24.corner-two {
  left: 1.15rem;
  bottom: 1.15rem;
  border-left: 1px solid rgba(201,184,154,.34);
  border-bottom: 1px solid rgba(201,184,154,.34);
}

.portfolio-card-v24:hover .portfolio-corner-v24 {
  opacity: .95;
  transform: scale(1.08);
}

.portfolio-eq-v24 {
  position: absolute;
  right: 1.4rem;
  bottom: 1.35rem;
  z-index: 4;
  display: flex;
  align-items: end;
  gap: .38rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(5,7,10,.40);
  backdrop-filter: blur(10px);
}

.portfolio-eq-v24 i {
  width: .28rem;
  height: 18px;
  border-radius: 999px;
  background: rgba(0,190,255,.68);
  animation: portfolioEqV24 1s ease-in-out infinite alternate;
}

.portfolio-eq-v24 i:nth-child(2) { height: 30px; animation-delay: -.2s; }
.portfolio-eq-v24 i:nth-child(3) { height: 22px; animation-delay: -.4s; }
.portfolio-eq-v24 i:nth-child(4) { height: 36px; animation-delay: -.6s; }
.portfolio-eq-v24 i:nth-child(5) { height: 16px; animation-delay: -.8s; }

@keyframes portfolioEqV24 {
  to { transform: scaleY(.45); opacity: .58; }
}

.portfolio-rec-v24 {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 4;
  color: #ff4158;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  padding: .56rem .7rem;
  border: 1px solid rgba(255,65,88,.18);
  border-radius: 999px;
  background: rgba(5,7,10,.46);
  backdrop-filter: blur(10px);
}

.portfolio-rec-v24::before {
  content: "";
  display: inline-block;
  width: .43rem;
  height: .43rem;
  margin-right: .42rem;
  border-radius: 999px;
  background: #ff4158;
  box-shadow: 0 0 18px rgba(255,65,88,.55);
  animation: portfolioRecBlinkV24 1.1s steps(1,end) infinite;
}

@keyframes portfolioRecBlinkV24 {
  50% { opacity: .35; }
}

.portfolio-content-v24 {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.6vw, 2.1rem);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(201,184,154,.08), transparent 14rem),
    linear-gradient(180deg, rgba(5,7,10,.58), rgba(5,7,10,.14));
}

.portfolio-kicker-v24 {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}

.portfolio-kicker-v24 > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201,184,154,.24);
  border-radius: 999px;
  color: var(--champagne);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  background: rgba(5,7,10,.28);
  transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .35s ease;
}

.portfolio-card-v24:hover .portfolio-kicker-v24 > span {
  transform: rotate(-8deg) scale(1.06);
  border-color: rgba(201,184,154,.42);
}

.portfolio-kicker-v24 p {
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .66rem;
  font-weight: 900;
  line-height: 1.45;
}

.portfolio-content-v24 h3 {
  color: rgba(246,241,232,.96);
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: .96;
  letter-spacing: -.07em;
}

.portfolio-card-v24:not(.portfolio-card-large) .portfolio-content-v24 h3 {
  font-size: clamp(1.85rem, 3vw, 2.85rem);
}

.portfolio-content-v24 > p {
  max-width: 670px;
  margin-top: 1rem;
  color: rgba(246,241,232,.70);
  font-size: .96rem;
  line-height: 1.62;
}

.portfolio-info-grid-v24 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.05rem;
}

.portfolio-card-v24:not(.portfolio-card-large) .portfolio-info-grid-v24 {
  grid-template-columns: 1fr;
}

.portfolio-info-grid-v24 div {
  position: relative;
  overflow: hidden;
  padding: .88rem .95rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    rgba(5,7,10,.24);
}

.portfolio-info-grid-v24 div::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  bottom: .85rem;
  width: 2px;
  background: linear-gradient(180deg, var(--champagne), transparent);
  opacity: .65;
}

.portfolio-info-grid-v24 strong {
  display: block;
  color: rgba(246,241,232,.86);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.portfolio-info-grid-v24 span {
  display: block;
  margin-top: .4rem;
  color: rgba(246,241,232,.62);
  font-size: .84rem;
  line-height: 1.48;
}

.portfolio-tags-v24 {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.05rem;
}

.portfolio-tags-v24 span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .46rem .7rem;
  border: 1px solid rgba(201,184,154,.14);
  border-radius: 999px;
  color: rgba(246,241,232,.66);
  background: rgba(255,255,255,.026);
  font-size: .72rem;
  font-weight: 750;
  transition: transform .35s cubic-bezier(.16,1,.3,1), color .35s ease, border-color .35s ease, background .35s ease;
}

.portfolio-card-v24:hover .portfolio-tags-v24 span {
  color: rgba(246,241,232,.86);
  border-color: rgba(201,184,154,.24);
  background: rgba(201,184,154,.045);
}

.portfolio-card-v24:hover .portfolio-tags-v24 span:nth-child(1) { transform: translateY(-3px); }
.portfolio-card-v24:hover .portfolio-tags-v24 span:nth-child(2) { transform: translateY(-3px); transition-delay: .035s; }
.portfolio-card-v24:hover .portfolio-tags-v24 span:nth-child(3) { transform: translateY(-3px); transition-delay: .07s; }
.portfolio-card-v24:hover .portfolio-tags-v24 span:nth-child(4) { transform: translateY(-3px); transition-delay: .105s; }

.portfolio-action-v24 {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  margin-top: 1.15rem;
  color: rgba(17,22,29,.96);
  background: linear-gradient(135deg, var(--champagne-2), var(--champagne));
  border-radius: 999px;
  padding: .78rem 1rem;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(201,184,154,.14);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}

.portfolio-action-static {
  color: rgba(246,241,232,.74);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(201,184,154,.14);
  box-shadow: none;
}

.portfolio-card-v24:hover .portfolio-action-v24 {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(201,184,154,.20);
}

.portfolio-action-v24 span {
  display: inline-block;
  transition: transform .3s ease;
}

.portfolio-card-v24:hover .portfolio-action-v24 span {
  transform: translate(2px, -2px);
}

.portfolio-card-static:hover .portfolio-action-static span {
  transform: none;
}

/* Entrada diferenciada */
.projects-v24 .portfolio-card-v24.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
}

.projects-v24 .portfolio-card-v24.reveal.visible {
  animation: portfolioCardInV24 .9s cubic-bezier(.16,1,.3,1) both;
}

.projects-v24 .portfolio-card-v24.reveal.visible:nth-child(2) {
  animation-delay: .10s;
}

.projects-v24 .portfolio-card-v24.reveal.visible:nth-child(3) {
  animation-delay: .18s;
}

@keyframes portfolioCardInV24 {
  0% {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(.985);
    clip-path: inset(0 0 100% 0 round 34px);
    filter: blur(12px);
  }

  55% {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 34px);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(0 0 0 0 round 34px);
    filter: blur(0);
  }
}

@media (max-width: 1120px) {
  .portfolio-showcase-v24 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .portfolio-card-large,
  .portfolio-card-v24 {
    grid-row: auto;
    min-height: auto;
  }

  .portfolio-card-large .portfolio-image-wrap-v24,
  .portfolio-image-wrap-v24 {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .portfolio-showcase-v24 {
    margin-top: 2.4rem;
    gap: .85rem;
  }

  .portfolio-card-v24 {
    border-radius: 28px;
  }

  .portfolio-card-large .portfolio-image-wrap-v24,
  .portfolio-image-wrap-v24 {
    min-height: 300px;
  }

  .portfolio-brand-logo-v24 {
    left: .9rem;
    top: .9rem;
    max-width: 56%;
  }

  .portfolio-brand-logo-ojotas {
    width: 210px;
  }

  .portfolio-brand-logo-facualt {
    width: 180px;
  }

  .portfolio-brand-logo-sigloxx {
    width: 92px;
  }

  .portfolio-brand-logo-nimat {
    width: 150px;
  }

  .portfolio-content-v24 {
    padding: 1.15rem;
  }

  .portfolio-content-v24 h3,
  .portfolio-card-v24:not(.portfolio-card-large) .portfolio-content-v24 h3 {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }

  .portfolio-content-v24 > p {
    font-size: .92rem;
  }

  .portfolio-info-grid-v24 {
    grid-template-columns: 1fr;
  }

  .portfolio-tags-v24 span {
    font-size: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-v24-orb,
  .projects-v24-lines,
  .portfolio-scan-v24,
  .portfolio-eq-v24 i,
  .portfolio-rec-v24::before,
  .projects-v24 .portfolio-card-v24.reveal.visible,
  .portfolio-card-v24::after {
    animation: none !important;
  }

  .portfolio-card-v24,
  .portfolio-image-wrap-v24 img,
  .portfolio-brand-logo-v24,
  .portfolio-kicker-v24 > span,
  .portfolio-tags-v24 span,
  .portfolio-action-v24,
  .portfolio-action-v24 span,
  .portfolio-corner-v24 {
    transition: none !important;
    transform: none !important;
  }

  .projects-v24 .portfolio-card-v24.reveal,
  .projects-v24 .portfolio-card-v24.reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}


/* =========================
   V26 - Portfolio imágenes finales + Forma de trabajo visual
   ========================= */

/* Ojotas: imagen mobile dentro de un mockup de celular */
.portfolio-phone-visual-v26 {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(201,184,154,.16), transparent 18rem),
    linear-gradient(135deg, #161410, #05070a 74%);
}

.portfolio-phone-visual-v26 .portfolio-bg-shot-v26 {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(.42) saturate(.9);
  transform: scale(1.18);
  opacity: .52;
}

.portfolio-phone-frame-v26 {
  position: relative;
  z-index: 4;
  width: min(42%, 245px);
  min-width: 185px;
  aspect-ratio: 376 / 819;
  padding: .55rem;
  border: 1px solid rgba(201,184,154,.28);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.015)),
    rgba(5,7,10,.86);
  box-shadow:
    0 30px 90px rgba(0,0,0,.45),
    0 0 0 7px rgba(5,7,10,.34);
  transform: translateY(1.2rem) rotate(-1.4deg);
  overflow: hidden;
  transition: transform .8s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}

.portfolio-card-v24:hover .portfolio-phone-frame-v26 {
  transform: translateY(.4rem) rotate(-.35deg) scale(1.025);
  box-shadow:
    0 38px 110px rgba(0,0,0,.56),
    0 0 0 7px rgba(5,7,10,.30);
}

.portfolio-phone-frame-v26 img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  filter: brightness(.88) contrast(1.04);
  transform: none;
}

.portfolio-card-v24:hover .portfolio-phone-frame-v26 img {
  transform: none;
  filter: brightness(.95) contrast(1.05);
}

.phone-speaker-v26 {
  position: absolute;
  z-index: 3;
  top: .8rem;
  left: 50%;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  transform: translateX(-50%);
}

.portfolio-card-ojotas .portfolio-brand-logo-v24 {
  left: 1.1rem;
  top: 1.1rem;
  width: 235px;
}

/* FacuAlt: mejorar encuadre de la captura final */
.portfolio-card-facualt .portfolio-image-wrap-v24 img {
  object-position: center center;
}

/* Forma de trabajo */
.work-mode-v26 {
  position: relative;
  overflow: hidden;
}

.work-card-enhanced {
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(201,184,154,.16), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(84,143,255,.12), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.016)),
    rgba(13,22,33,.80);
}

.work-copy {
  position: relative;
  z-index: 2;
}

.work-copy h2 {
  max-width: 15ch;
  text-wrap: balance;
}

.work-copy h2 span {
  color: var(--champagne);
  text-shadow: 0 0 28px rgba(201,184,154,.14);
}

.work-copy p + p {
  margin-top: 1rem;
}

.work-points {
  display: grid;
  gap: .85rem;
  margin-top: 1.6rem;
}

.work-points div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(201,184,154,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.work-points div:hover {
  transform: translateX(5px);
  border-color: rgba(201,184,154,.26);
  background: rgba(201,184,154,.045);
}

.work-points strong {
  display: block;
  font-size: .96rem;
  letter-spacing: .02em;
}

.work-points span {
  display: block;
  margin-top: .38rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.work-visual {
  position: relative;
  min-height: 470px;
  border-radius: 32px;
  border: 1px solid rgba(201,184,154,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    radial-gradient(circle at 18% 18%, rgba(201,184,154,.10), transparent 14rem),
    rgba(8,15,24,.64);
  overflow: hidden;
  isolation: isolate;
}

.work-visual-glow,
.work-visual-grid,
.work-visual-orbit,
.work-connector {
  position: absolute;
}

.work-visual-glow {
  inset: auto auto 8% 10%;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201,184,154,.16), transparent 65%);
  filter: blur(20px);
  animation: workGlowV26 8s ease-in-out infinite;
}

.work-visual-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 100%);
  opacity: .18;
}

.work-visual-orbit {
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 999px;
}

.orbit-one {
  width: 330px;
  height: 330px;
  top: -58px;
  right: -48px;
  animation: slowSpinV26 16s linear infinite;
}

.orbit-two {
  width: 220px;
  height: 220px;
  left: -54px;
  bottom: -40px;
  animation: slowSpinReverseV26 14s linear infinite;
}

.work-illustration-card,
.work-mobile-frame,
.work-float-card {
  position: absolute;
  border: 1px solid rgba(201,184,154,.14);
  box-shadow: 0 18px 60px rgba(0,0,0,.26);
}

.main-screen {
  top: 14%;
  left: 11%;
  width: 58%;
  min-width: 250px;
  aspect-ratio: 1.12 / 1;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(12,20,30,.90);
  overflow: hidden;
  animation: floatLargeV26 6.6s ease-in-out infinite;
}

.screen-topbar {
  display: flex;
  gap: .38rem;
  padding: .9rem 1rem .55rem;
}

.screen-topbar span {
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: rgba(201,184,154,.58);
}

.screen-body {
  padding: 1rem 1.15rem 1.25rem;
}

.screen-block {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201,184,154,.78), rgba(255,255,255,.18));
  opacity: .9;
}

.screen-block-title {
  width: 62%;
  height: 14px;
  margin-bottom: 1rem;
}

.screen-block-line {
  width: 88%;
  height: 8px;
  margin-bottom: .7rem;
  background: linear-gradient(90deg, rgba(255,255,255,.24), rgba(255,255,255,.10));
}

.screen-block-line.short {
  width: 58%;
  margin-bottom: 1.35rem;
}

.screen-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.screen-mini-cards i {
  display: block;
  height: 104px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(255,255,255,.025);
}

.work-mobile-frame {
  right: 11%;
  bottom: 12%;
  width: 150px;
  aspect-ratio: 10 / 18;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10,16,24,.98), rgba(18,28,39,.98));
  padding: .65rem;
  animation: floatSmallV26 5.2s ease-in-out infinite;
}

.mobile-notch {
  width: 42%;
  height: 16px;
  border-radius: 0 0 12px 12px;
  margin: 0 auto .65rem;
  background: rgba(255,255,255,.06);
}

.mobile-screen {
  height: calc(100% - 1.1rem);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(14,24,35,.96);
  padding: .95rem .78rem;
}

.mobile-line {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  margin-bottom: .55rem;
}

.mobile-line.big {
  width: 70%;
  height: 11px;
  background: rgba(201,184,154,.72);
  margin-bottom: .95rem;
}

.mobile-line.short {
  width: 52%;
}

.mobile-posts {
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
}

.mobile-posts span {
  display: block;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,184,154,.18), rgba(255,255,255,.04));
}

.work-float-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  border-radius: 18px;
  background: rgba(12,20,30,.88);
  backdrop-filter: blur(12px);
}

.work-float-card p {
  margin: 0;
  font-size: .86rem;
  letter-spacing: .02em;
  color: rgba(248,242,232,.88);
}

.work-float-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(201,184,154,.26), rgba(201,184,154,.12));
  color: var(--champagne);
  font-size: .95rem;
}

.card-chat {
  top: 10%;
  right: 8%;
  animation: floatTagV26 5.6s ease-in-out infinite;
}

.card-message {
  left: 5%;
  bottom: 22%;
  animation: floatTagV26 6.2s ease-in-out infinite 1.1s;
}

.card-carousel {
  right: 24%;
  bottom: 6%;
  animation: floatTagV26 5.8s ease-in-out infinite .4s;
}

.work-connector {
  border-top: 1px dashed rgba(201,184,154,.22);
  opacity: .6;
}

.connector-one {
  top: 21%;
  left: 47%;
  width: 29%;
  transform: rotate(-10deg);
}

.connector-two {
  left: 22%;
  bottom: 27%;
  width: 17%;
  transform: rotate(32deg);
}

.connector-three {
  right: 26%;
  bottom: 26%;
  width: 19%;
  transform: rotate(-44deg);
}

@keyframes workGlowV26 {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .9; }
  50% { transform: translate3d(26px,-16px,0) scale(1.1); opacity: 1; }
}

@keyframes slowSpinV26 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slowSpinReverseV26 {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes floatLargeV26 {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-10px,0); }
}

@keyframes floatSmallV26 {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,10px,0); }
}

@keyframes floatTagV26 {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-8px,0); }
}

@media (max-width: 980px) {
  .work-card-enhanced {
    grid-template-columns: 1fr;
  }

  .work-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .portfolio-phone-frame-v26 {
    width: min(48%, 210px);
    min-width: 156px;
  }

  .portfolio-card-ojotas .portfolio-brand-logo-v24 {
    width: 200px;
  }

  .work-copy h2 {
    max-width: 100%;
  }

  .work-visual {
    min-height: 390px;
  }

  .main-screen {
    left: 6%;
    width: 66%;
    min-width: 210px;
  }

  .work-mobile-frame {
    right: 6%;
    width: 122px;
  }

  .card-chat {
    right: 4%;
    top: 8%;
  }

  .card-message {
    left: 4%;
    bottom: 19%;
  }

  .card-carousel {
    right: 16%;
  }
}

@media (max-width: 520px) {
  .portfolio-phone-frame-v26 {
    width: min(58%, 190px);
    min-width: 145px;
  }

  .work-points {
    grid-template-columns: 1fr;
  }

  .work-visual {
    min-height: 340px;
  }

  .main-screen {
    width: 72%;
    min-width: 190px;
  }

  .screen-mini-cards i {
    height: 78px;
  }

  .work-mobile-frame {
    width: 104px;
    bottom: 14%;
  }

  .work-float-card {
    padding: .65rem .8rem;
  }

  .work-float-card p {
    font-size: .76rem;
  }

  .work-float-icon {
    width: 1.7rem;
    height: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-visual-glow,
  .orbit-one,
  .orbit-two,
  .main-screen,
  .work-mobile-frame,
  .work-float-card {
    animation: none !important;
  }
}


/* =========================
   V27 - Ajustes Forma de trabajo
   ========================= */
.work-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.work-point-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .95rem;
  min-height: 100%;
  padding: 1.05rem 1.05rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(201,184,154,.14);
  background:
    radial-gradient(circle at top right, rgba(201,184,154,.08), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 18px 40px rgba(0,0,0,.14);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.work-point-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201,184,154,.08), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.work-point-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,184,154,.28);
  background:
    radial-gradient(circle at top right, rgba(201,184,154,.12), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.024));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 24px 52px rgba(0,0,0,.18);
}

.work-point-copy {
  display: grid;
  gap: .38rem;
}

.work-point-copy strong {
  margin: 0;
}

.work-point-copy span {
  margin-top: 0;
}

.work-point-icon {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  border: 1px solid rgba(201,184,154,.18);
  background: linear-gradient(180deg, rgba(201,184,154,.12), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.work-point-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 46%);
  opacity: .55;
}

.icon-online .icon-orbit {
  position: absolute;
  inset: .58rem;
  border-radius: 999px;
  border: 1px solid rgba(201,184,154,.42);
}

.icon-online .icon-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: .6rem;
  height: .6rem;
  margin-left: -.3rem;
  margin-top: -.3rem;
  border-radius: 999px;
  background: var(--champagne);
  box-shadow: 0 0 12px rgba(201,184,154,.35);
}

.icon-online .icon-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: .42rem;
  height: .42rem;
  margin-left: -.21rem;
  margin-top: -.21rem;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  transform-origin: 0 0;
  animation: orbitBadgeV27 4.8s linear infinite;
}

.icon-material .icon-sheet {
  position: absolute;
  width: 1.15rem;
  height: 1.4rem;
  border: 1px solid rgba(201,184,154,.42);
  border-radius: .35rem;
  background: rgba(255,255,255,.05);
}

.icon-material .sheet-back {
  left: .96rem;
  top: .86rem;
  transform: rotate(-8deg);
  opacity: .65;
  animation: floatSheetBackV27 3.8s ease-in-out infinite;
}

.icon-material .sheet-front {
  left: 1.28rem;
  top: 1rem;
  background: rgba(201,184,154,.16);
  animation: floatSheetFrontV27 3.8s ease-in-out infinite;
}

.icon-communication .chat-bubble {
  position: absolute;
  border: 1px solid rgba(201,184,154,.44);
  border-radius: .7rem;
  background: rgba(255,255,255,.04);
}

.icon-communication .bubble-main {
  width: 1.38rem;
  height: .98rem;
  left: .66rem;
  top: 1.1rem;
  animation: pulseBubbleV27 3.4s ease-in-out infinite;
}

.icon-communication .bubble-secondary {
  width: 1rem;
  height: .75rem;
  right: .68rem;
  top: .78rem;
  background: rgba(201,184,154,.12);
  animation: pulseBubbleV27 3.4s ease-in-out infinite .5s;
}

.icon-communication .bubble-main::after,
.icon-communication .bubble-secondary::after {
  content: "";
  position: absolute;
  bottom: -.22rem;
  left: .28rem;
  width: .35rem;
  height: .35rem;
  border-left: 1px solid rgba(201,184,154,.44);
  border-bottom: 1px solid rgba(201,184,154,.44);
  transform: rotate(-45deg);
  background: inherit;
}

@keyframes orbitBadgeV27 {
  0% { transform: rotate(0deg) translateX(1rem); }
  100% { transform: rotate(360deg) translateX(1rem); }
}

@keyframes floatSheetFrontV27 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(3deg); }
}

@keyframes floatSheetBackV27 {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(2px) rotate(-3deg); }
}

@keyframes pulseBubbleV27 {
  0%,100% { transform: translateY(0) scale(1); opacity: .9; }
  50% { transform: translateY(-2px) scale(1.05); opacity: 1; }
}

@media (max-width: 1100px) {
  .work-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-point-card.point-communication {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .work-points {
    grid-template-columns: 1fr;
  }

  .work-point-card.point-communication {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .icon-online .icon-dot,
  .icon-material .sheet-back,
  .icon-material .sheet-front,
  .icon-communication .bubble-main,
  .icon-communication .bubble-secondary {
    animation: none !important;
  }
}


/* =========================
   V28 - Forma de trabajo compacta + logo más grande
   ========================= */

/* Logo del menú un poco más grande */
.brand {
  width: 212px !important;
  min-width: 212px !important;
  height: 68px !important;
}

.navbar {
  min-height: 90px;
}

/* Sección Forma de trabajo: texto + visual arriba, cards ocupando todo el ancho abajo */
.work-card-enhanced {
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
}

/* Título más chico y menos alto */
.work-card-enhanced .work-copy h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.15vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -.048em;
}

/* Cards a lo ancho de toda la sección */
.work-card-enhanced .work-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: .4rem;
}

/* Las cards ahora son más horizontales, simétricas y compactas */
.work-point-card {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .95rem;
  min-height: 150px;
  padding: 1.18rem !important;
}

.work-point-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 15px;
}

.work-point-copy {
  align-content: start;
}

.work-point-copy strong {
  font-size: .98rem;
  line-height: 1.12;
}

.work-point-copy span {
  font-size: .9rem;
  line-height: 1.5;
}

.work-point-card:hover {
  transform: translateY(-5px);
}

/* Ajuste para que el visual no empuje demasiado la sección */
.work-visual {
  min-height: 430px;
}

@media (max-width: 1100px) {
  .work-card-enhanced {
    grid-template-columns: 1fr;
  }

  .work-card-enhanced .work-copy h2 {
    max-width: 18ch;
  }

  .work-card-enhanced .work-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-point-card.point-communication {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .work-card-enhanced .work-points {
    grid-template-columns: 1fr;
  }

  .work-point-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .brand {
    width: 190px !important;
    min-width: 190px !important;
    height: 62px !important;
  }

  .navbar {
    min-height: 82px;
  }

  .work-card-enhanced .work-copy h2 {
    font-size: clamp(2rem, 9vw, 3rem);
    max-width: 100%;
  }

  .work-visual {
    min-height: 360px;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 172px !important;
    min-width: 172px !important;
    height: 56px !important;
  }
}


/* V29 - FacuAlt portfolio image + larger menu logo */
.site-header .brand {
  width: 248px !important;
  min-width: 248px !important;
  height: 78px !important;
}
.site-header .navbar {
  min-height: 96px !important;
}
@media (max-width: 760px) {
  .site-header .brand {
    width: 206px !important;
    min-width: 206px !important;
    height: 66px !important;
  }
  .site-header .navbar {
    min-height: 84px !important;
  }
}
@media (max-width: 420px) {
  .site-header .brand {
    width: 184px !important;
    min-width: 184px !important;
    height: 58px !important;
  }
}


/* =========================
   V30 - FacuAlt final, logo header y footer
   ========================= */

/* FacuAlt: imagen final + logo interno más chico */
.portfolio-card-facualt .portfolio-image-wrap-v24 img {
  object-fit: cover !important;
  object-position: center center !important;
}

.portfolio-brand-logo-facualt {
  width: 132px !important;
  max-width: 132px !important;
  padding: .52rem .62rem !important;
  border-radius: 14px !important;
}

.portfolio-card-v24:hover .portfolio-brand-logo-facualt {
  transform: translateY(-3px) scale(1.02) !important;
}

/* Header: agrandar logo real del menú */
.navbar {
  min-height: 104px !important;
}

.brand {
  width: auto !important;
  min-width: 0 !important;
  height: 96px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.brand img {
  width: auto !important;
  height: 92px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}

.header {
  min-height: 104px !important;
}

.header .container,
.nav-container {
  min-height: 104px !important;
  align-items: center !important;
}

/* Footer nuevo, más ordenado */
.footer-v30 {
  position: relative;
  overflow: hidden;
  padding: 2.8rem 0;
  border-top: 1px solid rgba(201,184,154,.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(201,184,154,.10), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(5,7,10,.95));
}

.footer-v30::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(201,184,154,.07) 43%, transparent 58%),
    radial-gradient(circle at 80% 50%, rgba(88,124,160,.10), transparent 18rem);
}

.footer-v30-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, .95fr) auto minmax(220px, .75fr);
  align-items: center;
  gap: 2rem;
}

.footer-v30-brand {
  display: grid;
  gap: .75rem;
}

.footer-v30-brand a {
  display: inline-flex;
  width: fit-content;
}

.footer-v30-brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.35));
}

.footer-v30-brand p {
  max-width: 330px;
  color: rgba(246,241,232,.62);
  font-size: .9rem;
  line-height: 1.55;
}

.footer-v30-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  padding: .45rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}

.footer-v30-menu a {
  color: rgba(246,241,232,.72);
  padding: .62rem .82rem;
  border-radius: 999px;
  font-size: .86rem;
  transition: color .25s ease, background .25s ease;
}

.footer-v30-menu a:hover {
  color: var(--champagne);
  background: rgba(201,184,154,.07);
}

.footer-v30-meta {
  display: grid;
  gap: .35rem;
  justify-items: end;
  color: rgba(246,241,232,.56);
  font-size: .88rem;
  text-align: right;
}

.footer-v30-meta a {
  color: var(--champagne);
  font-weight: 800;
}

.footer-v30-meta a:hover {
  color: var(--champagne-2);
}

/* Anular estilos viejos de footer si quedan en cascada */
.footer-v30 .footer-content,
.footer-v30-content.footer-content {
  display: grid;
}

/* Responsive */
@media (max-width: 1080px) {
  .navbar,
  .header,
  .header .container,
  .nav-container {
    min-height: 94px !important;
  }

  .brand {
    height: 84px !important;
  }

  .brand img {
    height: 80px !important;
  }

  .footer-v30-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-v30-brand {
    justify-items: center;
  }

  .footer-v30-brand p {
    margin-inline: auto;
  }

  .footer-v30-meta {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .navbar,
  .header,
  .header .container,
  .nav-container {
    min-height: 86px !important;
  }

  .brand {
    height: 76px !important;
  }

  .brand img {
    height: 72px !important;
  }

  .portfolio-brand-logo-facualt {
    width: 112px !important;
    max-width: 112px !important;
  }

  .footer-v30-menu {
    border-radius: 24px;
    max-width: 360px;
  }
}

@media (max-width: 420px) {
  .brand {
    height: 68px !important;
  }

  .brand img {
    height: 64px !important;
  }

  .footer-v30-brand img {
    width: 160px;
  }

  .footer-v30-menu {
    display: grid;
    width: 100%;
    max-width: 280px;
  }
}


/* =========================
   V31 - Contacto con formulario
   ========================= */
.contact-v31 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #05070a 0%, rgba(8,14,21,.98) 42%, #05070a 100%);
}

.contact-v31-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.contact-v31-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(84px);
  opacity: .38;
  animation: contactOrbV31 13s ease-in-out infinite alternate;
}

.contact-v31-orb-one {
  width: 34rem;
  height: 34rem;
  left: -12rem;
  top: 8%;
  background: rgba(201,184,154,.13);
}

.contact-v31-orb-two {
  width: 30rem;
  height: 30rem;
  right: -10rem;
  bottom: 6%;
  background: rgba(88,124,160,.15);
  animation-delay: -6s;
}

@keyframes contactOrbV31 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2rem, -1rem, 0) scale(1.06); }
}

.contact-v31-lines {
  position: absolute;
  inset: 0;
  opacity: .16;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(201,184,154,.06) 43%, transparent 58%),
    radial-gradient(circle at 16% 28%, rgba(201,184,154,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 38%, rgba(136,182,216,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 78%, rgba(201,184,154,.16) 0 1px, transparent 2px);
  background-size: 100% 100%, 460px 460px, 520px 520px, 430px 430px;
  animation: contactLinesV31 18s ease-in-out infinite alternate;
}

@keyframes contactLinesV31 {
  to { transform: translate3d(-20px, 18px, 0); }
}

.contact-panel-v31 {
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: stretch;
  padding: clamp(1.2rem, 3.6vw, 2.4rem);
  border-radius: 38px;
  background:
    radial-gradient(circle at 16% 18%, rgba(201,184,154,.12), transparent 24rem),
    radial-gradient(circle at 85% 12%, rgba(88,124,160,.12), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(13,22,33,.78);
  overflow: hidden;
}

.contact-copy-v31 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(.6rem, 2vw, 1.3rem);
}

.contact-copy-v31 h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.contact-copy-v31 > p {
  max-width: 560px;
  margin-top: 1.1rem;
  color: rgba(246,241,232,.70);
  line-height: 1.68;
}

.contact-v31-highlights {
  display: grid;
  gap: .75rem;
  margin-top: 1.8rem;
}

.contact-v31-highlights div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .85rem;
  row-gap: .18rem;
  padding: .95rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.026);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.contact-v31-highlights div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 15%, rgba(201,184,154,.11), transparent 9rem);
  opacity: 0;
  transition: opacity .3s ease;
}

.contact-v31-highlights div:hover {
  transform: translateX(5px);
  border-color: rgba(201,184,154,.24);
  background: rgba(201,184,154,.04);
}

.contact-v31-highlights div:hover::after {
  opacity: 1;
}

.contact-v31-highlights span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(201,184,154,.20);
  border-radius: 999px;
  color: var(--champagne);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.contact-v31-highlights strong {
  position: relative;
  z-index: 1;
  color: rgba(246,241,232,.90);
  font-size: .95rem;
}

.contact-v31-highlights p {
  position: relative;
  z-index: 1;
  color: rgba(246,241,232,.58);
  font-size: .86rem;
  line-height: 1.45;
}

.contact-v31-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
}

.contact-v31-quick a {
  flex: 1 1 190px;
  display: grid;
  gap: .2rem;
  padding: .9rem .95rem;
  border: 1px solid rgba(201,184,154,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.024);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.contact-v31-quick a:hover {
  transform: translateY(-4px);
  border-color: rgba(201,184,154,.26);
  background: rgba(201,184,154,.045);
}

.contact-v31-quick span {
  color: rgba(246,241,232,.48);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 900;
}

.contact-v31-quick strong {
  color: rgba(246,241,232,.82);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.contact-form-v31 {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.1rem, 2.6vw, 1.8rem);
  border: 1px solid rgba(201,184,154,.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(201,184,154,.10), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.016)),
    rgba(5,7,10,.38);
  box-shadow:
    0 28px 95px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.contact-form-v31::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 38%, rgba(255,255,255,.055) 50%, transparent 62%, transparent 100%);
  transform: translateX(-120%);
  animation: formSweepV31 7s ease-in-out infinite;
}

@keyframes formSweepV31 {
  0%, 68% { transform: translateX(-120%); opacity: 0; }
  78% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

.form-note-v31 {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(201,184,154,.14);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(201,184,154,.075), rgba(88,124,160,.045)),
    rgba(255,255,255,.025);
}

.form-note-v31 span {
  width: .72rem;
  height: .72rem;
  border-radius: 999px;
  background: var(--champagne);
  box-shadow: 0 0 0 0 rgba(201,184,154,.18), 0 0 18px rgba(201,184,154,.35);
  animation: formPulseV31 2.8s ease-in-out infinite;
}

@keyframes formPulseV31 {
  50% { box-shadow: 0 0 0 10px rgba(201,184,154,0), 0 0 22px rgba(201,184,154,.44); }
}

.form-note-v31 p {
  color: rgba(246,241,232,.72);
  font-size: .88rem;
  line-height: 1.45;
}

.form-grid-v31 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.form-field-v31 {
  position: relative;
  display: grid;
  gap: .48rem;
}

.form-field-v31 span {
  color: rgba(246,241,232,.70);
  font-size: .84rem;
  font-weight: 800;
}

.form-field-v31 input,
.form-field-v31 select,
.form-field-v31 textarea {
  width: 100%;
  border: 1px solid rgba(201,184,154,.14);
  border-radius: 18px;
  outline: none;
  color: rgba(246,241,232,.90);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(255,255,255,.025);
  padding: 1rem 1rem;
  font: inherit;
  font-size: .95rem;
  transition:
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.form-field-v31 textarea {
  min-height: 142px;
  resize: vertical;
  line-height: 1.55;
}

.form-field-v31 input::placeholder,
.form-field-v31 textarea::placeholder {
  color: rgba(246,241,232,.36);
}

.form-field-v31 select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(201,184,154,.72) 50%),
    linear-gradient(135deg, rgba(201,184,154,.72) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}

.form-field-v31 input:focus,
.form-field-v31 select:focus,
.form-field-v31 textarea:focus {
  border-color: rgba(201,184,154,.42);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.022)),
    rgba(201,184,154,.035);
  box-shadow:
    0 0 0 4px rgba(201,184,154,.055),
    0 16px 35px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

.contact-submit-v31 {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border: 0;
  border-radius: 999px;
  color: #10151c;
  background: linear-gradient(135deg, var(--champagne-2), var(--champagne));
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 20px 55px rgba(201,184,154,.15);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.contact-submit-v31:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
  box-shadow: 0 26px 70px rgba(201,184,154,.22);
}

.contact-submit-v31 span {
  display: inline-block;
  transition: transform .25s ease;
}

.contact-submit-v31:hover span {
  transform: translate(2px, -2px);
}

.form-disclaimer-v31 {
  color: rgba(246,241,232,.48);
  font-size: .83rem;
  line-height: 1.5;
}

.contact-form-v31.is-submitting .contact-submit-v31 {
  pointer-events: none;
  filter: brightness(.96);
}

@media (max-width: 1100px) {
  .contact-panel-v31 {
    grid-template-columns: 1fr;
  }

  .contact-copy-v31 h2,
  .contact-copy-v31 > p {
    max-width: 900px;
  }

  .contact-v31-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-v31-highlights div {
    grid-template-columns: 1fr;
  }

  .contact-v31-highlights span {
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .contact-v31-highlights,
  .form-grid-v31 {
    grid-template-columns: 1fr;
  }

  .contact-form-v31 {
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .contact-panel-v31 {
    padding: 1rem;
    border-radius: 28px;
  }

  .contact-copy-v31 h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .form-note-v31 {
    align-items: flex-start;
  }

  .contact-submit-v31 {
    font-size: .78rem;
    letter-spacing: .06em;
    padding-inline: .9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-v31-orb,
  .contact-v31-lines,
  .contact-form-v31::before,
  .form-note-v31 span {
    animation: none !important;
  }

  .form-field-v31 input,
  .form-field-v31 select,
  .form-field-v31 textarea,
  .contact-submit-v31,
  .contact-v31-highlights div,
  .contact-v31-quick a {
    transition: none !important;
    transform: none !important;
  }
}


/* =========================
   V32 - Contacto centrado con formulario abajo
   ========================= */
.contact-panel-v31 {
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 2rem;
  align-items: start;
  justify-items: center;
  text-align: center;
  padding: clamp(1.25rem, 3.8vw, 3rem);
}

.contact-copy-v31 {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: 0;
  align-items: center;
  text-align: center;
}

.contact-copy-v31 .eyebrow {
  margin-inline: auto;
}

.contact-copy-v31 h2 {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.contact-copy-v31 > p {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.contact-v31-highlights {
  width: 100%;
  max-width: 980px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-inline: auto;
}

.contact-v31-highlights div {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  min-height: 150px;
}

.contact-v31-highlights div:hover {
  transform: translateY(-5px);
}

.contact-v31-highlights span {
  grid-row: auto;
}

.contact-v31-highlights p {
  max-width: 240px;
}

.contact-v31-quick {
  justify-content: center;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.contact-v31-quick a {
  text-align: center;
}

.contact-form-v31 {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  text-align: left;
}

.form-note-v31 {
  justify-content: center;
  text-align: center;
}

.form-note-v31 p {
  text-align: center;
}

.form-disclaimer-v31 {
  text-align: center;
}

@media (max-width: 900px) {
  .contact-v31-highlights {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .contact-v31-highlights div {
    min-height: auto;
  }

  .contact-v31-highlights p {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .contact-panel-v31 {
    gap: 1.5rem;
  }

  .contact-form-v31 {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .contact-panel-v31 {
    text-align: center;
  }

  .form-note-v31 {
    justify-content: flex-start;
    text-align: left;
  }

  .form-note-v31 p {
    text-align: left;
  }
}
