/* ================================================
   JUAN MORA — DESIGN DIRECTOR PORTFOLIO
   CSS Clone — styles.css

   Design tokens sourced from: juanmora.co
   Font substitute: Plus Jakarta Sans (→ Goga)
   ================================================ */

/* ------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ------------------------------------------------ */
:root {
  /* Colors */
  --bg-warm:    #faf6ef;   /* main page background */
  --bg-grey:    #f4f4f4;
  --bg-cold:    #e8e9ef;
  --orange1:    #e8bfca;   /* palo rosa claro — acento principal */
  --orange2:    #d4a0b0;   /* palo rosa medio */
  --blue:       #2e54fe;   /* electric blue accent */
  --grey:       #96908c;   /* body text color */
  --grey-dark:  #706b67;
  --grey-mid:   #77726f;
  --dark:       #313131;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', Arial, sans-serif;

  /* Easing */
  --ease-osmo: cubic-bezier(0.625, 0.05, 0, 1);
}

/* ------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body.body {
  font-family: var(--font-main);
  background-color: var(--bg-warm);
  color: var(--grey);
  overflow-x: hidden;
  cursor: none; /* custom cursor active */
}

/* Text selection style */
::selection {
  background: var(--orange1);
  color: #666;
}
::-moz-selection {
  background: var(--orange1);
  color: #666;
}

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img, video { display: block; max-width: 100%; }

/* ------------------------------------------------
   3. PAGE LOADER
   Orange overlay — slides up on load via GSAP
   ------------------------------------------------ */
.container-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.orange-intro {
  position: absolute;
  inset: 0;
  background-color: var(--orange1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: bottom;
}

.cont-juan-intro {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-name-jm.intro {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--bg-warm);
  letter-spacing: -0.01em;
}

.dot-jm.intro {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--bg-warm);
  margin: 0 0.2rem;
}

/* Thin line that "grows" during loader animation */
.grow-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  background: var(--orange1);
  transform-origin: bottom;
}

/* ------------------------------------------------
   4. NAVIGATION
   Fixed top bar with frosted glass pill links
   ------------------------------------------------ */
.container-2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2vw 4vw;
  pointer-events: none; /* only interactive elements get pointer-events */
}

/* Name logo left */
.cont-name-logo { pointer-events: all; }

.nav-name {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-name-jm {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey);
  transition: color 0.4s ease;
}

.dot-jm {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--grey);
  transition: background 0.4s ease;
}

/* Center nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: all;
}

.nav-link {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grey);
  background: rgba(100, 100, 100, 0.07);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border-radius: 90px;
  padding: 10px 16px;
  transition: color 0.4s ease, background 0.4s ease;
}

.nav-link:hover {
  background: rgba(100, 100, 100, 0.14);
}

/* JM monogram center */
.nav-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(100, 100, 100, 0.07);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border-radius: 50%;
}

.jm-monogram {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--grey);
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

/* Right social links */
.nav-social-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: all;
}

.nav-social-link {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey);
  background: rgba(100, 100, 100, 0.07);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border-radius: 5rem;
  padding: 8px 14px;
  transition: color 0.4s ease, background 0.4s ease;
}

.nav-social-link:hover {
  background: rgba(100, 100, 100, 0.14);
}

/* Nav color change on peach (dark) sections */
.nav-name-jm.is-peach,
.nav-link.is-peach,
.nav-social-link.is-peach,
.jm-monogram.is-peach,
.dot-jm.is-peach {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

.dot-jm.is-peach {
  background: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------
   5. CUSTOM CURSOR — M circular
   ------------------------------------------------ */
.cursor-jm {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 910;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translate(-50%, -50%);
}

.cursor-jm-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(150, 144, 140, 0.45);
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease;
}

/* Crece sobre elementos clicables */
body:has(a:hover) .cursor-jm-icon,
body:has(button:hover) .cursor-jm-icon {
  transform: scale(1.45);
  background: var(--orange1);
  border-color: transparent;
}

.cursor-m {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--grey-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.3s ease;
}

body:has(a:hover) .cursor-m,
body:has(button:hover) .cursor-m {
  color: white;
}

.text-jm-cursor {
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  background: var(--blue);
  border-radius: 20px;
  padding: 6px 12px;
  opacity: 0;
  white-space: nowrap;
}

/* ------------------------------------------------
   6. TOP GLOW
   Subtle orange haze at very top of page
   ------------------------------------------------ */
.top-glow {
  position: fixed;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 20rem;
  z-index: 1;
  pointer-events: none;
}

.blur {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 191, 202, 0.4) 0%, transparent 70%);
  filter: blur(20px);
}

/* ------------------------------------------------
   7. SECTION BASE
   ------------------------------------------------ */
.section {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

/* ------------------------------------------------
   8. HERO SECTION
   Full-screen dark photo with peach text
   ------------------------------------------------ */
.wrapper-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: var(--orange1);
  overflow: hidden;
}

/* Photo background layer */
.img-hero-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%; /* extra height for parallax movement */
  top: -10%;
  z-index: 1;
  background: url('HERO.png') center 15% / cover no-repeat;
}

/* Gradiente que disuelve el borde inferior del hero hacia el fondo */
.wrapper-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 22vw;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-warm) 100%);
  z-index: 4;
  pointer-events: none;
}

/* Gradient overlays on top of photo */
.black-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(10, 7, 3, 0.6), transparent);
  z-index: 1;
}

.black-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    to top,
    #faf6ef 0%,
    rgba(250, 246, 239, 0.92) 12%,
    rgba(250, 246, 239, 0.70) 28%,
    rgba(250, 246, 239, 0.38) 50%,
    rgba(250, 246, 239, 0.12) 72%,
    transparent 100%
  );
  z-index: 1;
}

/* Hero content container */
.wrapper-hero-home {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  padding: 9vw 4vw 4vw;
}

