/* ============================================================
   VULPE · DISEÑO 5 — Vivid, Creative & Functional
   Paleta: verde oscuro #152e1c · verde lima #cad858 · rosa #ebadcb
   Tipografías: Sora (local) · Nunito (local)
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: #0d1f12; /* verde muy oscuro */
  color: #f0ede6;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; line-height: 1.15; }

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --green-dark:  #152e1c;
  --green-lime:  #cad858;
  --pink:        #ebadcb;
  --cream:       #f5f0e8;
  --white:       #ffffff;
  --card-bg:     rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.08);
  --radius:      20px;
  --transition:  0.4s cubic-bezier(0.25,0.8,0.25,1);
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.section    { padding: clamp(4rem, 10vw, 8rem) 0; }

/* ── LOADER ──────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0d1f12;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.2rem;
  transition: opacity 0.5s, visibility 0.5s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__fox { width: 60px; animation: spin 1.5s linear infinite; }
.loader__fox .tri { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.2s ease forwards; }
.loader__text { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.2em; color: var(--green-lime); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin  { to { transform: rotate(360deg); } }

/* ── CURSOR PERSONALIZADO ────────────────────────────────── */
.cursor {
  width: 18px; height: 18px;
  background: var(--green-lime);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9000;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s;
}
.cursor.big { width: 50px; height: 50px; }

/* En táctil no hay mousemove: el punto quedaría clavado en la esquina */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ── CAMPO TRAMPA ANTI-SPAM (invisible, no usar display:none) ─ */
.form__hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

/* ── FOCO VISIBLE PARA TECLADO ───────────────────────────── */
:focus-visible {
  outline: 3px solid var(--green-lime);
  outline-offset: 3px;
}
.pcard__img { cursor: pointer; }

/* ── NAVEGACIÓN ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 1.4rem clamp(1.5rem,5vw,4rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(13,31,18,0.92);
  backdrop-filter: blur(14px);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.nav__logo img { height: 58px; }

.nav__logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--green-lime);
  transition: color 0.3s;
}
.nav__logo:hover { color: var(--pink); }

.nav__menu {
  display: flex; gap: 2.5rem; align-items: center;
}
.nav__menu a {
  font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 500;
  color: rgba(240,237,230,0.75);
  transition: color 0.3s;
}
.nav__menu a:hover { color: var(--green-lime); }
.nav__cta {
  background: var(--green-lime); color: var(--green-dark) !important;
  padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(202,216,88,0.3); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; padding: 0.3rem; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--green-lime); border-radius: 2px; transition: all 0.3s; }
.nav__burger.open span:first-child { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.open span:last-child  { transform: rotate(-45deg) translate(5px,-5px); }

/* ── BOTONES GLOBALES ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 0.9rem 2rem; border-radius: 50px;
  border: 2px solid transparent; cursor: none;
  transition: all var(--transition);
}
.btn--solid {
  background: var(--green-lime); color: var(--green-dark);
}
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(202,216,88,0.35); }

.btn--ghost {
  background: transparent; color: var(--green-lime);
  border-color: var(--green-lime);
}
.btn--ghost:hover { background: var(--green-lime); color: var(--green-dark); }

.btn--full { width: 100%; justify-content: center; border-radius: 14px; }
.btn__arrow { width: 18px; height: 18px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
  padding: 120px clamp(1.5rem,5vw,4rem) 4rem;
  max-width: 1280px; margin: 0 auto;
  position: relative;
}

/* Orbes de fondo */
.hero__orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero__orb--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(202,216,88,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: pulse-orb 6s ease-in-out infinite;
}
.hero__orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(235,173,203,0.1) 0%, transparent 70%);
  bottom: 0; left: -80px;
  animation: pulse-orb 8s ease-in-out 2s infinite;
}
@keyframes pulse-orb {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

.hero__copy { position: relative; z-index: 2; }
.hero__tag {
  display: inline-block;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800; margin-bottom: 1.5rem;
  color: var(--cream);
}
.hero__title em {
  font-style: normal; color: var(--green-lime);
}
.hero__sub {
  font-size: 1.2rem; line-height: 1.8;
  color: rgba(240,237,230,0.65); max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Visual hero */
.hero__visual { position: relative; z-index: 2; }
.hero__img-frame {
  position: relative;
  border-radius: 30px; overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  aspect-ratio: 4/5;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  background: var(--green-lime);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid #0d1f12;
  animation: badge-float 4s ease-in-out infinite;
}
.hero__badge img { width: 60px; }
@keyframes badge-float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(8deg); }
}

