:root {
  --orange: #ff914d;
  --purple: #6011ba;
  --blue: #1827b1;
  --black: #050505;
  --white: #fffaf5;
  --ink: #0a0810;
  --muted: rgba(255, 250, 245, 0.7);
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --font-display: "MuseoModerno", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --scroll-shift: 0px;
  --scroll-rotate: 0deg;
  --scroll-progress: 0;
  --section-shape-x: 0px;
  --section-shape-y: 0px;
  --section-shape-alt-x: 0px;
  --section-shape-alt-y: 0px;
  --hero-ring-x: 0px;
  --hero-ring-y: 0px;
  --field-y: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 7%, rgba(255, 145, 77, 0.18), transparent 27rem),
    radial-gradient(circle at 86% 14%, rgba(96, 17, 186, 0.2), transparent 30rem),
    radial-gradient(circle at 45% 55%, rgba(24, 39, 177, 0.12), transparent 38rem),
    #050505;
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  background: var(--orange);
  color: #070707;
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 145, 77, 0.16), transparent 68%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease;
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  transform: translate3d(0, var(--field-y), 0);
  animation: backgroundDrift 24s linear infinite;
}

.ambient-field span {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255,255,255,0.08);
  transform:
    translate3d(var(--gx, 0px), var(--gy, 0px), 0)
    rotate(calc(var(--base-rotate, 24deg) + var(--gr, 0deg)));
  animation: orbitDrift var(--duration, 16s) ease-in-out infinite;
  will-change: transform;
}

.ambient-field span::before,
.ambient-field span::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid currentColor;
  opacity: 0.35;
}

.ambient-field span::after {
  inset: auto 16% 16% auto;
  width: 32%;
  height: 32%;
  border-radius: 50%;
  background: currentColor;
  filter: blur(18px);
  opacity: 0.16;
}

.ambient-field span:nth-child(1) { left: 6%; top: 18%; color: rgba(255,145,77,0.5); border-color: rgba(255,145,77,0.22); --duration: 17s; }
.ambient-field span:nth-child(2) { right: 8%; top: 38%; color: rgba(96,17,186,0.55); border-radius: 50%; border-color: rgba(96,17,186,0.26); animation-delay: -5s; --duration: 21s; }
.ambient-field span:nth-child(3) { left: 40%; bottom: 5%; width: 26rem; height: 26rem; color: rgba(24,39,177,0.42); border-color: rgba(24,39,177,0.16); animation-delay: -9s; --duration: 26s; }
.ambient-field span:nth-child(4) { right: 27%; top: 4%; width: 10rem; height: 10rem; color: rgba(255,145,77,0.45); border-radius: 50%; border-color: rgba(255,145,77,0.18); animation-delay: -12s; --duration: 18s; }
.ambient-field span:nth-child(5) { left: -3rem; top: 58%; width: 14rem; height: 14rem; color: rgba(255,145,77,0.38); border-color: rgba(255,145,77,0.18); --base-rotate: -18deg; --duration: 20s; animation-delay: -7s; }
.ambient-field span:nth-child(6) { right: -4rem; top: 72%; width: 20rem; height: 20rem; color: rgba(24,39,177,0.38); border-radius: 50%; border-color: rgba(24,39,177,0.2); --base-rotate: 8deg; --duration: 24s; animation-delay: -13s; }
.ambient-field span:nth-child(7) { left: 18%; top: 82%; width: 8rem; height: 8rem; color: rgba(96,17,186,0.5); border-color: rgba(96,17,186,0.24); --base-rotate: 45deg; --duration: 15s; animation-delay: -3s; }

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

.section {
  position: relative;
  padding: 7.5rem 0;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 4%;
  width: clamp(6rem, 12vw, 11rem);
  height: clamp(6rem, 12vw, 11rem);
  border: 1px solid rgba(255, 145, 77, 0.1);
  border-radius: 1.2rem;
  pointer-events: none;
  opacity: 0.46;
  transform:
    translate3d(var(--section-shape-x), var(--section-shape-y), 0)
    rotate(calc(18deg + var(--scroll-rotate)));
  animation: sectionShapeFloat 18s ease-in-out infinite;
}

.section:nth-of-type(even)::before {
  left: auto;
  right: 5%;
  top: 16%;
  border-radius: 50%;
  border-color: rgba(96, 17, 186, 0.14);
  transform:
    translate3d(var(--section-shape-alt-x), var(--section-shape-alt-y), 0)
    rotate(calc(-12deg - var(--scroll-rotate)));
  animation-duration: 22s;
}