.conter-content-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/* Top: "Brand & Web Design Specialist" */
.hero-top {
  align-self: flex-start;
}

.heading {
  font-size: 2rem;
  font-weight: 600;
  color: var(--orange1);
  line-height: 1.05;
}

.heading.right {
  text-align: right;
}

/* Bottom: large name + "Freelance Design Director" */
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

/* Large "Juan · Mora" name replaces Lottie animation */
.name-hero-display {
  display: flex;
  align-items: baseline;
  gap: 2vw;
  flex: 1;
}

.hero-name-juan,
.hero-name-mora {
  font-size: 14vw;
  font-weight: 700;
  color: var(--orange1);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.hero-name-dot {
  font-size: 8vw;
  color: var(--orange1);
  line-height: 0.9;
}

/* ------------------------------------------------
   9. "16 YEARS" — CLICK & SCROLL SECTION
   Sticky text + floating 3D shapes
   ------------------------------------------------ */
.click-scroll-section {
  background-color: var(--bg-warm);
  position: relative;
  z-index: 10;
  overflow: visible;
}

/* Tall container that creates scroll distance for sticky */
.click-scroll-height {
  position: relative;
  width: 100vw;
  height: 117vw;
  display: flex;
}

/* LEFT: Sticky text panel (50% width) */
.wrapper-cont-50 {
  width: 50%;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 10;
  display: flex;
  align-items: center;
}

.click-scroll-inner {
  padding: 4vw;
}

/* "3 servicios" heading — clean, left-aligned */
.click-scroll-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* "3 servicios" — pequeño label con línea */
.cst-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.cst-label::before {
  content: '';
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

/* Líneas grandes */
.cst-row {
  display: block;
  font-size: 6.5vw;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

/* Acento de color en "y tu marca" */
.cst-em {
  color: var(--orange2);
  font-style: normal;
}

/* The "click" interactive word */
.click-word-group {
  display: inline;
  position: relative;
}

.cont-click {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

/* Orange pill highlight around "click" */
.click {
  display: inline-block;
  background: var(--orange1);
  color: var(--bg-warm);
  border-radius: 2em;
  padding: 0.05em 0.5em;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

/* Invisible hover target over "click" word */
.cont-hover-click {
  position: absolute;
  inset: -0.5rem;
  border-radius: 2em;
  z-index: 2;
}

/* Tooltip popup on hover */
.click-hover-huh {
  position: absolute;
  bottom: calc(100% + 0.8rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

/* "scroll" word in orange */
.scroll-word {
  color: var(--orange2);
  position: relative;
}

/* Blinking cursor after "scroll" */
.scroll-cursor {
  display: inline-block;
  color: var(--orange2);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.scroll-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grey);
  margin-top: 2rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

/* RIGHT: Shapes container — overflow visible para que sangren hacia la sección siguiente */
.wrapper-icons {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 120%;
  overflow: visible;
  pointer-events: none;
  z-index: 15;
}

/* ---- CSS 3D Shape Approximations ---- */
.shape-item {
  position: absolute;
  border-radius: 50%;
  z-index: 15;
}

/* Large warm-grey 3D pill */
.pill-scroll {
  width: 42vw;
  height: 18vw;
  border-radius: 100px;
  background: radial-gradient(ellipse at 35% 30%, #e8e2da, #c0b8b0 50%, #a8a09a);
  top: 8%;
  right: -5%;
  box-shadow: inset -4px -6px 20px rgba(0,0,0,0.15), 4px 8px 30px rgba(0,0,0,0.08);
}

/* Medium circle left */
.circle-left-scroll {
  width: 28vw;
  height: 28vw;
  background: radial-gradient(ellipse at 35% 30%, #ede7de, #c8c0b8 50%, #b0a8a0);
  bottom: 25%;
  left: 2%;
  box-shadow: inset -3px -5px 18px rgba(0,0,0,0.12), 3px 6px 24px rgba(0,0,0,0.07);
}

/* Hexagon (using clip-path) */
.hex-scroll {
  width: 26vw;
  height: 28vw;
  border-radius: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: radial-gradient(ellipse at 40% 35%, #ddd8d0, #b8b0a8 50%, #a0988e);
  top: 3%;
  right: 40%;
  box-shadow: none;
}

/* Large center sphere */
.circle-center-scroll {
  width: 48vw;
  height: 48vw;
  background: radial-gradient(ellipse at 38% 32%, #ede8e0, #c8c0b8 45%, #b0a8a2 70%, #9a928c);
  top: 18%;
  right: -5%;
  box-shadow: inset -6px -10px 30px rgba(0,0,0,0.18), 6px 12px 40px rgba(0,0,0,0.1);
}

/* Circle with + symbol */
.circle-plus-scroll {
  width: 22vw;
  height: 22vw;
  background: radial-gradient(ellipse at 35% 30%, #e0dbd3, #bab3ab 50%, #a29b95);
  top: 55%;
  right: 2%;
  box-shadow: inset -3px -5px 15px rgba(0,0,0,0.12), 3px 5px 20px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape-plus-icon {
  font-size: 5vw;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1;
}

/* Rounded square with arrow */
.square-scroll {
  width: 26vw;
  height: 26vw;
  border-radius: 3vw;
  background: radial-gradient(ellipse at 35% 30%, #d8d2ca, #b5aea6 60%, #9e9790);
  bottom: 3%;
  left: 5%;
  box-shadow: inset -4px -6px 20px rgba(0,0,0,0.14), 4px 8px 28px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape-arrow-icon {
  font-size: 6vw;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

/* Small accent shapes — color vino, igual al guante del hero */
.shape-blue {
  position: absolute;
  background: #6b1a2a;
  z-index: 15;
}

.blue-circle {
  width: 3vw;
  height: 3vw;
  border-radius: 50%;
  top: 35%;
  left: 8%;
}

.blue-pill {
  width: 8vw;
  height: 2.5vw;
  border-radius: 100px;
  top: 60%;
  right: 15%;
}

.blue-hex {
  width: 3.5vw;
  height: 4vw;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 20%;
  left: 15%;
}

/* ------------------------------------------------
   10. SERVICES SECTION
   ------------------------------------------------ */
.services-section {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(232, 191, 202, 0.45) 15vw,
    var(--bg-warm) 32vw
  );
  padding-bottom: 0;
  position: relative;
  overflow: visible;
  z-index: 20;
}

/* Animación B usa fondos claros — no se necesitan overrides de texto blanco */

/* Headline block — centrado, por encima de las formas */
.service-headline-wrapper {
  padding: 6vw 4vw 4vw;
  text-align: left;
  position: relative;
  z-index: 20;
}

.tag-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-headline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* "Ayudo a personas y empresas" — pequeño, gris, sin uppercase */
.sh-intro {
  font-size: 1rem;
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 0.01em;
  display: block;
  opacity: 0; /* animado por GSAP */
}

/* "a crecer con:" — grande, impactante */
.sh-main {
  font-size: 7vw;
  font-weight: 800;
  color: var(--dark);
  line-height: 0.9;
  letter-spacing: -0.04em;
  position: relative;
  overflow: visible;
  opacity: 0; /* animado por GSAP */
  transform: translateY(30px);
}

/* Acento en el ":" */
.sh-dot {
  color: var(--orange2);
  font-style: normal;
}

/* Subrayado animado en palo rosa */
.sh-underline {
  display: block;
  height: 2px;
  background: linear-gradient(to right, var(--orange1), var(--orange2));
  width: 0%;
  margin-top: 0.8rem;
  border-radius: 2px;
  transition: width 0.7s ease;
}

/* Services list */
.main-wrapper-services {
  display: flex;
  flex-direction: column;
}

/* Each service item — igual que Juan Mora: texto centrado + franja de imágenes edge-to-edge */
.service-wrapper {
  display: grid;
  grid-template-rows: auto 28vw;
  padding: 6vw 4vw 0;
  border-top: 1px solid rgba(150, 144, 140, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Área de texto: centrada verticalmente */
.cont-text-service {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding-bottom: 3vw;
}

.cont-title-service {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
}

/* Dot oculto — Juan Mora no lo usa en el título */
.dot-project {
  display: none;
}

/* Título del servicio — igual que "Websites & Landing pages" de Juan Mora */
.service-h2 {
  font-size: 4.5vw;
  font-weight: 600;
  color: var(--grey-dark);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.body-copy {
  font-size: 1rem;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.55;
  max-width: 52ch;
  text-align: center;
}

/* Image strip (bottom row) — full-bleed edge to edge */
.cont-imgs-service {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4vw;
  overflow: hidden;
  margin: 3vw -4vw 0;
  border-radius: 0;
}

.mask-img-service {
  overflow: hidden;
  border-radius: 0;
  position: relative;
}

.mask-img-service.hide {
  display: none;
}

/* Academia: 4 testimonios reales — estilo Juan Mora */
.cont-imgs-service.academia {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8vw;
}

.cont-imgs-service.academia .mask-img-service {
  border-radius: 0.6rem;
}

.img-service-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.img-service {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

/* Label on each placeholder image */
.img-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* Webflow & Framer special service */
.service-wrapper.webflow {
  grid-template-rows: auto 16vw;
  padding-bottom: 6vw;
}

.cont-text-service.webflow .cont-title-service.webflow {
  flex-wrap: wrap;
  gap: 1rem;
}

.service-h2.webflow {
  color: var(--dark);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
}

.webflow-badge {
  background: #4353ff;
  color: white;
}

.framer-badge {
  background: #000;
  color: white;
}

/* Webflow/Framer tag cards */
.cont-imgs-service.webflow {
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
  padding: 2vw 0;
  height: auto;
}

.mask-img-service.webflow,
.mask-img-service.framer {
  height: 14vw;
}

.tag-webflow,
.tag-framer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
}

.tag-webflow {
  background: linear-gradient(135deg, #4353ff, #1a23cc);
  color: white;
}

.tag-framer {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: white;
}

.tag-sub {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.08em;
}

/* ------------------------------------------------
   10B. SERVICES CARDS REDESIGN
   3 tall cards, side by side, hover-reveal
   ------------------------------------------------ */
.services-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6vw;
  padding: 0 2vw 8vw;
}

.svc-card {
  position: relative;
  height: 72vh;
  border-radius: 2rem;
  overflow: hidden;
  cursor: none;
}

/* Photo background — slightly oversized for zoom effect */
.svc-card-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center top;
  will-change: transform;
}

/* Per-card gradient overlays */
.svc-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.svc-overlay-1 {
  background: linear-gradient(
    to top,
    rgba(70, 30, 45, 0.88) 0%,
    rgba(50, 15, 30, 0.55) 40%,
    rgba(20, 8, 14, 0.22) 100%
  );
}

.svc-overlay-2 {
  background: linear-gradient(
    to top,
    rgba(18, 12, 7, 0.92) 0%,
    rgba(30, 20, 13, 0.6) 40%,
    rgba(12, 8, 4, 0.25) 100%
  );
}

.svc-overlay-3 {
  background: linear-gradient(
    to top,
    rgba(8, 10, 30, 0.92) 0%,
    rgba(12, 15, 45, 0.6) 40%,
    rgba(5, 6, 18, 0.28) 100%
  );
}

/* Inner layout: number top, content bottom */
.svc-card-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5vw;
}

.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.svc-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* Bottom section */
.svc-card-bottom {
  display: flex;
  flex-direction: column;
}

/* Animated line */
.svc-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 1.4vw;
  transform-origin: left;
  transform: scaleX(0.15);
  transition: transform 0.55s cubic-bezier(0.625, 0.05, 0, 1);
}

.svc-card:hover .svc-line {
  transform: scaleX(1);
}

/* Title */
.svc-title {
  font-size: 2.6vw;
  font-weight: 700;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* Description wrap — animated by GSAP */
.svc-desc-wrap {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.svc-desc {
  padding-top: 1.2vw;
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  max-width: 36ch;
}

.svc-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3vw;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.15rem;
}

.svc-cta-link span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.svc-card:hover .svc-cta-link span {
  transform: translateX(5px);
}

/* ---- Responsive ---- */
@media screen and (max-width: 991px) {
  .services-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5vw;
    padding: 0 3vw 6vw;
  }
  .svc-card { height: 65vw; }
  .svc-title { font-size: 6vw; }
  .svc-card-inner { padding: 4vw; }
  .svc-line { margin-bottom: 3vw; }
}

@media screen and (max-width: 767px) {
  .services-cards-wrapper {
    gap: 2.5vw;
    padding: 0 4vw 6vw;
  }
  .svc-card { height: 85vw; }
  .svc-title { font-size: 8.5vw; }
  .svc-card-inner { padding: 5.5vw; }
}

/* ------------------------------------------------
   10b. RESULTADOS / CASOS DE ÉXITO
   ------------------------------------------------ */
.results-section {
  background: var(--bg-warm);
}

.results-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8vw 5vw;
}

/* ── Header ── */
.results-header {
  margin-bottom: 4vw;
}

.results-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange2);
  margin-bottom: 1rem;
}

.results-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
}

/* ── Stats strip ── */
.results-stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 5vw;
  border-top: 1px solid rgba(140,133,126,0.18);
  border-bottom: 1px solid rgba(140,133,126,0.18);
  padding: 2.2rem 0;
}

.rstat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  padding: 0 2rem;
}

.rstat-num {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  line-height: 1;
}

.rstat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.rstat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(140,133,126,0.2);
  flex-shrink: 0;
}

/* ── Case study grid ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5vw;
  margin-bottom: 3vw;
}

.result-card {
  background: var(--dark);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange2), var(--orange1));
  opacity: 0.7;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.result-card.is-revealed::before {
  transform: scaleX(1);
}

.result-card:hover {
  transform: translateY(-4px);
}

.result-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.result-index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

.result-metric-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange1);
  background: rgba(232,191,202,0.12);
  border: 1px solid rgba(232,191,202,0.2);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  text-transform: uppercase;
}

.result-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.result-kpi {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--orange1);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.8rem;
}

.result-kpi-unit {
  font-size: 0.55em;
  font-weight: 500;
  color: rgba(232,191,202,0.6);
  letter-spacing: 0;
}

.result-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.4rem;
}

.result-list li {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.result-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  font-size: 0.5rem;
  color: var(--orange2);
  top: 0.3rem;
}

/* ── Bottom CTA ── */
.results-cta {
  text-align: center;
  padding-top: 1rem;
}

.results-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.results-cta-link:hover { color: var(--dark); }
.results-cta-link span { transition: transform 0.3s ease; }
.results-cta-link:hover span { transform: translateX(4px); }

/* ── Mobile ── */
@media screen and (max-width: 991px) {
  .results-grid { grid-template-columns: 1fr; gap: 1rem; }
  .results-stats-strip { flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem 0; }
  .rstat-divider { display: none; }
  .rstat { padding: 0; flex: 0 0 calc(50% - 0.75rem); }
}

@media screen and (max-width: 767px) {
  .results-wrapper { padding: 12vw 5vw; }
  .rstat-num { font-size: 2rem; }
  .result-card { padding: 1.6rem 1.4rem; border-radius: 16px; }
  .result-kpi { font-size: 1.8rem; }
}

/* ------------------------------------------------
   11. WORK CTA SECTION
   Folder + huge "Work" background text
   ------------------------------------------------ */
.work-cta-wrapper {
  position: relative;
  width: 100%;
  min-height: 70vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Gradiente que arranca desde el mismo tono que termina la sección de servicios */
  background: linear-gradient(
    to bottom,
    var(--bg-warm) 0%,
    rgba(232, 191, 202, 0.6) 30%,
    rgba(232, 191, 202, 0.35) 70%,
    var(--bg-warm) 100%
  );
}

/* ---- Formas geométricas con parallax en work-cta ---- */
.work-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.wshape {
  position: absolute;
  will-change: transform;
}

.wshape-pill {
  width: 30vw;
  height: 13vw;
  border-radius: 100px;
  background: radial-gradient(ellipse at 35% 30%, #e8e2da, #c0b8b0 50%, #a8a09a);
  box-shadow: inset -4px -6px 20px rgba(0,0,0,0.14), 4px 8px 28px rgba(0,0,0,0.07);
  top: 5%;
  right: -8%;
  transform: rotate(-12deg);
}

.wshape-sphere {
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 32%, #ede8e0, #c8c0b8 45%, #b0a8a2 70%, #9a928c);
  box-shadow: inset -6px -10px 30px rgba(0,0,0,0.18), 6px 12px 40px rgba(0,0,0,0.08);
  bottom: -10%;
  left: -10%;
}

.wshape-hex {
  width: 20vw;
  height: 23vw;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: radial-gradient(ellipse at 40% 35%, #ddd8d0, #b8b0a8 50%, #a0988e);
  top: 15%;
  left: 5%;
}

.wshape-circle {
  width: 18vw;
  height: 18vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 30%, #e0dbd3, #bab3ab 50%, #a29b95);
  box-shadow: inset -3px -5px 15px rgba(0,0,0,0.12), 3px 5px 20px rgba(0,0,0,0.07);
  bottom: 10%;
  right: 8%;
}

.work-cta-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* Work text también encima de las formas */
.work-big-text {
  z-index: 1;
}

.cta-pre-text,
.cta-post-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  text-align: center;
}

/* CSS folder icon */
.folder-wrapper {
  display: block;
  cursor: pointer;
}

.folder-icon {
  position: relative;
  width: 22vw;
  height: 16vw;
}

.folder-back {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 88%;
  background: #4a1018;
  border-radius: 0 1.5vw 1.5vw 1.5vw;
}

.folder-back::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 40%;
  height: 25%;
  background: #4a1018;
  border-radius: 1.5vw 1.5vw 0 0;
  opacity: 0.8;
}

.folder-papers {
  position: absolute;
  bottom: 12%;
  left: 8%;
  right: 8%;
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
  z-index: 1;
}

.folder-paper {
  height: 2vw;
  border-radius: 0.4vw;
}

.folder-paper.p1 { background: rgba(255,255,255,0.9); }
.folder-paper.p2 { background: rgba(255,255,255,0.6); }

.folder-front {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: #6b1a2a;
  border-radius: 1.5vw;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-osmo);
}

.folder-wrapper:hover .folder-front {
  transform: translateY(-8%);
}

.folder-label {
  font-size: 1.2vw;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
}

/* Giant background "Work" text — igual que Juan Mora: relleno peach muy suave */
.work-big-text {
  position: absolute;
  bottom: -5vw;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28vw;
  font-weight: 800;
  color: rgba(232, 191, 202, 0.22);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.text-span-2 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(150, 144, 140, 0.15);
}

/* ------------------------------------------------
   12. BENEFITS SECTION
   Sticky with photo backgrounds + checklist
   ------------------------------------------------ */
.benefits-main-wrapper {
  position: relative;
  background-color: var(--bg-warm);
}

/* Sticky sticky wrapper — 87vw height */
.bg-benefits-wrapper {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 87vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Scroll spacers that create scroll distance */
.benefits-height-1step {
  height: 100vh;
}

.benefits-height-2step {
  height: 100vh;
}

/* Overlay animado de transición — tapa la foto al inicio, se desvanece con scroll */
.benefits-entry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg-warm) 0%,
    rgba(250, 246, 239, 0.96) 50%,
    rgba(250, 246, 239, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Background photos (absolute, full cover) */
.dark-jm-img,
.light-jm-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Fondo con foto real — igual que Juan Mora */
.dark-jm-img {
  background:
    /* Capa base oscura uniforme — garantiza legibilidad del texto */
    linear-gradient(rgba(8, 6, 4, 0.60), rgba(8, 6, 4, 0.60)),
    /* Extra oscuridad en la mitad inferior donde va el texto */
    linear-gradient(to bottom, transparent 25%, rgba(4, 2, 0, 0.70) 100%),
    /* Viñeta sutil en los bordes */
    radial-gradient(ellipse at 50% 35%, transparent 20%, rgba(4, 2, 0, 0.45) 100%),
    /* Foto */
    url('FOTO1.png') center 20% / cover no-repeat;
  background-color: #141210;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* Light warm portrait approximation */
.light-jm-img {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(240, 200, 160, 0.5) 0%, transparent 60%),
    linear-gradient(160deg, #faf6ef 0%, #f0e8d8 60%, #e8dcc8 100%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.light-jm-img.is-visible {
  opacity: 1;
}

.dark-jm-img.is-hidden {
  opacity: 0;
}

/* Step 1 content: texto grande al fondo del área visible */
.main-cont-step1 {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* padding-bottom dinámico: ancla el texto al fondo del viewport (no del contenedor 87vw) */
  padding: 8vw 8vw max(5vw, calc(87vw - 100vh + 10vw));
  transition: opacity 0.6s ease, transform 0.6s ease;
  gap: 0;
}

.text-wrapper-align-benefit {
  overflow: visible;
}

.h2-headline-step1-1,
.h2-headline-step1-2 {
  font-size: 9vw;
  font-weight: 700;
  color: #e8bfca;
  line-height: 0.88;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.text-wrapper-align-benefit._2 {
  text-align: right;
}

/* Silueta oculta hasta que haya foto real */
.jm-siluete-img {
  display: none;
}

.line.step1 {
  width: 100%;
  height: 1px;
  background: rgba(212, 160, 176, 0.25);
  margin: 3vw 0 2vw;
}

/* "y trabajar conmigo los acelera" — igual que "and working with me saves." de Juan Mora */
.h2-headline-step1-3 {
  font-size: 3.5vw;
  font-weight: 500;
  color: #d4a0b0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-align: center;
  opacity: 0.75;
}

/* Step 2 content: Benefits checklist */
.main-cont-step2 {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vw 8vw;
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
  background: rgba(250, 246, 239, 0.95);
}

.main-cont-step2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step2-headline-wrapper {
  margin-bottom: 3vw;
}

.h2-benefit-1 {
  font-size: 2.5vw;
  font-weight: 500;
  color: var(--grey);
  line-height: 1.2;
}

.h2-benefit-2 {
  font-size: 7vw;
  font-weight: 700;
  color: var(--dark);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.line-step2 {
  width: 100%;
  height: 1px;
  background: rgba(150, 144, 140, 0.25);
  margin-bottom: 2vw;
}

.list-benefits {
  display: flex;
  flex-direction: column;
}

.item-benefits-cont {
  padding: 1.5vw 0;
}

.text-benefit-cont {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5vw;
}

.check-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.he-bulltet {
  font-size: 1.1vw;
  font-weight: 500;
  color: var(--grey-dark);
  line-height: 1.5;
}

.line-benefit {
  width: 100%;
  height: 1px;
  background: rgba(150, 144, 140, 0.2);
}

/* "Learn more" CTA button */
.cont-cta-benefitc {
  margin-top: 3vw;
}

.main-cont-button {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(150, 144, 140, 0.35);
  border-radius: 100px;
  padding: 0.9rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-dark);
  cursor: pointer;
  overflow: hidden;
}

.icon-wrapper-cta-first {
  width: 0rem;
  opacity: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  transform: rotate(-90deg);
}

.text-wrapper-cta {
  white-space: nowrap;
  padding: 0 0.3rem;
}

.icon-wrapper-cta {
  width: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ------------------------------------------------
   13. MAIN CTA SECTION — redesign
   Fondo gris oscuro, texto blanco, detalles rosa
   ------------------------------------------------ */
.main-cta-wrapper {
  background-color: #252220;
  position: relative;
  padding: 6vw;
  overflow: hidden;
}

/* Líneas decorativas rosas */
.cta-deco-line {
  position: absolute;
  left: 6vw;
  right: 6vw;
  height: 1px;
  background: linear-gradient(to right, var(--orange1), transparent);
}
.cta-deco-line--top    { top: 0; }
.cta-deco-line--bottom { bottom: 0; }

/* Grid: texto izq | botón der */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4vw;
  min-height: 45vw;
}

/* LEFT col */
.cta-text-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange1);
}

.cta-heading {
  font-size: 5.8vw;
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cta-em {
  font-style: normal;
  color: var(--orange1);
}

.cta-sub {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 38ch;
}

/* Email row */
.cta-email-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.cta-email-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.cta-email-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
}

.cta-email-link:hover { color: var(--orange1); }

/* RIGHT col — magnetic button */
.cta-btn-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 2vw;
}

.cta-magnetic-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20vw;
  height: 20vw;
  border-radius: 50%;
  background: var(--orange1);
  cursor: none;
  will-change: transform;
  transition: background 0.4s ease;
  flex-shrink: 0;
}

.cta-magnetic-wrap:hover {
  background: var(--orange2);
}

.cta-magnetic-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  pointer-events: none;
}

.cta-magnetic-text {
  font-size: 2.8vw;
  font-weight: 700;
  color: white;
  line-height: 1.0;
  letter-spacing: -0.025em;
}

.cta-magnetic-arrow {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-magnetic-wrap:hover .cta-magnetic-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* Orbit container — wrapper del botón + anillo giratorio */
.cta-btn-container {
  position: relative;
  width: 26vw;
  height: 26vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: orbit-spin 18s linear infinite;
  pointer-events: none;
}

.cta-orbit-text {
  font-size: 13px;
  fill: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-main);
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Pulso sutil en el botón */
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,191,202,0.35); }
  50%      { box-shadow: 0 0 0 1.5vw rgba(232,191,202,0); }
}
.cta-magnetic-wrap {
  width: 17vw;
  height: 17vw;
  animation: cta-pulse 3s ease-in-out infinite;
}

/* ---- Responsive ---- */
@media screen and (max-width: 991px) {
  .cta-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 6vw;
  }
  .cta-heading { font-size: 8vw; }
  .cta-btn-col { justify-content: flex-start; }
  .cta-btn-container { width: 42vw; height: 42vw; }
  .cta-magnetic-wrap { width: 30vw; height: 30vw; }
  .cta-magnetic-text { font-size: 5vw; }
}

@media screen and (max-width: 767px) {
  .main-cta-wrapper { padding: 10vw 6vw; }
  .cta-heading { font-size: 11vw; }
  .cta-btn-container { width: 56vw; height: 56vw; }
  .cta-magnetic-wrap { width: 40vw; height: 40vw; }
  .cta-magnetic-text { font-size: 7vw; }
}

/* ------------------------------------------------
   14. FOOTER SECTION
   Dark video background + huge "Juan Mora" text
   ------------------------------------------------ */
.section.footer {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  z-index: 4;
}

/* Background video */
.video-cont-footer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* Dark overlay on video */
.section.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20, 12, 5, 0.75) 0%, rgba(10, 6, 2, 0.85) 100%);
  z-index: 1;
}

