/* ============================================
   SABALSAGARAY AUDIOVISUALES — v1
   Estética: timeline de edición / reproductor
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --fg: #f5f4f0;
  --fg-dim: #8a8a86;
  --brand: #ff7e00;
  --brand-dim: rgba(255, 126, 0, 0.28);
  --rule: rgba(245, 244, 240, 0.09);
  --font-display: 'Fraunces', serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
  padding-bottom: 78px; /* espacio para el scrubber fijo */
}

a { color: inherit; }

::selection { background: var(--brand); color: #0a0a0a; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ============ SCRUBBER (nav fija tipo timeline) ============ */

.scrubber {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
  padding: 14px 24px 10px;
}

.scrubber__track {
  position: relative;
  height: 3px;
  background: var(--rule);
  border-radius: 2px;
  margin-bottom: 8px;
}

.scrubber__fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(.4,0,.2,1);
}

.scrubber__marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  color: var(--fg-dim);
}

.scrubber__marker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--fg-dim);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.scrubber__marker:hover::before,
.scrubber__marker:hover .scrubber__code,
.scrubber__marker:hover .scrubber__label {
  color: var(--brand);
  border-color: var(--brand);
}

.scrubber__code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.scrubber__label {
  font-size: 0.7rem;
  display: none;
}

@media (min-width: 640px) {
  .scrubber__label { display: inline; }
}

.scrubber__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-dim);
}

.scrubber__playhead-code { color: var(--brand); }

/* ============ HERO ============ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.hero__mosaic {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 3px;
}

.hero__tile {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero__tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) brightness(0.82);
}

.hero__tile--1 { grid-column: 1 / 4; grid-row: 1 / 3; }
.hero__tile--2 { grid-column: 4 / 6; grid-row: 1 / 2; }
.hero__tile--3 { grid-column: 6 / 7; grid-row: 1 / 4; }
.hero__tile--4 { grid-column: 4 / 5; grid-row: 2 / 3; }
.hero__tile--5 { grid-column: 5 / 6; grid-row: 2 / 3; }
.hero__tile--6 { grid-column: 1 / 3; grid-row: 3 / 5; }
.hero__tile--7 { grid-column: 3 / 6; grid-row: 3 / 4; }
.hero__tile--8 { grid-column: 3 / 7; grid-row: 4 / 5; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 52% at 50% 50%, rgba(6,6,6,0.74) 0%, rgba(6,6,6,0.4) 52%, rgba(6,6,6,0.08) 76%, transparent 88%);
}

.hero__frame {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 1.1s cubic-bezier(.16,1,.3,1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  width: clamp(300px, 60vw, 820px);
  height: auto;
  margin-bottom: 40px;
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--fg);
  max-width: 34ch;
  text-align: center;
  margin-bottom: 14px;
}

.hero__steps {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 56px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero__cta--primary {
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

.hero__cta--primary:hover {
  background: var(--brand);
  color: #0a0a0a;
}

.hero__cta--ghost {
  color: var(--fg-dim);
  border: 1.5px solid var(--rule);
  background: rgba(10,10,10,0.3);
}

.hero__cta--ghost:hover {
  border-color: var(--fg-dim);
  color: var(--fg);
}

.hero__coords {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

@media (max-width: 560px) {
  .hero__coords { flex-direction: column; gap: 4px; text-align: center; }
}

@media (max-width: 720px) {
  .hero__tile--4, .hero__tile--5 { display: none; }
  .hero__tile--1 { grid-column: 1 / 5; grid-row: 1 / 3; }
  .hero__tile--2 { grid-column: 5 / 7; grid-row: 1 / 2; }
  .hero__tile--7 { grid-column: 5 / 7; grid-row: 2 / 3; }
}

/* ============ CHAPTERS (secciones) ============ */

.chapter {
  max-width: 900px;
  margin: 0 auto;
  padding: 220px 24px;
  border-top: 1px solid var(--rule);
}

.chapter__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 88px;
}

.chapter__index {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--brand);
}

.chapter__title-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Ritmo: las secciones que muestran trabajo pesan más; las que explican filosofía, menos */
#showreel, #seleccion {
  padding-top: 260px;
  padding-bottom: 260px;
}

#showreel .chapter__title-eyebrow, #seleccion .chapter__title-eyebrow {
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
}

#mirada, #contacto {
  padding-top: 170px;
  padding-bottom: 170px;
}

#mirada .chapter__title-eyebrow, #contacto .chapter__title-eyebrow {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .chapter { padding: 160px 24px; }
  #showreel, #seleccion { padding-top: 190px; padding-bottom: 190px; }
  #mirada, #contacto { padding-top: 130px; padding-bottom: 130px; }
}

@media (max-width: 480px) {
  #showreel, #seleccion { padding-top: 160px; padding-bottom: 160px; }
  #mirada, #contacto { padding-top: 120px; padding-bottom: 120px; }
}

/* --- Showreel --- */

.chapter--showreel {
  padding-bottom: 0;
}

.showreel__cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-raised);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.showreel__cover.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.showreel__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.62);
  transition: filter 0.6s ease, transform 1.2s cubic-bezier(.16,1,.3,1);
}

.showreel__cover:hover img {
  filter: brightness(0.5);
  transform: scale(1.02);
}

.showreel__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,0.35) 100%);
}

.showreel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: rgba(10,10,10,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), background 0.3s ease;
}

.showreel__play svg {
  width: 26px;
  height: 26px;
  fill: var(--brand);
  margin-left: 4px;
}