.site-header {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.68rem 0.78rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.68);
  box-shadow: 0 1.5rem 5rem rgba(0,0,0,0.35);
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled { background: rgba(5, 5, 5, 0.86); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 12.6rem;
}

.brand img {
  width: 3.9rem;
  height: 3.9rem;
  object-fit: contain;
  filter: drop-shadow(0 0 1.1rem rgba(255,145,77,0.24));
}

.brand span {
  display: grid;
  gap: 0.05rem;
  line-height: 0.9;
}

.brand strong,
.brand small {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.brand strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  color: rgba(255,255,255,0.72);
  font-size: 0.64rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.72rem 0.88rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.24s ease, background 0.24s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: rgba(255, 145, 77, 0.14);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.3rem auto;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 8rem;
}

.cinema-layer,
.cinema-layer > * {
  position: absolute;
  pointer-events: none;
}

.cinema-layer { inset: 0; }

.motion-video {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.1rem;
  background:
    linear-gradient(135deg, rgba(255,145,77,0.16), transparent 38%),
    linear-gradient(220deg, rgba(24,39,177,0.28), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 18px),
    rgba(255,255,255,0.045);
  filter: saturate(1.2);
  opacity: 0.58;
  overflow: hidden;
}

.motion-video::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 90deg, transparent, rgba(255,145,77,0.22), rgba(96,17,186,0.22), transparent);
  animation: spin 12s linear infinite;
}

.video-a { left: 4%; top: 18%; width: 18rem; height: 12rem; transform: rotate(-8deg); }
.video-b { right: 6%; bottom: 14%; width: 22rem; height: 14rem; transform: rotate(7deg); animation-delay: -4s; }

.grid-plane {
  left: 50%;
  bottom: -12rem;
  width: 95rem;
  height: 35rem;
  transform: translateX(-50%) perspective(620px) rotateX(62deg);
  background-image:
    linear-gradient(rgba(255,145,77,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 4rem 4rem;
  opacity: 0.42;
  mask-image: linear-gradient(to top, #000, transparent 84%);
  animation: gridMove 14s linear infinite;
}

.kinetic-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), #fff, transparent);
  box-shadow: 0 0 2rem rgba(255,145,77,0.5);
  animation: scan 5s ease-in-out infinite;
}

.line-a { width: 24rem; left: 10%; bottom: 25%; }
.line-b { width: 18rem; right: 8%; top: 30%; animation-delay: -2s; }

.geo-ring {
  right: 25%;
  top: 18%;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(255,145,77,0.5);
  border-radius: 50%;
  box-shadow: 0 0 4rem rgba(255,145,77,0.2);
  transform: translate3d(var(--hero-ring-x), var(--hero-ring-y), 0);
  animation: heroOrbit 20s linear infinite;
}

.geo-cube {
  left: 12%;
  bottom: 16%;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px solid rgba(255,255,255,0.2);
  transform: rotate(28deg);
  animation: heroCube 8s ease-in-out infinite;
}

.hero-watermark {
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: min(50rem, 78vw);
  opacity: 0.12;
  filter: drop-shadow(0 0 5rem rgba(255,145,77,0.35));
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.96fr);
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 7.7vw, 7rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  text-wrap: balance;
}

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

.hero-subtitle {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ffc06d);
  color: #0b0705;
  box-shadow: 0 1rem 3rem rgba(255,145,77,0.28);
}

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-stage {
  position: relative;
  min-height: 38rem;
}

.phone-scene {
  position: absolute;
  inset: 1rem -1rem auto;
  min-height: 34rem;
}

.phone-card {
  position: absolute;
  width: min(18rem, 48vw);
  height: 32.5rem;
  padding: 0.7rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  box-shadow: 0 2rem 6rem rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.phone-card img {
  width: 100%;
  height: 100%;
  border-radius: 1.45rem;
  object-fit: cover;
  object-position: center top;
}

.phone-top {
  position: absolute;
  left: 50%;
  top: 0.85rem;
  z-index: 2;
  width: 5rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.62);
  transform: translateX(-50%);
}

.phone-main {
  right: 0;
  top: 0;
  z-index: 2;
  transform: rotate(5deg);
  animation: floatShape 7s ease-in-out infinite;
}

.phone-back {
  left: 0;
  top: 5.2rem;
  z-index: 1;
  transform: rotate(-7deg) scale(0.9);
  opacity: 0.9;
  animation: floatShape 8s ease-in-out infinite reverse;
}

.strategy-panel,
.orbit-word {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,5,5,0.58);
  box-shadow: 0 1rem 4rem rgba(0,0,0,0.34);
  backdrop-filter: blur(16px);
}

.strategy-panel {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
}