/* Footer content */
.main-wrapper-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  padding: 4vw;
}

/* Top row: credits + contact (right-aligned) */
.wrapper-content-footer._1 {
  display: flex;
  justify-content: flex-end;
  gap: 4vw;
  align-self: flex-end;
  margin-top: 4vw;
}

.wrapper-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.body-footer {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange1);
  line-height: 1.8;
}

.body-footer.fade {
  opacity: 0.5;
  font-weight: 400;
}

.body-footer.right {
  opacity: 0.75;
}

.list-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-social-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--orange1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-social-link:hover {
  opacity: 1;
}

/* Middle row: huge "Juan Mora" name */
.wrapper-content-footer._2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  align-items: flex-end;
  padding-bottom: 1vw;
}

.name-footer {
  font-size: 10vw;
  font-weight: 700;
  color: var(--orange1);
  line-height: 0.85;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px rgba(232, 191, 202, 0.4);
  white-space: nowrap;
}

.footer-center-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 2vw;
}

.footer-dot-logo {
  width: 3vw;
  height: 3vw;
  border-radius: 50%;
  background: var(--orange1);
  opacity: 0.5;
}

/* Bottom row: role + studio credits */
.wrapper-content-footer._3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2vw;
  border-top: 1px solid rgba(232, 191, 202, 0.15);
  padding-top: 1.5vw;
}