/* ── TICKER ──────────────────────────────────────────────── */
.ticker {
  overflow: hidden; white-space: nowrap;
  background: var(--green-lime);
  padding: 1.2rem 0;
  border-top: 2px solid #0d1f12; border-bottom: 2px solid #0d1f12;
}
.ticker__track {
  display: inline-block;
  animation: ticker-scroll 22s linear infinite;
}
.ticker__track span {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: var(--green-dark);
  margin: 0 1.5rem;
}
.ticker__track .sep { margin: 0; color: var(--green-dark); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION EYEBROW & TITLE ─────────────────────────────── */
.section__eyebrow {
  display: inline-block;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.section__head { margin-bottom: 3.5rem; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about { background: #111d15; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,6vw,5rem); align-items: center;
}
.about__text p {
  color: rgba(240,237,230,0.7); font-size: 1.1rem; line-height: 1.9;
  margin-bottom: 1.2rem;
}
.about__stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.about__stats li strong {
  display: block;
  font-family: 'Sora', sans-serif; font-size: 2.8rem; font-weight: 800;
  color: var(--green-lime);
}
.about__stats li span {
  font-size: 0.85rem; color: rgba(240,237,230,0.5); text-transform: uppercase; letter-spacing: 0.1em;
}

/* Logo orbit animation */
.about__visual { display: flex; justify-content: center; align-items: center; min-height: 440px; }
.logo-orbit {
  position: relative; width: 340px; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.logo-orbit__center {
  width: 150px; height: 150px;
  background: var(--green-lime); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 24px rgba(202,216,88,0.08), 0 0 0 48px rgba(202,216,88,0.04);
}
.logo-orbit__center img { width: 90px; }

.orbit-dot {
  position: absolute; font-size: 1.6rem;
  animation: orbit-spin 6s linear infinite;
  transform-origin: 170px center;
}
.orbit-dot--1 { color: var(--green-lime); animation-duration: 6s; }
.orbit-dot--2 { color: var(--pink);       animation-duration: 9s; animation-direction: reverse; font-size: 1.2rem; }
.orbit-dot--3 { color: var(--white);      animation-duration: 12s; font-size: 0.8rem; }
@keyframes orbit-spin {
  from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

/* ── SERVICIOS ───────────────────────────────────────────── */
.services { background: #0d1f12; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border-color: rgba(202,216,88,0.3);
}
.service-card--accent {
  background: rgba(202,216,88,0.04);
  border-color: rgba(202,216,88,0.12);
}
/* El rosa es más luminoso que el lima: a igual opacidad pesa más,
   así que va con alfa algo menor para igualar el peso visual del --accent. */
.service-card--dark {
  background: rgba(235,173,203,0.03);
  border-color: rgba(235,173,203,0.09);
}

.service-card__icon {
  width: 52px; height: 52px;
  background: rgba(202,216,88,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem; color: var(--green-lime);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.25rem; color: var(--cream); margin-bottom: 0.8rem; }
.service-card p  { font-size: 0.95rem; color: rgba(240,237,230,0.6); line-height: 1.7; margin-bottom: 1.2rem; }
.service-card__tag {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--pink);
}
.service-card__cta {
  display: inline-block; margin-top: 1.2rem;
  font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 700;
  color: var(--green-lime); transition: color 0.3s, transform 0.3s;
}
.service-card__cta:hover { color: var(--pink); transform: translateX(4px); }

/* ── PORTAFOLIO ──────────────────────────────────────────── */
.portfolio { background: #111d15; }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.pcard {
  border-radius: var(--radius); overflow: hidden;
  position: relative; background: var(--card-bg);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.pcard--wide { grid-column: span 2; }
.pcard--accent {
  border-color: rgba(202,216,88,0.25);
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 760px;
  width: min(100%, 760px);
}

.pcard__img {
  width: 100%; overflow: hidden;
  aspect-ratio: 16/9;
  position: relative; cursor: pointer;
}

/* Indicador de clic (play / expandir) sobre imagen o video */
.pcard__play-hint {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,31,18,0.35);
  opacity: 0; transition: opacity 0.3s ease;
}
.pcard__img:hover .pcard__play-hint { opacity: 1; }
.pcard__play-hint svg {
  width: 44px; height: 44px; color: var(--cream);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.pcard--wide .pcard__img { aspect-ratio: 21/9; }
.pcard__img img,
.pcard__video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.pcard:hover .pcard__img img,
.pcard:hover .pcard__video { transform: scale(1.05); }

/* Carrusel de fotos dentro de una pcard */
.pcard__carousel { position: relative; width: 100%; height: 100%; }
.pcard__carousel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.pcard__carousel img.is-active { opacity: 1; }

.pcard__social-link {
  display: inline-block; margin-top: 0.6rem;
  font-size: 0.85rem; font-weight: 700; color: var(--green-lime);
  transition: color 0.3s;
}
.pcard__social-link:hover { color: var(--pink); }

.section__note {
  font-size: 0.95rem; color: rgba(240,237,230,0.55); font-style: italic;
}

.pcard__info { padding: 1.6rem 2rem 2rem; }
.pcard__cat {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-lime);
  display: block; margin-bottom: 0.5rem;
}
.pcard__info h3 { font-size: 1.5rem; color: var(--cream); margin-bottom: 0.6rem; }
.pcard__info p  { font-size: 0.95rem; color: rgba(240,237,230,0.6); line-height: 1.7; }

.pcard__testimonial {
  margin-top: 1.8rem; padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
.pcard__quote {
  font-size: 0.9rem; color: rgba(240,237,230,0.7); line-height: 1.8;
  font-style: italic; margin-bottom: 1rem;
  position: relative; padding-left: 1.2rem;
}
.pcard__quote::before {
  content: '"';
  position: absolute; left: 0; top: -0.3rem;
  font-size: 2rem; color: var(--green-lime); opacity: 0.4;
}
.pcard__author {
  font-size: 0.85rem; font-weight: 700; color: var(--green-lime);
  font-family: 'Sora', sans-serif;
}

/* ── PROCESO ─────────────────────────────────────────────── */
.process { background: #0d1f12; }
/* Columnas explícitas en vez de auto-fit: con minmax(220px) las tarjetas
   se encogían por debajo de lo que necesita "Implementación" y el título
   se partía. Además 4 pasos siempre quedan parejos (4, 2x2 o 1). */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; counter-reset: steps;
}
@media (max-width: 1140px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr; }
}
.process__step {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 1.7rem 1.5rem;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--transition);
}
.process__step:hover { border-color: rgba(202,216,88,0.4); }
.process__num {
  font-family: 'Sora', sans-serif; font-size: 2.1rem; font-weight: 800;
  color: var(--green-lime); line-height: 1; flex-shrink: 0;
}
/* Sin min-width:0 el texto no puede encogerse y palabras largas como
   "Implementación" se desbordan fuera de la tarjeta. */
.process__step > div { min-width: 0; }
/* hyphens en vez de break-word: si algún día no cabe, corta con guion
   en lugar de partir la palabra a la mitad sin más. */
.process__step h4 { font-size: 1.05rem; color: var(--cream); margin-bottom: 0.5rem; hyphens: auto; }
.process__step p  { font-size: 0.9rem; color: rgba(240,237,230,0.6); line-height: 1.7; }

/* ── CONTACTO ────────────────────────────────────────────── */
.contact { background: #111d15; }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: flex-start;
}
.contact__text p { color: rgba(240,237,230,0.65); font-size: 1.1rem; line-height: 1.8; margin-bottom: 2.5rem; }
.contact__meta { display: flex; flex-direction: column; gap: 1rem; }
.contact__meta li {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 1rem; color: rgba(240,237,230,0.8);
}
.contact__meta svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--green-lime); }
.contact__meta a { transition: color 0.3s; }
.contact__meta a:hover { color: var(--green-lime); }

/* Formulario */
.contact__form {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 24px; padding: clamp(1.8rem,4vw,3rem);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.form__group label { font-family: 'Sora', sans-serif; font-size: 0.88rem; font-weight: 600; color: rgba(240,237,230,0.5); text-transform: uppercase; letter-spacing: 0.08em; }

.form__group input,
.form__group select,
.form__group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 0.9rem 1.1rem;
  color: var(--cream); font-family: 'Nunito', sans-serif; font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
  appearance: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(240,237,230,0.25); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--green-lime);
  box-shadow: 0 0 0 3px rgba(202,216,88,0.12);
}
.form__group select { cursor: none; }
.form__group select option { background: #111d15; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #0a1a0e;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
.footer__logo { height: 50px; opacity: 0.6; transition: opacity 0.3s; filter: brightness(2); }
.footer__logo:hover { opacity: 1; }
.footer__tagline { font-size: 0.95rem; font-style: italic; color: rgba(240,237,230,0.4); }
.footer__copy { font-size: 0.8rem; color: rgba(240,237,230,0.3); }

/* ── BOTÓN FLOTANTE WHATSAPP ─────────────────────────────── */
.wa-btn {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  display: flex; align-items: center; gap: 0.6rem;
  background: #25d366; color: white;
  padding: 0.8rem 1.4rem 0.8rem 1rem;
  border-radius: 50px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  animation: wa-pulse 2.5s infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-btn:hover { transform: scale(1.06) translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,0.55); animation: none; }
.wa-btn span { white-space: nowrap; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 6px 40px rgba(37,211,102,0.7); }
}

/* ── MODAL PORTAFOLIO (video / slider de fotos) ──────────── */
.modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6,14,9,0.92);
  backdrop-filter: blur(8px);
  cursor: none;
}