.strategy-panel strong {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.strategy-panel span,
.orbit-word { color: rgba(255,255,255,0.78); font-size: 0.86rem; font-weight: 800; }
.panel-a { left: 2%; top: 16%; }
.panel-b { right: 0; bottom: 17%; }
.orbit-word { padding: 0.55rem 0.8rem; border-radius: 999px; }
.word-a { left: 18%; bottom: 10%; animation: floatShape 6s ease-in-out infinite; }
.word-b { right: 4%; top: 32%; animation: floatShape 7s ease-in-out infinite reverse; }
.word-c { left: 45%; top: 3%; animation: floatShape 8s ease-in-out infinite; }
.word-d { right: 2%; top: 60%; animation: floatShape 6.5s ease-in-out infinite; }
.word-e { left: 2%; top: 40%; animation: floatShape 7.5s ease-in-out infinite reverse; }
.word-f { right: 16%; top: 50%; animation: floatShape 8.5s ease-in-out infinite; }
.word-g { left: 30%; top: 68%; animation: floatShape 7s ease-in-out infinite reverse; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
}

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

.ticker span {
  padding: 1rem 1.35rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  white-space: nowrap;
}

.ticker span::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 1.35rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 1rem rgba(255,145,77,0.75);
}

.about-grid,
.philosophy-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.about-story p,
.section-heading p:not(.eyebrow),
.contact-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.belief-grid article,
.studio-strip,
.service-card,
.quote-card,
.contact-form,
.timeline-item,
.transform-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel-strong), rgba(255,255,255,0.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2rem 6rem rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
}

.belief-grid article {
  min-height: 11rem;
  padding: 1rem;
  border-radius: 0.8rem;
}

.belief-grid span,
.niche-card span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.belief-grid strong { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.05; }

.studio-strip {
  display: grid;
  grid-template-columns: 9rem 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 1rem;
  border-radius: 1rem;
  overflow: hidden;
}

.studio-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 12rem;
  min-height: 12rem;
}

.studio-mark img {
  position: relative;
  z-index: 2;
  width: 9.2rem;
  opacity: 0.72;
  filter: drop-shadow(0 0 2rem rgba(255,145,77,0.28));
}

.studio-mark span {
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(255,145,77,0.34);
  border-radius: 50%;
  animation: logoPulse 2.8s ease-out infinite;
}

.studio-mark span:nth-child(2) {
  inset: -0.2rem;
  border-color: rgba(96,17,186,0.28);
  animation-delay: 0.65s;
}

.studio-mark span:nth-child(3) {
  inset: 1.35rem;
  border-color: rgba(255,255,255,0.18);
  animation-delay: 1.25s;
}

.studio-strip > div:not(.studio-mark) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.studio-strip span { min-height: 6rem; display: grid; align-items: end; padding: 1rem; border-radius: 0.8rem; background: rgba(0,0,0,0.28); color: #fff; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.05; }

.section-heading { max-width: 54rem; margin-bottom: 3rem; }
.compact-heading { max-width: 52rem; margin-bottom: 2rem; }

.niche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.niche-card {
  position: relative;
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 1;
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
  isolation: isolate;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.niche-card:nth-child(1),
.niche-card:nth-child(2) { grid-column: span 2; }

.niche-card:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(255,145,77,0.46);
}

.niche-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.niche-card:hover::before { transform: scale(1.06); filter: saturate(1.2); }

.niche-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,0.86), rgba(0,0,0,0.12) 62%, rgba(0,0,0,0.38));
}

.pharmacy::before { background-image: linear-gradient(135deg, rgba(255,145,77,0.28), rgba(24,39,177,0.12)), url("/assets/niche-farmacia.png"); }
.vet::before { background-image: linear-gradient(135deg, rgba(96,17,186,0.28), rgba(255,145,77,0.14)), url("/assets/niche-veterinaria.png"); }
.clinic::before { background-image: linear-gradient(135deg, rgba(24,39,177,0.28), rgba(255,255,255,0.06)), url("/assets/niche-centro-salud.png"); }
.wellness::before { background-image: linear-gradient(135deg, rgba(255,145,77,0.22), rgba(96,17,186,0.14)), url("/assets/niche-kinesiologia.png"); }
.diet::before { background-image: linear-gradient(135deg, rgba(96,17,186,0.24), rgba(255,145,77,0.12)), url("/assets/niche-dietetica.png"); }
.pro::before { background-image: linear-gradient(135deg, rgba(24,39,177,0.36), rgba(255,145,77,0.16)), url("/assets/niche-kinesiologia.png"); }

