/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #f7f3ee;
  --bg-2:        #ede6dc;
  --bg-3:        #e2d9cc;
  --ink:         #1a1714;
  --ink-soft:    #3d3530;
  --ink-mute:    #8b7d74;
  --accent:      #c45c3a;
  --accent-2:    #d4937a;
  --accent-3:    #f0e0d8;
  --line:        rgba(26, 23, 20, 0.12);
  --line-strong: rgba(26, 23, 20, 0.22);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter:    clamp(1rem, 3vw, 2rem);
  --container: min(1200px, 100% - 2 * var(--gutter));
  --nav-h:     64px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
ul[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 6px; font-size: .875rem;
}
.skip-link:focus { top: 1rem; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* =============================================================
   4. Cursor
   ============================================================= */
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 9000;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .3s var(--ease-out), width .2s var(--ease-out), height .2s var(--ease-out), background .2s;
    mix-blend-mode: multiply;
  }
  .cursor.is-ready { opacity: 1; }
  .cursor.is-hover {
    width: 28px; height: 28px;
    background: var(--accent-2);
  }
}

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(247, 243, 238, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin-left: auto;
}
.nav-links a {
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-social {
  display: flex;
  gap: .75rem;
  align-items: center;
}
.nav-social a {
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  transition: color .2s;
}
.nav-social a:hover { color: var(--accent); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  padding-bottom: 4rem;
  overflow: hidden;
  text-align: center;
}
.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.blob-1 {
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(196, 92, 58, 0.09) 0%, transparent 70%);
  top: -10%; left: -5%;
  animation: blobDrift1 25s ease-in-out infinite;
}
.blob-2 {
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(212, 147, 122, 0.12) 0%, transparent 70%);
  bottom: 0%; right: -5%;
  animation: blobDrift2 30s ease-in-out infinite;
}
@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -20px) scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .1s forwards;
}
.hero-name {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(5rem, 18vw, 13rem);
  line-height: .92;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-name-line {
  display: block;
  overflow: hidden;
}
.hero-name-word {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroWordReveal 1.2s var(--ease-out) forwards;
}
.hero-name-line:nth-child(1) .hero-name-word { animation-delay: .2s; }
.hero-name-line:nth-child(2) .hero-name-word { animation-delay: .36s; }
@keyframes heroWordReveal {
  to { transform: translateY(0); opacity: 1; }
}
.hero-categories {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) 1s forwards;
}
.hero-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: .5rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) 1.3s forwards;
}
.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: .55rem 1.1rem;
  transition: border-color .25s, background .25s, color .25s;
}
.hero-social-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}
.hero-social-link svg { flex-shrink: 0; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) 1.6s forwards;
}
.scroll-line {
  display: block;
  width: 1px; height: 40px;
  background: var(--line-strong);
  transform-origin: top;
  animation: scrollLinePulse 2s ease-in-out 1.8s infinite;
}
@keyframes scrollLinePulse {
  0%, 100% { scaleY(1); opacity: .6; }
  50% { transform: scaleY(0.5); opacity: 1; }
}
.scroll-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

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

/* =============================================================
   7. Section commons
   ============================================================= */
.section-kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-kicker--light { color: var(--accent-3); }
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* =============================================================
   8. Reveal animation
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Defensive: data-split must not be hidden (gotcha A.4.5) */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   9. Sobre mí
   ============================================================= */
.sobre-mi {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg);
}
.sobre-mi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 720px) {
  .sobre-mi-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
@media (min-width: 960px) {
  .sobre-mi-grid {
    grid-template-columns: 5fr 6fr;
    gap: clamp(4rem, 8vw, 7rem);
  }
}
.sobre-mi-image-wrap {
  position: relative;
}
.sobre-mi-figure {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-3);
}
.sobre-mi-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.sobre-mi-figure:hover img { transform: scale(1.04); }
.sobre-mi-image-tag {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: .5rem .9rem;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}
@media (max-width: 719px) {
  .sobre-mi-image-tag { right: 0; bottom: 1rem; }
}
.sobre-mi-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sobre-mi-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
}
.sobre-mi-title em {
  font-style: italic;
  color: var(--accent);
}
.sobre-mi-bio {
  font-size: clamp(.9rem, 1.6vw, 1.0625rem);
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 300;
}
.sobre-mi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin-top: .5rem;
}
.sobre-mi-tags li {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: .35rem .8rem;
  border-radius: 100px;
  transition: background .2s, color .2s;
}
.sobre-mi-tags li:hover {
  background: var(--accent);
  color: var(--bg);
}

/* =============================================================
   10. Marquee
   ============================================================= */
.marquee-strip {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: .9rem;
  gap: 0;
  user-select: none;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  flex-shrink: 0;
  padding-right: 1.5rem;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.marquee-track span[aria-hidden="true"] { color: var(--accent-2); font-size: .5rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   11. Tipos de contenido
   ============================================================= */
.content-types {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg);
}
.formats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}
@media (min-width: 720px) {
  .formats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.format-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out);
}
@media (hover: hover) {
  .format-card:hover {
    border-color: var(--accent-2);
    box-shadow: 0 12px 40px rgba(196, 92, 58, 0.1);
    transform: translateY(-4px);
  }
}
.format-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--accent-2);
}
.format-icon {
  color: var(--accent);
  opacity: .7;
}
.format-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--ink);
  letter-spacing: -.01em;
}
.format-desc {
  font-size: .8125rem;
  color: var(--ink-mute);
  line-height: 1.65;
  font-weight: 300;
}

/* =============================================================
   12. Portfolio
   ============================================================= */