.body-footer.big {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--orange1);
  opacity: 0.6;
}

.footer-privacy-link {
  opacity: 0.45;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--orange1);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.3s ease;
}
.footer-privacy-link:hover { opacity: 0.8; }

.text-span-3 {
  opacity: 0.5;
  font-weight: 400;
}

.text-span-4 {
  opacity: 0.5;
}

/* ------------------------------------------------
   15. RESPONSIVE — 991px (tablet)
   ------------------------------------------------ */
@media screen and (max-width: 991px) {
  .heading { font-size: 1.6rem; }
  .hero-name-juan, .hero-name-mora { font-size: 18vw; }

  .cst-row { font-size: 9vw; }
  .wrapper-cont-50 { width: 100%; }
  .wrapper-icons { display: none; }
  .sh-intro { font-size: 0.95rem; }
  .sh-main { font-size: 10vw; }

  .service-headline { font-size: 8vw; }
  .service-h2 { font-size: 6vw; }
  .service-wrapper { height: auto; min-height: 60vw; }
  .cont-imgs-service { grid-template-columns: repeat(3, 1fr); }
  .cont-imgs-service.academia { grid-template-columns: repeat(2, 1fr); }
  .mask-img-service.hide { display: none; }

  .work-big-text { font-size: 36vw; }

  .h2-headline-step1-1,
  .h2-headline-step1-2 { font-size: 13vw; }
  .h2-benefit-2 { font-size: 10vw; }
  .h2-benefit-1 { font-size: 3.5vw; }
  .he-bulltet { font-size: 1.8vw; }

  .heading-cta { font-size: 9vw; }
  .email-cta { font-size: 5vw; }

  .name-footer { font-size: 13vw; }
}