.vet::after {
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.18), transparent 18%),
    linear-gradient(to top, rgba(0,0,0,0.86), rgba(0,0,0,0.1) 62%, rgba(0,0,0,0.34));
}

.pro .visual-noise::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  width: 7rem;
  height: 11rem;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 3rem;
  background:
    radial-gradient(circle at 50% 13%, rgba(255,255,255,0.5) 0 0.3rem, transparent 0.35rem),
    linear-gradient(90deg, transparent 45%, rgba(255,255,255,0.6) 46% 54%, transparent 55%),
    linear-gradient(180deg, transparent 16%, rgba(255,255,255,0.46) 17% 19%, transparent 20% 30%, rgba(255,255,255,0.38) 31% 33%, transparent 34% 44%, rgba(255,255,255,0.32) 45% 47%, transparent 48%);
  opacity: 0.62;
  filter: drop-shadow(0 0 1.5rem rgba(255,145,77,0.2));
}

.visual-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.08;
}

.niche-card h3 { max-width: 16ch; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 21rem;
  padding: 1.1rem;
  border-radius: 0.95rem;
  overflow: clip;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card h3 {
  max-width: 100%;
  font-size: clamp(1.25rem, 1.65vw, 1.75rem);
  line-height: 1.03;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -35% -45%;
  height: 10rem;
  background: radial-gradient(circle, rgba(255,145,77,0.28), transparent 70%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-card:hover,
.quote-card:hover,
.timeline-item:hover,
.transform-card:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(255,145,77,0.45);
  box-shadow: 0 2rem 6rem rgba(255,145,77,0.1), inset 0 1px 0 rgba(255,255,255,0.12);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  display: inline-grid;
  place-items: center;
  min-width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.7rem;
  padding-inline: 0.7rem;
  border-radius: 999px;
  background: rgba(255,145,77,0.14);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 900;
}

.service-card p,
.timeline-item p,
.transform-card p,
.quote-card p {
  color: var(--muted);
  line-height: 1.65;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4rem;
  right: 4rem;
  top: 2.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--purple), var(--blue), transparent);
  animation: scan 6s ease-in-out infinite;
}

.timeline-item {
  position: relative;
  min-height: 19rem;
  padding: 5.2rem 1rem 1rem;
  border-radius: 0.95rem;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.timeline-item span {
  position: absolute;
  left: 1rem;
  top: 0;
  display: grid;
  place-items: center;
  width: 4.7rem;
  height: 4.7rem;
  border: 1px solid rgba(255,145,77,0.5);
  border-radius: 50%;
  background: #0b090f;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: 0 0 3rem rgba(255,145,77,0.18);
}

.transform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.transform-card {
  padding: 1rem;
  border-radius: 1rem;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.phone-pair {
  position: relative;
  min-height: 28.5rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: rgba(0,0,0,0.35);
  overflow: hidden;
}

.feed-after {
  position: absolute;
  left: 50%;
  top: 0.75rem;
  bottom: 0.75rem;
  width: min(78%, 17.6rem);
  padding: 0.65rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 2.05rem;
  background:
    linear-gradient(145deg, #222, #050505 55%, #151515);
  box-shadow: inset 0 0 0 0.35rem #090909, 0 1.5rem 4rem rgba(0,0,0,0.46);
  overflow: hidden;
  transform: translateX(-50%);
}

.feed-after::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.88rem;
  z-index: 3;
  width: 4.2rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(5,5,5,0.82);
  transform: translateX(-50%);
}

.feed-after span {
  display: none;
  position: absolute;
  left: 0.75rem;
  top: 0.7rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.64);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.feed-after img {
  width: 100%;
  height: 100%;
  border-radius: 1.42rem;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.transform-card:nth-child(2) .feed-after img,
.transform-card:nth-child(3) .feed-after img {
  object-fit: contain;
  object-position: center top;
  transform: none;
}

.quote-stack { display: grid; gap: 1rem; }
.quote-card { padding: 1.25rem; border-radius: 0.95rem; transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease; }
.quote-card p { margin-top: 0; font-size: 1.1rem; }
.quote-card strong { font-family: var(--font-display); color: #fff; }

.contact {
  background:
    radial-gradient(circle at 78% 28%, rgba(255,145,77,0.18), transparent 26rem),
    radial-gradient(circle at 22% 65%, rgba(24,39,177,0.16), transparent 30rem);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}

.social-links a,
.whatsapp-float {
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(255,145,77,0.55);
  background: rgba(255,145,77,0.16);
}

.mail-link {
  color: var(--orange);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 1rem;
}

.form-transport {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.1rem 0 0;
  color: var(--orange);
  font-weight: 900;
  line-height: 1.45;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: rgba(255,255,255,0.76);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0.8rem;
  background: rgba(0,0,0,0.34);
  color: #fff;
  padding: 1rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,145,77,0.78);
  box-shadow: 0 0 0 4px rgba(255,145,77,0.11);
  background: rgba(0,0,0,0.48);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  background: linear-gradient(135deg, #25d366, #0fb86b);
  color: #04140a;
  box-shadow: 0 1rem 3rem rgba(37,211,102,0.28);
  animation: breathe 2.8s ease-in-out infinite;
}

.site-footer {
  position: relative;
  padding: 5rem 0 1.4rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,145,77,0.14), transparent 28rem),
    #050505;
  overflow: hidden;
}

.footer-mark {
  position: absolute;
  right: -4rem;
  bottom: -9rem;
  width: min(36rem, 70vw);
  opacity: 0.08;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 2rem;
}

.site-footer img:not(.footer-mark) {
  width: 16rem;
  height: 3rem;
  object-fit: contain;
  object-position: left center;
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 0.75rem;
}

.site-footer a { color: rgba(255,255,255,0.72); transition: color 0.25s ease; }
.site-footer a:hover { color: var(--orange); }

.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.48);
  font-size: 0.88rem;
}