.modal__content {
  position: relative; z-index: 1;
  max-width: min(90vw, 900px); max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.94); transition: transform 0.3s ease;
}
.modal.is-open .modal__content { transform: scale(1); }

.modal__close {
  position: absolute; top: -52px; right: 0; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-lime); color: var(--green-dark);
  border: none; font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: transform 0.25s;
}
.modal__close:hover { transform: rotate(90deg); }

/* Video */
.modal__video-wrap { display: none; width: 100%; }
.modal__video-wrap.is-active { display: block; }
.modal__video-wrap video {
  width: 100%; max-height: 85vh; border-radius: 16px;
  display: block; background: #000;
}

/* Slider de fotos */
.modal__slider-wrap {
  display: none; position: relative;
  align-items: center; justify-content: center; gap: 1.2rem;
}
.modal__slider-wrap.is-active { display: flex; }
.modal__slider-wrap img {
  max-width: 100%; max-height: 78vh; border-radius: 16px;
  object-fit: contain; background: #000;
}
.modal__nav {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.1); border: 1px solid var(--border);
  color: var(--cream); font-size: 1.7rem; cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.2s, color 0.3s;
}
.modal__nav:hover { background: var(--green-lime); color: var(--green-dark); transform: scale(1.08); }
.modal__dots {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.modal__dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(240,237,230,0.3); transition: background 0.3s, transform 0.3s;
  cursor: none; display: block;
}
.modal__dots span.is-active { background: var(--green-lime); transform: scale(1.3); }