.portfolio {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg-2);
}
.portfolio-block {
  margin-bottom: clamp(4rem, 8vw, 6rem);
}
.portfolio-block:last-child { margin-bottom: 0; }
.portfolio-block-title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--ink);
  margin-bottom: .5rem;
}
.portfolio-block-sub {
  font-size: .875rem;
  color: var(--ink-mute);
  font-weight: 300;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* TikTok carousel */
.tt-carousel {
  position: relative;
}
.tt-carousel-viewport {
  overflow: hidden;
  border-radius: 4px;
}
.tt-carousel-track {
  display: flex;
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  transition: transform .5s var(--ease-out);
  will-change: transform;
}
.tt-slide {
  flex: 0 0 calc((100% - 2 * clamp(.75rem, 1.5vw, 1.25rem)) / 3);
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-3);
}
/* On mobile: 1 visible */
@media (max-width: 719px) {
  .tt-slide {
    flex: 0 0 calc(100% - clamp(.75rem, 1.5vw, 1.25rem));
  }
}
/* On tablet: 2 visible */
@media (min-width: 720px) and (max-width: 959px) {
  .tt-slide {
    flex: 0 0 calc((100% - clamp(.75rem, 1.5vw, 1.25rem)) / 2);
  }
}
/* Video container — 9:16 portrait */
.tt-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 16/9 */
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
}
.tt-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.tt-brand {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  margin-top: .6rem;
}
/* Navigation */
.tt-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.tt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--bg);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
  flex-shrink: 0;
}
.tt-arrow:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: scale(1.08);
}
.tt-arrow:disabled {
  opacity: .3;
  cursor: not-allowed;
}
.tt-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.tt-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background .25s, transform .25s;
  cursor: pointer;
}
.tt-dot.is-active {
  background: var(--accent);
  transform: scale(1.4);
}

/* Masonry photo grid */
.masonry-grid {
  columns: 2;
  column-gap: clamp(.75rem, 2vw, 1.25rem);
}
@media (min-width: 720px) {
  .masonry-grid { columns: 3; }
}
@media (min-width: 1280px) {
  .masonry-grid { columns: 4; }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: clamp(.75rem, 2vw, 1.25rem);
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-3);
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform .55s var(--ease-out), filter .3s;
  filter: saturate(1);
}
@media (hover: hover) {
  .masonry-item:hover img {
    transform: scale(1.05);
    filter: saturate(1.1);
  }
}

/* =============================================================
   13. Colaboraciones
   ============================================================= */
.colaboraciones {
  position: relative;
  padding-block: clamp(6rem, 14vw, 11rem);
  overflow: hidden;
  background: var(--ink);
}
.colaboraciones-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(196, 92, 58, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(212, 147, 122, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.colaboraciones-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
}
.colaboraciones-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--bg);
  max-width: 14ch;
}
.colaboraciones-title em {
  font-style: italic;
  color: var(--accent-2);
}
.colaboraciones-sub {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: rgba(247, 243, 238, 0.6);
  font-weight: 300;
  line-height: 1.6;
}

/* =============================================================
   14. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: .85rem 2.2rem;
  transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease-out), box-shadow .25s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 92, 58, 0.3);
}
.btn-full { width: 100%; }

/* =============================================================
   15. Contacto
   ============================================================= */
.contacto {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 720px) {
  .contacto-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: clamp(3rem, 6vw, 6rem);
  }
}
.contacto-title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.contacto-sub {
  font-size: .9375rem;
  color: var(--ink-mute);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contacto-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contacto-social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .25s, background .25s, transform .2s var(--ease-out);
}
@media (hover: hover) {
  .contacto-social-link:hover {
    border-color: var(--accent);
    background: var(--accent-3);
    transform: translateX(4px);
  }
}
.contacto-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--accent);
  flex-shrink: 0;
}
.contacto-social-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.contacto-social-text strong {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
}
.contacto-social-text em {
  font-style: normal;
  font-size: .8rem;
  color: var(--ink-mute);
}

/* Form */
.contacto-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contacto-form-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.375rem;
  color: var(--ink);
  margin-bottom: .25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-field label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-field input,
.form-field textarea {
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .75rem 1rem;
  transition: border-color .2s, background .2s;
  outline: none;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.form-field textarea { min-height: 110px; }
.form-note {
  font-size: .75rem;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.5;
  font-weight: 300;
}

/* =============================================================
   16. Footer
   ============================================================= */
.footer {
  background: var(--ink);
  padding-block: 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  color: var(--bg);
  letter-spacing: -.01em;
}
.footer-social {
  display: flex;
  gap: .875rem;
  align-items: center;
}
.footer-social a {
  color: rgba(247, 243, 238, .45);
  display: flex;
  align-items: center;
  transition: color .2s;
}
.footer-social a:hover { color: var(--accent-2); }
.footer-copy {
  font-size: .75rem;
  color: rgba(247, 243, 238, .35);
  letter-spacing: .05em;
}

/* =============================================================
   17. Mobile nav (hamburger open state)
   ============================================================= */
@media (max-width: 719px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(247, 243, 238, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 490;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.25rem;
    letter-spacing: .05em;
  }
  .nav-social { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 720px) {
  .nav-burger { display: none; }
}

/* =============================================================
   18. Scroll reveal stagger delays
   ============================================================= */
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* =============================================================
   19. Responsive — misc overrides
   ============================================================= */
@media (max-width: 539px) {
  .hero-social { flex-direction: column; }
  .formats-grid { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* =============================================================
   20. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .blob-1, .blob-2 { animation: none; }
  .marquee-track { animation-duration: 60s; }
  .scroll-line { animation: none; }
  /* DO NOT disable: hover effects, reveals, form transitions */
}