.portfolio-page {
  min-height: 100vh;
}

.portfolio-construction {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 9rem;
}

.construction-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.construction-copy h1 {
  max-width: 12ch;
}

.construction-copy p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.construction-board {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 55% 18%, rgba(255, 145, 77, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.construction-board > img {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 18rem;
  opacity: 0.12;
}

.construction-board article {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.85rem;
  background: rgba(0,0,0,0.24);
}

.construction-board span {
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 900;
}

.construction-board strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.construction-board small {
  color: var(--muted);
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gridMove { to { background-position: 0 4rem, 4rem 0; } }
@keyframes scan {
  0%, 100% { opacity: 0.42; transform: translateX(-1rem); }
  50% { opacity: 1; transform: translateX(1rem); }
}
@keyframes backgroundDrift {
  to { background-position: 54px 54px, -54px 54px; }
}
@keyframes orbitDrift {
  0%, 100% { margin-top: 0; margin-left: 0; }
  25% { margin-top: -1.1rem; margin-left: 0.7rem; }
  50% { margin-top: -0.35rem; margin-left: -0.85rem; }
  75% { margin-top: 0.9rem; margin-left: 0.45rem; }
}
@keyframes sectionShapeFloat {
  0%, 100% { opacity: 0.26; scale: 0.92; }
  50% { opacity: 0.58; scale: 1.08; }
}
@keyframes logoPulse {
  0% {
    opacity: 0.75;
    transform: scale(0.82);
  }
  70% {
    opacity: 0;
    transform: scale(1.22);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}
@keyframes heroOrbit {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes heroCube {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -1rem; rotate: 18deg; }
}
@keyframes floatShape {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -1rem; }
}
@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.25rem); }
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 3.35rem; top: 1rem; bottom: 1rem; width: 1px; height: auto; }
  .timeline-item { min-height: auto; padding: 1rem 1rem 1rem 6rem; }
  .timeline-item span { left: 0.85rem; top: 1rem; }
}

@media (max-width: 880px) {
  .site-header { border-radius: 1.1rem; }
  .brand { min-width: 11.4rem; }
  .brand img { width: 3.35rem; height: 3.35rem; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 5.5rem 1rem auto;
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(5,5,5,0.94);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.8rem);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }
  .menu-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hero { min-height: auto; }
  .hero-content,
  .about-grid,
  .philosophy-grid,
  .contact-grid,
  .construction-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 35rem; }
  .belief-grid,
  .studio-strip > div:not(.studio-mark),
  .transform-grid { grid-template-columns: 1fr; }
  .studio-strip { grid-template-columns: 1fr; }
  .studio-mark { width: 10rem; min-height: 10rem; }
  .niche-grid { grid-template-columns: 1fr; }
  .niche-card,
  .niche-card:nth-child(1),
  .niche-card:nth-child(2) { grid-column: auto; }
}

@media (max-width: 620px) {
  .section { padding: 5.5rem 0; }
  h1 { font-size: clamp(3.25rem, 17vw, 4.6rem); }
  .hero-actions, .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 30rem; }
  .phone-scene { inset-inline: -0.4rem; }
  .phone-card { width: 13.2rem; height: 25rem; }
  .phone-main { right: 0; }
  .phone-back { left: 0; top: 4.2rem; transform: rotate(-7deg) scale(0.84); }
  .strategy-panel { display: none; }
  .niche-card { min-height: 22rem; }
  .feed-after { width: 82%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
