/* ============================================================
   MILAGROS RAMÍREZ — Portfolio
   Sistema de diseño editorial (revista de moda)
   ============================================================ */

:root {
  /* Paleta */
  --negro: #14100f;
  --negro-90: rgba(20, 16, 15, 0.9);
  --crema: #f3e9e2;
  --crema-suave: #f8f1ec;
  --rosa: #e7a6c4;
  --rosa-fuerte: #d96fa0;
  --vino: #5e1f33;
  --vino-claro: #7a2a44;
  --texto: #2a2320;
  --texto-suave: #6b5e57;

  /* Tipografía (roles) */
  --serif: "Playfair Display", Georgia, serif;       /* títulos display */
  --script: "Great Vibes", cursive;                  /* acento rosa */
  --sans: "Montserrat", system-ui, sans-serif;       /* cuerpo */
  --mono: "JetBrains Mono", monospace;               /* detalles/kickers */

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 6px;
}

/* ------------------ Reset ------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--texto);
  background: var(--crema-suave);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ------------------ Atmósfera global ------------------ */
/* Grano de película (revista impresa) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--rosa-fuerte); color: var(--crema); }

html { scrollbar-color: var(--vino) var(--crema); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--crema); }
::-webkit-scrollbar-thumb { background: var(--vino); border-radius: 20px; border: 3px solid var(--crema); }
::-webkit-scrollbar-thumb:hover { background: var(--vino-claro); }

/* ------------------ Tipografía utilitaria ------------------ */
.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rosa-fuerte);
  margin-bottom: 1rem;
}
.section__kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section__kicker--light { color: var(--rosa); }

.section__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--vino);
  margin-bottom: 1.5rem;
}
.section__title--light { color: var(--crema); }

.script-accent {
  font-family: var(--script);
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--rosa-fuerte);
  line-height: 1;
}
.script-accent--light { color: var(--rosa); }

.lead { font-size: 1.15rem; color: var(--texto); margin-bottom: 1.2rem; }
.about__text p, .method p { margin-bottom: 1.1rem; }

/* ------------------ Botones ------------------ */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}
.btn--light {
  background: var(--crema);
  color: var(--vino);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn--light:hover { transform: translateY(-3px); background: #fff; }

/* ------------------ Fotos reales conectadas ------------------ */
.hero .hero__media[data-img] {
  background-image: url("assets/portada.jpg");
  background-size: cover;
  background-position: center 18%;
  background-blend-mode: normal;
}
.about .about__media[data-img] {
  background-image: url("assets/retrato.jpg");
  background-size: cover;
  background-position: center 22%;
  background-blend-mode: normal;
}
/* Ocultar el cartel de placeholder cuando ya hay foto real */
.hero__media .placeholder-tag,
.about__media .placeholder-tag { display: none; }

/* ------------------ Placeholders de imagen ------------------ */
[data-img] {
  position: relative;
  background:
    linear-gradient(135deg, rgba(94,31,51,.55), rgba(20,16,15,.7)),
    repeating-linear-gradient(45deg, var(--vino-claro) 0 22px, var(--vino) 22px 44px);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}
.placeholder-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crema);
  background: rgba(0,0,0,.45);
  padding: .35rem .6rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled {
  background: var(--crema-suave);
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
  padding-top: .8rem; padding-bottom: .8rem;
}
.nav__brand {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--crema);
}
.nav__brand span { color: var(--rosa); }
.nav.is-scrolled .nav__brand { color: var(--vino); }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--crema);
  position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--rosa-fuerte);
  transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav.is-scrolled .nav__links a { color: var(--texto); }
.nav__cta {
  border: 1px solid currentColor;
  padding: .5rem 1.1rem;
  border-radius: 40px;
}
.nav__cta::after { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--crema);
  transition: .3s; border-radius: 2px;
}
.nav.is-scrolled .nav__toggle span { background: var(--vino); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--crema);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,15,.35) 0%, rgba(20,16,15,.15) 40%, rgba(20,16,15,.85) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(3rem, 9vh, 7rem);
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--mono);
  letter-spacing: .5em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 1rem;
  color: var(--rosa);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3.5rem, 13vw, 9rem);
  line-height: .88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  text-shadow: 0 6px 40px rgba(0,0,0,.4);
}
.hero__roles {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-bottom: 2.2rem;
}
.hero__roles li {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  position: relative;
  padding-left: 1.2rem;
}
.hero__roles li::before {
  content: "✦"; position: absolute; left: 0; color: var(--rosa-fuerte);
}
.hero__scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(243,233,226,.6);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; border-radius: 3px; background: var(--rosa);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:24px} 100%{opacity:0} }