/* ------------------------------------------------
   FLOATING CTA BUTTON
   ------------------------------------------------ */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--dark);
  color: var(--bg-warm);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.float-cta:hover {
  background: var(--orange2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232,191,202,0.3), 0 4px 12px rgba(0,0,0,0.15);
}
.float-cta-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.float-cta:hover .float-cta-arrow {
  transform: translateX(3px);
}

/* ------------------------------------------------
   16. RESPONSIVE — 767px (mobile)
   ------------------------------------------------ */
@media screen and (max-width: 767px) {
  body { cursor: auto; }
  .cursor-jm { display: none; }

  /* ── NAV ──────────────────────────────────────── */
  .container-2 { padding: 4vw 5vw; justify-content: center; }
  .nav-social-wrapper { display: none; }
  /* Hide "Mafe Montilla" name on mobile — MM monogram is already the home link */
  .cont-name-logo { display: none; }
  .nav-menu { gap: 0.5rem; }

  /* ── HERO ─────────────────────────────────────── */
  .wrapper-hero { min-height: 100svh; }
  .heading { font-size: 1.25rem; }
  /* Push hero content below the fixed nav (nav ≈ 60–70px = ~17vw at 375px) */
  .wrapper-hero-home { padding-top: 22vw; }
  /* Reduce from 20vw → fits "Mafe · Montilla" on one line at 375px */
  .hero-name-juan, .hero-name-mora { font-size: 15vw; }
  .hero-bottom { flex-direction: column; gap: 0.5rem; }
  .heading.right { font-size: 0.85rem; }

  /* ── 3 SERVICIOS — side-by-side like desktop, no sticky ─ */
  .click-scroll-height {
    height: 82vw;
    flex-direction: row;
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  .wrapper-cont-50 {
    width: 50%;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    /* Text above shapes */
    z-index: 20;
  }
  /* Restore shapes, absolutely-positioned on the right — same as desktop */
  .wrapper-icons {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 62%;
    height: 100%;
    overflow: visible;
    z-index: 5;
  }
  .click-scroll-inner { padding: 8vw 4vw 6vw; }
  .cst-row { font-size: 9vw; }
  .cst-label { font-size: 0.6rem; margin-bottom: 1.2rem; }

  /* ── SERVICE HEADLINE ─────────────────────────── */
  .service-headline-wrapper { padding: 8vw 5vw 6vw; }
  .sh-intro { font-size: 0.88rem; }
  .sh-main { font-size: 13vw; }

  /* ── SERVICE CARDS ────────────────────────────── */
  .services-cards-wrapper { gap: 2.5vw; padding: 0 4vw 8vw; }
  .svc-card { height: 85vw; }
  .svc-title { font-size: 8.5vw; }
  .svc-card-inner { padding: 5.5vw; }
  .service-h2 { font-size: 8vw; }

  /* ── BENEFITS / OLD ───────────────────────────── */
  .cont-imgs-service { grid-template-columns: repeat(2, 1fr); }
  .cont-imgs-service.academia { grid-template-columns: repeat(2, 1fr); }
  .h2-headline-step1-1,
  .h2-headline-step1-2 { font-size: 16vw; }
  .h2-benefit-2 { font-size: 13vw; }
  .h2-benefit-1 { font-size: 4.5vw; }
  .he-bulltet { font-size: 3vw; }

  /* ── CTA SECTION ──────────────────────────────── */
  .main-cta-wrapper { padding: 12vw 5vw; }
  .cta-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 8vw;
  }
  .cta-heading { font-size: 11vw; }
  .cta-btn-col { justify-content: center; padding-right: 0; }
  .cta-magnetic-wrap { width: 48vw; height: 48vw; }
  .cta-magnetic-text { font-size: 7vw; }
  .cta-orbit-svg { width: 48vw; height: 48vw; }
  .cta-email-link { font-size: 0.78rem; word-break: break-all; }
  .heading-cta { font-size: 11vw; }
  .email-cta { display: none; }

  /* ── FLOATING CTA ─────────────────────────────── */
  .float-cta {
    bottom: 1.2rem;
    right: 1rem;
    left: 1rem;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.8rem 1.2rem;
  }

  /* ── HERO IMAGE (no parallax on mobile — JS is disabled, reset dimensions) */
  .img-hero-wrapper { height: 100%; top: 0; }

  /* ── CURIOUS / WORK-CTA SECTION — fade edges on mobile */
  .work-cta-wrapper {
    min-height: 90vw;
    /* Stronger fade at top and bottom so it blends cleanly */
    background: linear-gradient(
      to bottom,
      var(--bg-warm) 0%,
      rgba(232, 191, 202, 0.55) 20%,
      rgba(232, 191, 202, 0.4) 50%,
      rgba(232, 191, 202, 0.55) 80%,
      var(--bg-warm) 100%
    );
  }
  .work-cta-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 18vw;
    background: linear-gradient(to bottom, var(--bg-warm), transparent);
    z-index: 3; pointer-events: none;
  }
  .work-cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 18vw;
    background: linear-gradient(to top, var(--bg-warm), transparent);
    z-index: 3; pointer-events: none;
  }

  /* ── BENEFITS ─────────────────────────────────── */
  /* Fill full viewport height so the sticky panel covers the scroll spacers (no white gap) */
  .bg-benefits-wrapper { height: 100svh; overflow: hidden; }
  /* Larger font on mobile — the text overflows intentionally (clipped by overflow:hidden)
     creating the horizontal marquee-scrub effect. 100svh container has vertical room. */
  .h2-headline-step1-1, .h2-headline-step1-2 { font-size: 16vw; }
  .h2-headline-step1-3 { font-size: 4.5vw; }

  /* ── FOOTER ───────────────────────────────────── */
  .name-footer { font-size: 11vw; }
  .wrapper-content-footer._1 { flex-direction: column; }
  .wrapper-content-footer._2 { flex-direction: row; align-items: flex-end; gap: 2vw; }
}