@media (max-width: 640px) {
  .modal { padding: 1.2rem; }
  .modal__nav { width: 38px; height: 38px; font-size: 1.4rem; }
  .modal__close { top: -44px; width: 38px; height: 38px; }
  .modal__slider-wrap { gap: 0.6rem; }
}

/* ── ANIMACIONES SCROLL (AOS custom lite) ────────────────── */
[data-aos] { opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos="fade-up"]    { transform: translateY(40px); }
[data-aos="fade-down"]  { transform: translateY(-30px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"]  { transform: translateX(40px); }
[data-aos="zoom-in"]    { transform: scale(0.88); }
[data-aos].aos-animate  { opacity: 1; transform: none; }
[data-aos-delay="60" ]  { transition-delay: 0.06s; }
[data-aos-delay="80" ]  { transition-delay: 0.08s; }
[data-aos-delay="100"]  { transition-delay: 0.10s; }
[data-aos-delay="120"]  { transition-delay: 0.12s; }
[data-aos-delay="150"]  { transition-delay: 0.15s; }
[data-aos-delay="160"]  { transition-delay: 0.16s; }
[data-aos-delay="180"]  { transition-delay: 0.18s; }
[data-aos-delay="200"]  { transition-delay: 0.20s; }
[data-aos-delay="240"]  { transition-delay: 0.24s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { max-width: 420px; margin: 0 auto; }
  .hero__sub    { margin: 0 auto 2.5rem; }
  .hero__actions { justify-content: center; }
  .about__grid  { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__menu {
    display: none; flex-direction: column; gap: 1.5rem; align-items: center;
    position: fixed; inset: 0; top: 70px;
    background: rgba(13,31,18,0.97); backdrop-filter: blur(10px);
    padding-top: 3rem;
    transition: opacity 0.3s;
  }
  .nav__menu.open { display: flex; }
  .nav__burger  { display: flex; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: span 1; }
  .form__row   { grid-template-columns: 1fr; }
  .wa-btn span { display: none; }
  .wa-btn { padding: 0.9rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .about__stats { flex-direction: column; gap: 1.5rem; }
  .hero__title  { font-size: 2.6rem; }
  .hero__actions { flex-direction: column; align-items: center; }
}