/* Masthead de revista (esquinas del hero) */
.hero__masthead {
  position: absolute;
  top: clamp(5rem, 12vh, 7rem);
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0 var(--gutter);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(243,233,226,.75);
  opacity: 0;
  animation: heroIn .9s ease forwards .2s;
}
.hero__masthead::before,
.hero__masthead::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: rgba(243,233,226,.35);
}
.hero__masthead-mid { color: var(--rosa); letter-spacing: 0; }

/* Entrada escalonada del hero */
.hero__eyebrow { opacity: 0; animation: heroIn .9s ease forwards .35s; }
.hero__title   { opacity: 0; animation: heroIn 1.1s cubic-bezier(.2,.7,.2,1) forwards .5s; }
.hero__roles   { opacity: 0; animation: heroIn .9s ease forwards .8s; }
.hero__content .btn { opacity: 0; animation: heroIn .9s ease forwards 1s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--negro);
  color: var(--crema);
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(243,233,226,.12);
  border-bottom: 1px solid rgba(243,233,226,.12);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  white-space: nowrap;
  padding-right: .4rem;
}
.marquee__track i { color: var(--rosa-fuerte); font-style: normal; padding: 0 .3rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ÍNDICE
   ============================================================ */
.index {
  background: var(--vino);
  color: var(--crema);
  text-align: center;
  padding: clamp(4rem, 12vh, 8rem) var(--gutter);
}
.index .script-accent { margin-bottom: 2.5rem; display: block; }
.index__list {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: .4rem;
}
.index__list a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(243,233,226,.14);
  transition: color .25s, padding-left .25s, background .25s;
}
.index__list span {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--rosa);
  letter-spacing: .1em;
}
.index__list a:hover {
  color: var(--rosa);
  padding-left: 1.8rem;
  background: rgba(231,166,196,.05);
}

/* ============================================================
   SOBRE MÍ
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) var(--gutter);
}
.about__media {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(94,31,51,.18);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services {
  background: var(--crema);
  padding: clamp(4rem, 12vh, 8rem) var(--gutter);
}
.services__head { max-width: var(--maxw); margin: 0 auto 3rem; }
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: linear-gradient(158deg, var(--vino-claro) 0%, var(--vino) 55%, #4a1828 100%);
  border: 1px solid rgba(231,166,196,.18);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: 0 18px 40px rgba(74,24,40,.22);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(74,24,40,.32);
  border-color: var(--rosa);
}
.service-card__title {
  font-family: var(--script);
  font-size: 2.3rem;
  color: var(--rosa);
  margin-bottom: 1.2rem;
  line-height: 1;
}
.service-card ul { display: grid; gap: .55rem; }
.service-card li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .92rem;
  color: rgba(243,233,226,.85);
}
.service-card li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rosa);
}

/* ============================================================
   METODOLOGÍA
   ============================================================ */
.method {
  background: var(--negro);
  color: var(--crema);
  padding: clamp(4rem, 12vh, 8rem) var(--gutter);
}
.method__inner { max-width: var(--maxw); margin: 0 auto; }
.method .script-accent { margin: .4rem 0 2.5rem; display: block; }
.method__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.method__cols ul { display: grid; gap: 1rem; align-content: start; }
.method__cols li {
  position: relative;
  padding-left: 1.8rem;
  color: rgba(243,233,226,.82);
  font-size: .98rem;
}
.method__cols li::before {
  content: "—"; position: absolute; left: 0; color: var(--rosa);
}

/* ============================================================
   TRABAJOS
   ============================================================ */
.works {
  padding: clamp(4rem, 12vh, 8rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.works__head { text-align: center; margin-bottom: 2.5rem; }
.works__head .script-accent { display: block; margin-top: .5rem; }

.works__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 2.5rem;
}
.chip {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1.3rem;
  border-radius: 40px;
  border: 1px solid rgba(94,31,51,.25);
  background: transparent;
  color: var(--vino);
  cursor: pointer;
  transition: all .25s;
}
.chip:hover { border-color: var(--rosa-fuerte); }
.chip.is-active {
  background: var(--vino);
  color: var(--crema);
  border-color: var(--vino);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}
.work-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease;
}
.work-card:hover { transform: scale(1.02); }
.work-card__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(20,16,15,0) 40%, rgba(20,16,15,.85) 100%);
  opacity: .85; transition: opacity .3s;
}
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__cat {
  font-family: var(--mono);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rosa); margin-bottom: .3rem;
}
.work-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--crema);
  line-height: 1;
}
.work-card.is-hidden { display: none; }