.showreel__cover:hover .showreel__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--brand);
}

.showreel__cover:hover .showreel__play svg {
  fill: #0a0a0a;
}

@media (max-width: 720px) {
  .showreel__play { width: 64px; height: 64px; }
  .showreel__play svg { width: 20px; height: 20px; }
}

/* --- Modal de video --- */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

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

.modal__frame {
  position: relative;
  width: min(1100px, 100%);
  z-index: 1;
  animation: modalRise 0.5s cubic-bezier(.16,1,.3,1);
}

@keyframes modalRise {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.modal__video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--fg-dim);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal__close:hover {
  color: var(--brand);
}

/* --- Manifesto (01) --- */

.manifesto__line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--fg-dim);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.manifesto__line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.manifesto__line--brand {
  color: var(--fg);
  font-weight: 500;
  margin-top: 12px;
}

/* --- Tracklist (02) --- */

.tracklist {
  list-style: none;
}

.tracklist__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.25s ease, padding-left 0.25s ease;
}

.tracklist__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tracklist__item:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, var(--brand-dim), transparent);
}

.tracklist__num {
  font-family: var(--font-mono);
  color: var(--brand);
  font-size: 0.85rem;
  width: 24px;
  flex-shrink: 0;
}

.tracklist__name { flex: 1; font-weight: 400; }

.tracklist__dur {
  font-family: var(--font-mono);
  color: var(--fg-dim);
  font-size: 0.85rem;
}

.chapter__intro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 400;
  color: var(--fg-dim);
  max-width: 46ch;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.chapter__intro.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chapter__lead {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--fg);
  max-width: 56ch;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.chapter__lead.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Proceso (02) --- */

.process {
  list-style: none;
}

.process__step {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.process__step:last-child {
  border-bottom: 1px solid var(--rule);
}

.process__step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.process__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand);
  flex-shrink: 0;
  width: 32px;
  padding-top: 6px;
}

.process__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 10px;
}

.process__text {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 48ch;
}

/* --- Lenguaje visual (03) --- */

.language-index {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.language-index.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.language-index span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
}

/* --- Selección (04) --- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.gallery__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(35%) brightness(0.92);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.gallery__item:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.04);
}

@media (max-width: 980px) and (min-width: 721px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
}

/* --- Selección — piezas editoriales --- */

.feature {
  margin-bottom: 168px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.feature.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature:last-of-type {
  margin-bottom: 72px;
}

/* Exposición, no catálogo: las piezas pares muestran imagen y texto lado a lado */
.feature:nth-of-type(even) {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 36px;
  align-items: end;
}

.feature:nth-of-type(even) .feature__image {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .feature:nth-of-type(even) {
    display: block;
  }
  .feature:nth-of-type(even) .feature__image {
    margin-bottom: 28px;
  }
}

.feature__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 28px;
}

.feature__image--portrait {
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin-left: auto;
  margin-right: auto;
}

.feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}

.feature:hover .feature__image img {
  transform: scale(1.03);
}

.feature__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}

.feature:hover .feature__video {
  transform: scale(1.03);
}

.feature__category {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 8px;
}

.feature__text {
  font-size: 0.98rem;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.feature__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.feature__link:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.reveal-more {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--fg-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 14px 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1), color 0.3s ease;
}

.reveal-more.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-more:hover {
  color: var(--brand);
}

.reveal-more__icon {
  width: 14px;
  height: 14px;
  transition: transform 0.4s ease;
}

.reveal-more__icon.is-rotated {
  transform: rotate(180deg);
}

.gallery--extra {
  display: none;
  margin-top: 56px;
}

.gallery--extra.is-open {
  display: grid;
  animation: extraFadeIn 0.9s cubic-bezier(.16,1,.3,1);
}

@keyframes extraFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .feature { margin-bottom: 108px; }
}

/* --- Contacto (04) --- */

.contact__line {
  color: var(--fg-dim);
  font-size: 1.05rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
}

.contact__big-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 6px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1), color 0.3s ease;
}

.contact__big-link:hover { color: var(--brand); }

.contact__socials {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--fg-dim);
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--rule);
  border-radius: 50%;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.contact__line.is-visible,
.contact__big-link.is-visible,
.contact__socials.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FOOTER ============ */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 24px 100px;
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.social-icon--footer {
  width: 32px;
  height: 32px;
  border-color: transparent;
}

.social-icon--footer svg {
  width: 15px;
  height: 15px;
}

.footer__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .chapter { padding: 140px 20px; }
  .chapter__head { margin-bottom: 56px; }
  .footer { justify-content: center; text-align: center; }
}

/* ============ WHATSAPP FLOTANTE ============ */

.whatsapp-float {
  position: fixed;
  bottom: 78px;
  right: 28px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--rule);
  color: var(--fg);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(10, 10, 10, 0.92);
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 68px;
    right: 18px;
    width: 46px;
    height: 46px;
  }
  .whatsapp-float svg {
    width: 21px;
    height: 21px;
  }
}

/* --- Sobre mí --- */

.about {
  max-width: 640px;
}

.about__line {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-dim);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}

.about__line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about .reveal-more {
  margin: 8px 0 0;
}

.about__full {
  display: none;
  margin-top: 32px;
}

.about__full.is-open {
  display: block;
  animation: extraFadeIn 0.9s cubic-bezier(.16,1,.3,1);
}

.about__full p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-dim);
  margin-bottom: 22px;
}