/* ================================================
   MODERN / AI ANIMATIONS
   ================================================ */

/* ── Animated gradient text — numbers & highlights ── */
.gradient-num {
  background: linear-gradient(
    120deg,
    #e8bfca 0%,
    #d4a0b5 30%,
    #c07090 60%,
    #e8bfca 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 4s linear infinite;
  display: inline-block;
}

@keyframes gradient-flow {
  0%   { background-position: 0%   center; }
  100% { background-position: 250% center; }
}

/* ── Blinking cursor after hero heading ── */
.hero-cursor-blink {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background: var(--orange1);
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
  animation: cursor-blink 1.1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Reveal clip line — used by JS SplitText reveals ── */
.reveal-line-outer {
  display: block;
  overflow: hidden;
}

/* ── Card glow spotlight on hover ── */
.svc-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x) var(--mouse-y),
    rgba(232, 191, 202, 0.09),
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.svc-card:hover::after {
  opacity: 1;
}

/* ── Result card .is-revealed class added by JS initResultCardBorders() ── */

/* ── Animated underline for nav & footer links ── */
.footer-social-link,
.results-cta-link {
  position: relative;
}
.footer-social-link::after,
.results-cta-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}
.footer-social-link:hover::after,
.results-cta-link:hover::after {
  width: 100%;
}