/* Tarjeta de reel: botón play centrado */
.work-card--reel { background-color: var(--vino); }
.work-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(243,233,226,.92);
  color: var(--vino);
  padding-left: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .3s ease, background .3s ease;
}
.work-card--reel:hover .work-card__play {
  transform: translate(-50%, -50%) scale(1.12);
  background: #fff;
}
.work-card--reel { cursor: pointer; }
.work-card--reel:focus-visible { outline: 3px solid var(--rosa-fuerte); outline-offset: 3px; }

/* ============================================================
   LIGHTBOX (visor de reels)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(20,16,15,.85);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; animation: lbFade .3s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
}
.lightbox__loader {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crema);
  text-align: center;
  padding: 3rem 0;
}
.lightbox__close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  z-index: 210;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 2rem; line-height: 1;
  color: var(--crema);
  background: rgba(0,0,0,.35);
  border: none; border-radius: 50%;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.lightbox__close:hover { background: var(--rosa-fuerte); transform: rotate(90deg); }
.lightbox .instagram-media { margin: 0 auto !important; }

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery {
  background: var(--crema);
  padding: clamp(4rem, 12vh, 8rem) var(--gutter);
}
.gallery__head { text-align: center; margin-bottom: 2.5rem; }
.gallery__head .script-accent { display: block; margin-top: .5rem; }
.gallery__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: default;
  transition: transform .4s ease, box-shadow .4s ease;
}
.gallery-item[role="button"] { cursor: pointer; }
.gallery-item[role="button"]::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(94,31,51,0);
  transition: background .35s ease;
}
.gallery-item[role="button"]:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(94,31,51,.2); }
.gallery-item[role="button"]:hover::after { background: rgba(94,31,51,.12); }
.gallery-item:focus-visible { outline: 3px solid var(--rosa-fuerte); outline-offset: 3px; }

@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
}

/* Visor en modo imagen */
.lightbox--image .lightbox__inner {
  max-width: min(92vw, 760px);
  border-radius: 10px;
}
.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
}

/* ============================================================
   TARIFAS
   ============================================================ */
.rates {
  background:
    linear-gradient(160deg, var(--vino) 0%, var(--negro) 100%);
  color: var(--crema);
  text-align: center;
  padding: clamp(4rem, 14vh, 9rem) var(--gutter);
}
.rates__inner { max-width: 700px; margin: 0 auto; }
.rates__lead { font-size: 1.1rem; color: rgba(243,233,226,.85); margin: 0 auto 1.5rem; max-width: 480px; }
.rates .script-accent { display: block; margin-bottom: 2rem; }
.rates__pills {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem;
  margin-bottom: 2.5rem;
}
.rates__pills span {
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(231,166,196,.4);
  padding: .55rem 1.3rem; border-radius: 40px;
  color: var(--rosa);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  background: var(--crema);
  padding: clamp(4rem, 12vh, 8rem) var(--gutter) 0;
}
.contact__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.contact__sub { font-size: 1.1rem; color: var(--texto-suave); margin-bottom: 3rem; }
.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}
.contact-card {
  background: var(--crema-suave);
  border: 1px solid rgba(94,31,51,.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: left;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(94,31,51,.14);
  border-color: var(--rosa-fuerte);
}
.contact-card__label {
  display: block;
  font-family: var(--mono);
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rosa-fuerte); margin-bottom: .5rem;
}
.contact-card__value {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--vino);
  word-break: break-word;
}
/* El correo es largo: lo achicamos y lo mantenemos en una sola línea */
.contact-card--email .contact-card__value {
  font-size: clamp(0.85rem, 2.6vw, 1rem);
  white-space: nowrap;
  letter-spacing: -0.01em;
  word-break: normal;
}

.footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(94,31,51,.12);
  padding: 2rem var(--gutter);
  text-align: center;
}
.footer p {
  font-family: var(--mono);
  font-size: .68rem; letter-spacing: .1em;
  color: var(--texto-suave);
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   REVEAL (scroll animation)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .method__cols { grid-template-columns: 1fr; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 2.4rem;
    background: var(--vino);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.7,0,.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--crema) !important; font-size: 1rem; }
  .nav__cta { border-color: var(--rosa); }

  .nav.is-menu-open .nav__toggle span { background: var(--crema); }
  .nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 520px) {
  .hero__roles { flex-direction: column; gap: .5rem; }
  .works__grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .work-card__title { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