/* ── Floating particles background — benefits section ── */
.benefits-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.benefits-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange2);
  opacity: 0;
  animation: particle-float var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes particle-float {
  0%   { transform: translateY(110%) scale(0); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-10%) scale(1.5); opacity: 0; }
}

/* ── Glitch shimmer on section eyebrows / tags ── */
.tag-text,
.results-eyebrow,
.cst-label {
  position: relative;
}
.tag-text::before,
.results-eyebrow::before {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  color: var(--orange2);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s ease;
}

/* ── Section heading lines scale in ── */
.sh-line-anim {
  transform-origin: left;
  will-change: transform;
}

/* ── Academia intro section ── */
.academia-intro-section {
  background: var(--bg-warm);
  padding: 8vw 6vw;
}
.academia-intro-inner {
  display: flex;
  flex-direction: column;
  gap: 5vw;
}
.academia-intro-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 4vw;
  border-bottom: 1px solid rgba(150,144,140,0.14);
}
.academia-intro-heading {
  font-size: clamp(2.8rem, 6.5vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--dark);
}
.academia-intro-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: start;
}
.academia-intro-left,
.academia-intro-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.academia-intro-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange2);
}
.academia-intro-body {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #5a5550;
}
.academia-who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.4rem;
}
.academia-who-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5a5550;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(150,144,140,0.1);
}
.academia-who-item:last-child { border-bottom: none; }
.academia-who-icon {
  flex-shrink: 0;
  color: var(--orange2);
  font-size: 0.55rem;
  margin-top: 0.45rem;
}
/* legacy: hide old divider if it still exists */
.academia-intro-divider { display: none; }
.academia-intro-block { display: flex; flex-direction: column; gap: 1.2rem; }

@media screen and (max-width: 767px) {
  .academia-intro-section { padding: 12vw 5vw; }
  .academia-intro-heading { font-size: clamp(2.5rem, 9vw, 4rem); }
  .academia-intro-bottom { grid-template-columns: 1fr; gap: 6vw; }
}

/* ── HEADING OUTLINE (texto sin relleno, solo borde) ── */
.heading em,
.heading-outline {
  font-style: normal;
  -webkit-text-stroke: 1.5px rgba(250,246,239,0.75);
  color: transparent;
}

/* ── PAGE TRANSITION OVERLAY ─────────────────────── */
.page-transition-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 10000;
  pointer-events: none;
  will-change: transform;
}

/* ── FAQ ACCORDION ───────────────────────────────── */
.page-faq-section {
  background: var(--bg-grey);
  padding: 8vw 6vw;
}
.page-faq-list {
  margin-top: 4vw;
  border-top: 1px solid rgba(150,144,140,0.15);
}
.page-faq-item {
  border-bottom: 1px solid rgba(150,144,140,0.15);
  overflow: hidden;
}
.page-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.page-faq-trigger span:first-child {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  flex: 1;
  transition: color 0.25s ease;
}
.page-faq-item:hover .page-faq-trigger span:first-child {
  color: var(--orange2);
}
.page-faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.page-faq-item.is-open .page-faq-icon {
  color: var(--orange2);
}
.page-faq-answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
}
.page-faq-answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--grey);
  padding-bottom: 2rem;
  max-width: 65ch;
}
@media screen and (max-width: 767px) {
  .page-faq-section    { padding: 12vw 5vw; }
  .page-faq-trigger span:first-child { font-size: 1rem; }
}
