/* ============================================================
   ARTE MEXICANO VIVO — tokens
   Paleta muestreada directamente del cuadernillo impreso
   ============================================================ */
:root{
  --noche:   #12100C;   /* fondo fotográfico, negro cálido */
  --noche-2: #1C1913;
  --olivo:   #B3B969;   /* verde del isotipo — acento único */
  --salvia:  #8A875E;   /* bloque del prólogo */
  --barro:   #DCAF8F;   /* rosa arcilla, hoja de técnicas */
  --papel:   #F3E2D4;   /* papel tintado */
  --oro:     #C89751;
  --tierra:  #A46E46;   /* café cálido, hoja de legado */
  --tierra-d:#96613B;   /* variante oscura para texto sobre color */
  --tinta:   #241F17;

  --display: 'Jost', 'Futura', 'Avenir Next', 'Century Gothic', sans-serif;
  --texto:   'Spectral', 'Iowan Old Style', Georgia, serif;

  --gut: clamp(1.5rem, 5vw, 5.5rem);
  --max: 1320px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important}
}
body{
  margin:0; background:var(--noche); color:var(--papel);
  font-family:var(--texto); font-weight:300;
  font-size:clamp(1rem,.95rem + .25vw,1.125rem); line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--olivo); outline-offset:4px; border-radius:2px}

.wrap{max-width:var(--max); margin-inline:auto; padding-inline:var(--gut)}
.eyebrow{
  font-family:var(--display); font-weight:500; font-size:.6875rem;
  letter-spacing:.34em; text-transform:uppercase; opacity:.72; margin:0;
}
.rule{height:1px; border:0; background:currentColor; opacity:.18; margin:0}

/* ---------- Barra superior ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:.9rem var(--gut);
  background:rgba(18,16,12,.72); backdrop-filter:blur(14px) saturate(1.4);
  border-bottom:1px solid rgba(179,185,105,.16);
}
.brand{display:flex; align-items:center; gap:.7rem; text-decoration:none}
.brand img{width:30px; height:30px}
.brand span{
  font-family:var(--display); font-weight:300; font-size:.8125rem;
  letter-spacing:.24em; text-transform:uppercase; color:var(--olivo);
}
.brand span b{font-weight:600; font-style:italic}
.nav{display:flex; align-items:center; gap:2rem}
.nav a{
  font-family:var(--display); font-size:.75rem; font-weight:400;
  letter-spacing:.16em; text-transform:uppercase; text-decoration:none;
  opacity:.7; transition:opacity .25s, color .25s;
}
.nav a:hover{opacity:1; color:var(--olivo)}
@media (max-width:820px){ .nav a:not(.btn){display:none} }

.btn{
  display:inline-block; font-family:var(--display); font-weight:500;
  font-size:.75rem; letter-spacing:.16em; text-transform:uppercase;
  text-decoration:none; padding:.75em 1.6em; border-radius:999px;
  border:1px solid var(--olivo); color:var(--olivo); opacity:1 !important;
  transition:background .3s, color .3s;
}
.btn:hover{background:var(--olivo); color:var(--noche)}
.btn--solid{background:var(--olivo); color:var(--noche)}
.btn--solid:hover{background:transparent; color:var(--olivo)}

/* ============================================================
   HERO — la vitrina
   ============================================================ */
.hero{position:relative; overflow:hidden; background:var(--noche)}
.hero__glow{
  position:absolute; left:58%; top:46%; width:min(120vw,1100px); aspect-ratio:1;
  translate:-50% -50%; pointer-events:none;
  background:radial-gradient(circle, rgba(179,185,105,.20) 0%, rgba(200,151,81,.10) 34%, transparent 68%);
  animation:bloom 1.8s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes bloom{from{opacity:0; scale:.7} to{opacity:1; scale:1}}

.hero__grid{
  position:relative; max-width:var(--max); margin-inline:auto;
  padding:clamp(3rem,7vw,6rem) var(--gut) 0;
  display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(1rem,4vw,3rem);
  align-items:start; min-height:min(82vh,760px);
}
@media (max-width:900px){
  .hero__grid{grid-template-columns:1fr; min-height:0; padding-bottom:2rem}
}

.hero__mark{width:74px; height:74px; margin-bottom:1.6rem}
.wordmark{margin:0 0 1.4rem; font-family:var(--display); color:var(--olivo); line-height:.94}
.wordmark .l1{
  display:block; font-weight:200; font-size:clamp(2.4rem,7.2vw,4.6rem);
  letter-spacing:.055em;
}
.wordmark .l2{
  display:block; font-weight:600; font-style:italic;
  font-size:clamp(2.4rem,7.2vw,4.6rem); letter-spacing:.03em;
}
.hero__epi{
  font-size:clamp(1.05rem,1.7vw,1.35rem); font-weight:200; line-height:1.55;
  max-width:34ch; color:#EDE3D6; margin:0 0 1.1rem;
}
.hero__epi em{font-style:italic; color:var(--olivo)}
.hero__sub{max-width:38ch; opacity:.72; font-size:1rem; margin:0 0 2.2rem}
.hero__cta{display:flex; flex-wrap:wrap; gap:.85rem; align-items:center}

.hero__piece{position:relative; justify-self:center}
.hero__piece::after{
  content:""; position:absolute; z-index:0; left:50%; bottom:2%;
  width:56%; aspect-ratio:5/1; translate:-50% 0;
  background:radial-gradient(ellipse at center, rgba(0,0,0,.5) 0%, transparent 72%);
  filter:blur(6px); animation:hero-shadow 5s ease-in-out 1.7s infinite; pointer-events:none;
}
.hero__piece img{
  position:relative; z-index:1;
  width:min(100%,640px); mix-blend-mode:lighten;
  -webkit-mask-image:radial-gradient(ellipse 78% 84% at 50% 46%, #000 62%, transparent 100%);
          mask-image:radial-gradient(ellipse 78% 84% at 50% 46%, #000 62%, transparent 100%);
  animation:rise 1.5s cubic-bezier(.2,.7,.3,1) .15s both,
            hero-float 5s ease-in-out 1.7s infinite;
}
@keyframes rise{from{opacity:0; translate:0 34px} to{opacity:1; translate:0 0}}
@keyframes hero-float{
  0%,100%{translate:0 0}
  50%{translate:0 -18px}
}
@keyframes hero-shadow{
  0%,100%{opacity:.5; scale:1}
  50%{opacity:.3; scale:.86}
}

.ticker{
  border-top:1px solid rgba(179,185,105,.18);
  border-bottom:1px solid rgba(179,185,105,.18);
  overflow:hidden; padding:.85rem 0; margin-top:clamp(2rem,5vw,3.5rem);
}
.ticker__track{
  display:flex; gap:2.6rem; white-space:nowrap; width:max-content;
  font-family:var(--display); font-size:.75rem; font-weight:400;
  letter-spacing:.3em; text-transform:uppercase; color:var(--olivo); opacity:.75;
  animation:slide 34s linear infinite;
}
.ticker:hover .ticker__track{animation-play-state:paused}
@keyframes slide{from{transform:translateX(0)} to{transform:translateX(-50%)}}

/* ============================================================
   PRÓLOGO — bloque salvia
   ============================================================ */
.prologo{position:relative; background:var(--salvia); color:#1F1D14; overflow:hidden}
.prologo__inner{
  max-width:var(--max); margin-inline:auto; padding:clamp(3.25rem,7vw,6rem) var(--gut);
  display:grid; grid-template-columns:.95fr 1.05fr; gap:clamp(2rem,6vw,5rem); align-items:center;
}
@media (max-width:900px){ .prologo__inner{grid-template-columns:1fr} }
.prologo__piece{margin-left:calc(var(--gut) * -1)}
.prologo__piece img{
  width:calc(100% + var(--gut)); max-width:none;
  margin-left:-.75rem;
  filter:drop-shadow(0 26px 40px rgba(0,0,0,.30));
}
@media (max-width:900px){
  .prologo__piece{margin-left:calc(var(--gut) * -1); margin-right:calc(var(--gut) * -1)}
  .prologo__piece img{width:calc(100% + var(--gut) * 2); margin-left:0}
}
.prologo h2{
  font-family:var(--display); font-weight:600; font-size:clamp(1.9rem,3.6vw,2.9rem);
  line-height:1.12; margin:.9rem 0 1.4rem; color:#FBF6EE;
}
.prologo p{max-width:56ch; margin:0 0 1.1rem; color:#211F16}
.prologo .lead{
  font-size:clamp(1.15rem,1.9vw,1.45rem); font-weight:200; line-height:1.5; color:#FBF6EE;
}
.prologo .sig{
  font-family:var(--display); font-weight:500; font-size:.95rem;
  letter-spacing:.12em; margin-top:2rem; color:#FBF6EE;
  border-left:2px solid #FBF6EE; padding-left:1rem;
}
.prologo .sig i{font-style:italic; opacity:.85; display:block; font-weight:400}
.prologo__more{
  display:inline-block; margin-top:.4rem; padding:0 0 .15rem;
  background:none; border:0; border-bottom:1px solid currentColor; cursor:pointer;
  font-family:var(--display); font-size:.75rem; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:#1F1D14;
  transition:opacity .3s;
}
.prologo__more:hover{opacity:.6}

/* ============================================================
   MATERIALES — el elemento firma
   ============================================================ */
.materiales{background:var(--noche); padding:clamp(3.25rem,7vw,6rem) 0; position:relative}
.materiales__head{max-width:var(--max); margin:0 auto clamp(1.75rem,4vw,2.75rem); padding-inline:var(--gut)}
.materiales__head h2{
  font-family:var(--display); font-weight:200; line-height:1.15; margin:.8rem 0 0;
  font-size:clamp(1.8rem,4vw,3rem); color:var(--papel); max-width:22ch;
}
.materiales__head h2 em{font-style:italic; font-weight:500; color:var(--olivo)}

.mat__list{
  list-style:none; margin:0; padding:0 var(--gut); max-width:var(--max); margin-inline:auto;
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(2rem,5vw,3rem) clamp(1.75rem,4vw,3rem);
}
@media (max-width:760px){ .mat__list{grid-template-columns:repeat(2,1fr)} }
@media (max-width:480px){ .mat__list{grid-template-columns:1fr} }
.mat__card{padding-top:1.4rem; border-top:2px solid rgba(240,231,220,.2)}
.mat__card.reveal{
  transition:opacity .7s cubic-bezier(.2,.7,.3,1), transform .45s cubic-bezier(.2,.7,.3,1), border-color .35s ease;
}
.mat__card.reveal:not(.is-in):nth-child(2){transition-delay:.06s}
.mat__card.reveal:not(.is-in):nth-child(3){transition-delay:.12s}
.mat__card.reveal:not(.is-in):nth-child(4){transition-delay:.18s}
.mat__card.reveal:not(.is-in):nth-child(5){transition-delay:.24s}
.mat__card.reveal:hover{border-color:var(--olivo); transform:translateY(-6px)}
.mat__name{
  display:block;
  font-family:var(--display); font-weight:300; letter-spacing:.02em;
  font-size:clamp(1.6rem,3.2vw,2.2rem); line-height:1; color:var(--olivo);
  margin-bottom:.7rem; opacity:.82; transition:opacity .35s}
.mat__card:hover .mat__name{opacity:1}
.mat__phrase{
  display:block; max-width:32ch; opacity:.72; font-size:.95rem; line-height:1.6;
  transition:opacity .35s;
}
.mat__card:hover .mat__phrase{opacity:.95}

/* ============================================================
   MODAL DE TEXTO — prólogo completo
   ============================================================ */
.texto-modal{
  position:fixed; inset:0; z-index:200; display:grid; place-items:center;
  padding:clamp(1.25rem,5vw,3rem);
  background:rgba(10,9,7,.94); backdrop-filter:blur(6px);
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility 0s linear .3s;
}
.texto-modal.is-open{opacity:1; visibility:visible; transition:opacity .3s ease}
.texto-modal__card{
  position:relative; width:min(100%,720px); max-height:88vh;
  background:var(--papel); color:var(--tinta); border-radius:4px; overflow:hidden;
  box-shadow:0 40px 80px rgba(0,0,0,.5);
}
.texto-modal__close{
  position:absolute; top:1rem; right:1rem; z-index:1;
  width:40px; height:40px; display:grid; place-items:center;
  background:var(--papel); border:1px solid rgba(36,31,23,.3); border-radius:999px;
  color:var(--tinta); font-size:1.4rem; line-height:1; cursor:pointer;
  transition:border-color .3s, color .3s;
}
.texto-modal__close:hover{border-color:var(--tierra-d); color:var(--tierra-d)}
.texto-modal__body{padding:clamp(2.25rem,5vw,3.5rem); overflow-y:auto; max-height:88vh}
.texto-modal__body h3{
  font-family:var(--display); font-weight:600; font-size:clamp(1.4rem,2.6vw,1.9rem);
  margin:0 3rem 1.4rem 0; line-height:1.2;
}
.texto-modal__body p{margin:0 0 1.1rem; font-size:.975rem; line-height:1.7; max-width:64ch}
.texto-modal__body p:last-child{margin-bottom:0}
@media (prefers-reduced-motion: reduce){ .texto-modal{transition:none} }

/* ============================================================
   MODAL DE CREADORES — foto + semblanza
   ============================================================ */
.creador-modal{
  position:fixed; inset:0; z-index:200; display:grid; place-items:center;
  padding:clamp(1.25rem,5vw,3rem);
  background:rgba(10,9,7,.94); backdrop-filter:blur(6px);
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility 0s linear .3s;
}
.creador-modal.is-open{opacity:1; visibility:visible; transition:opacity .3s ease}
html.modal-open{overflow:hidden}
.creador-modal__card{
  position:relative; width:min(100%,960px); max-height:88vh;
  background:var(--tierra-d); color:#FDF7F0; border-radius:4px; overflow:hidden;
  display:grid; grid-template-columns:minmax(220px,340px) 1fr;
  box-shadow:0 40px 80px rgba(0,0,0,.5);
}
@media (max-width:720px){
  .creador-modal__card{grid-template-columns:1fr; max-height:90vh; overflow-y:auto}
}
.creador-modal__photo{position:relative; aspect-ratio:4/5; background:var(--noche-2)}
@media (max-width:720px){ .creador-modal__photo{aspect-ratio:3/4} }
.creador-modal__photo img{width:100%; height:100%; object-fit:cover; display:block}
.creador-modal__placeholder{
  width:100%; height:100%; display:grid; place-items:center;
  font-family:var(--display); font-weight:600; font-size:3rem; letter-spacing:.05em;
  color:var(--tierra-d); background:var(--olivo);
}
.creador-modal__body{padding:clamp(1.75rem,4vw,3rem); overflow-y:auto; max-height:88vh}
@media (max-width:720px){ .creador-modal__body{max-height:none} }
.creador-modal__body h3{
  font-family:var(--display); font-weight:600; font-size:clamp(1.5rem,3vw,2rem);
  margin:0 0 .8rem; color:#FDF7F0;
}
.creador-modal__epigrafe{
  font-style:italic; font-weight:300; font-size:clamp(1.05rem,1.8vw,1.25rem);
  line-height:1.5; opacity:.95; margin:0 0 1.3rem;
  border-left:2px solid var(--olivo); padding-left:1rem;
}
.creador-modal__body p{margin:0 0 1rem; font-size:.95rem; line-height:1.65; opacity:.92; color:#F7EADD}
.creador-modal__body p:last-child{margin-bottom:0}
.creador-modal__close{
  position:absolute; top:1rem; right:1rem; z-index:1;
  width:40px; height:40px; display:grid; place-items:center;
  background:rgba(10,9,7,.4); border:1px solid rgba(253,247,240,.3); border-radius:999px;
  color:#FDF7F0; font-size:1.4rem; line-height:1; cursor:pointer;
  transition:border-color .3s, color .3s, background .3s;
}
.creador-modal__close:hover{border-color:var(--olivo); color:var(--olivo)}
@media (prefers-reduced-motion: reduce){ .creador-modal{transition:none} }

/* ============================================================
   COORDENADAS — papel
   ============================================================ */
.coord{background:var(--papel); color:var(--tinta); padding:clamp(3.25rem,7vw,6rem) 0}
.coord__head{max-width:var(--max); margin:0 auto clamp(2rem,4vw,3rem); padding-inline:var(--gut)}
.coord__head h2{
  font-family:var(--display); font-weight:200; font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.15; margin:.8rem 0 0; max-width:24ch;
}
.coord__head h2 em{font-style:italic; font-weight:500; color:var(--tierra)}
.coord__grid{
  max-width:var(--max); margin-inline:auto; padding-inline:var(--gut);
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.6rem,3.5vw,3rem);
}
@media (max-width:860px){ .coord__grid{grid-template-columns:1fr} }
.card{border-top:2px solid var(--tierra); padding-top:1.3rem}
.card:nth-child(2){border-color:var(--oro)}
.card:nth-child(3){border-color:var(--salvia)}
.card h3{
  font-family:var(--display); font-weight:600; font-size:1.35rem; line-height:1.2;
  margin:.7rem 0 .9rem;
}
.card h3 span{display:block; font-weight:200; font-style:italic; opacity:.65; font-size:1.05rem}
.card p{margin:0 0 .9rem; font-size:.9875rem; opacity:.88}
.card .kicker{font-family:var(--display); font-size:.625rem; letter-spacing:.24em; text-transform:uppercase; color:var(--tierra); font-weight:500}
.coord__bridge{
  max-width:var(--max); margin:clamp(3rem,6vw,4.5rem) auto 0; padding:clamp(3rem,6vw,4.5rem) var(--gut) 0;
  border-top:1px solid rgba(36,31,23,.14);
}
.coord__bridge p{
  max-width:72ch; margin:0 0 1.8rem; font-weight:300;
  font-size:clamp(1.2rem,2.2vw,1.5rem); line-height:1.7; opacity:.9;
}
.coord__bridge-link{
  display:inline-block; font-family:var(--display); font-weight:500; font-size:.875rem;
  letter-spacing:.1em; color:var(--tierra); text-decoration:none;
  border-bottom:1px solid transparent; transition:border-color .3s, opacity .3s;
}
.coord__bridge-link:hover{border-color:var(--tierra); opacity:.75}
.card__more{
  display:inline-block; margin-top:.2rem; padding:0 0 .15rem; max-width:100%;
  background:none; border:0; border-bottom:1px solid currentColor; cursor:pointer;
  font-family:var(--display); font-size:.6875rem; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:var(--tierra); opacity:1;
  text-align:left; transition:opacity .3s;
}
.card__more:hover{opacity:.6}


/* ============================================================
   LOS SIETE
   ============================================================ */
.siete{background:var(--tierra-d); color:#FDF7F0; padding:clamp(3.25rem,7vw,6rem) 0}
.siete__head{max-width:var(--max); margin:0 auto clamp(2rem,4vw,3rem); padding-inline:var(--gut)}
.siete__head h2{
  font-family:var(--display); font-weight:200; font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.15; margin:.8rem 0 1rem; max-width:24ch;
}
.siete__head h2 em{font-style:italic; font-weight:500}
.siete__head p{max-width:52ch; opacity:1; color:#F7EADD; margin:0}
.roll{
  list-style:none; max-width:var(--max); margin-inline:auto; padding:0 var(--gut);
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap:0 clamp(1.5rem,4vw,3rem);
}
.roll li{border-bottom:1px solid rgba(253,247,240,.24)}
.roll__item{
  display:flex; align-items:flex-start; gap:1rem; padding:1.15rem 0;
  transition:padding-left .35s cubic-bezier(.2,.7,.3,1);
}
.roll li:hover .roll__item{padding-left:.7rem}
.roll__avatar{
  width:56px; height:56px; border-radius:50%; object-fit:cover; flex-shrink:0;
  border:1px solid rgba(253,247,240,.35);
}
.roll__text{display:flex; flex-direction:column; gap:.4rem; min-width:0; padding-top:.15rem}
.roll__name{
  font-family:var(--display); font-weight:300; letter-spacing:.01em;
  font-size:clamp(1.1rem,2vw,1.4rem); transition:color .3s;
}
.roll li:hover .roll__name{color:var(--olivo)}
.roll__epigrafe{font-style:italic; font-size:.85rem; line-height:1.5; opacity:.75; max-width:42ch}
.roll__more{
  align-self:flex-start; margin-top:.1rem; padding:0 0 .15rem;
  background:none; border:0; border-bottom:1px solid transparent; cursor:pointer;
  font-family:var(--display); font-size:.6875rem; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:var(--olivo);
  transition:border-color .3s, opacity .3s;
}
.roll__more:hover, .roll__more:focus-visible{border-color:var(--olivo)}

/* ============================================================
   CUADERNILLO
   ============================================================ */
.cuad{position:relative; background:var(--noche); overflow:hidden}
.cuad__inner{
  max-width:var(--max); margin-inline:auto; padding:clamp(3.25rem,7vw,6rem) var(--gut);
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,6vw,5rem); align-items:center;
}
@media (max-width:900px){ .cuad__inner{grid-template-columns:1fr} }
.cuad__piece{position:relative; justify-self:center}
.cuad__piece figure{
  margin:0; width:min(100%,380px); padding:10px;
  border:1px solid rgba(240,231,220,.18); background:rgba(240,231,220,.03);
}
.cuad__piece img{width:100%}
.cuad__piece figcaption{
  margin-top:.8rem; text-align:center; font-family:var(--display);
  font-size:.625rem; letter-spacing:.22em; text-transform:uppercase; opacity:.5;
}
.cuad h2{
  font-family:var(--display); font-weight:200; font-size:clamp(1.9rem,4vw,3rem);
  line-height:1.14; margin:.8rem 0 1.2rem; color:var(--papel);
}
.cuad h2 em{font-style:italic; font-weight:500; color:var(--olivo)}
.cuad p{max-width:48ch; opacity:.78; margin:0 0 1.8rem}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto{background:var(--noche-2); border-top:1px solid rgba(179,185,105,.18); padding:clamp(3.5rem,7vw,6rem) 0 0}
.contacto__inner{
  max-width:var(--max); margin-inline:auto; padding-inline:var(--gut);
  display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(2rem,6vw,5rem); align-items:start;
}
@media (max-width:820px){ .contacto__inner{grid-template-columns:1fr} }
.contacto h2{
  font-family:var(--display); font-weight:200; font-size:clamp(1.7rem,3.6vw,2.6rem);
  line-height:1.15; margin:.8rem 0 1rem; color:var(--papel);
}
.contacto h2 em{font-style:italic; font-weight:500; color:var(--olivo)}
.contacto p{max-width:44ch; opacity:.75; margin:0 0 1.6rem}
.datos{list-style:none; padding:0; margin:0; display:grid; gap:1.1rem}
.datos li{display:grid; gap:.25rem}
.datos b{
  font-family:var(--display); font-weight:500; font-size:.625rem;
  letter-spacing:.22em; text-transform:uppercase; color:var(--olivo);
}
.datos a{
  font-family:var(--display); font-weight:300; font-size:clamp(1.05rem,2vw,1.35rem);
  letter-spacing:.01em; text-decoration:none; color:var(--papel);
  border-bottom:1px solid rgba(179,185,105,.4); padding-bottom:.15rem;
  justify-self:start; transition:color .3s, border-color .3s;
}
.datos a:hover{color:var(--olivo); border-color:var(--olivo)}
.social{display:flex; gap:.7rem; flex-wrap:wrap; margin-top:.2rem}
.social a{
  font-family:var(--display); font-size:.6875rem; letter-spacing:.18em;
  text-transform:uppercase; text-decoration:none; padding:.6em 1.2em;
  border:1px solid rgba(240,231,220,.24); border-radius:999px;
  opacity:.8; transition:border-color .3s, color .3s, opacity .3s;
}
.social a:hover{border-color:var(--olivo); color:var(--olivo); opacity:1}

.pie{
  max-width:var(--max); margin:clamp(3rem,6vw,4.5rem) auto 0; padding:1.6rem var(--gut);
  border-top:1px solid rgba(240,231,220,.12);
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center;
  font-family:var(--display); font-size:.6875rem; letter-spacing:.16em;
  text-transform:uppercase; opacity:.5;
}

/* ---------- Reveal al hacer scroll ---------- */
.reveal{opacity:0; transform:translateY(26px); transition:opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1)}
.reveal.is-in{opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none} }

/* ---------- Botón: volver arriba ---------- */
.back-to-top{
  position:fixed; right:clamp(1.25rem,4vw,2.5rem); bottom:clamp(1.25rem,4vw,2.5rem); z-index:150;
  width:48px; height:48px; display:grid; place-items:center; border-radius:50%;
  background:var(--olivo); color:var(--noche);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; translate:0 12px;
  transition:opacity .3s ease, visibility 0s linear .3s, translate .3s ease, background .3s;
}
.back-to-top.is-visible{
  opacity:1; visibility:visible; translate:0 0;
  transition:opacity .3s ease, translate .3s ease, background .3s;
}
.back-to-top:hover{background:#C6CD80}
@media (prefers-reduced-motion: reduce){ .back-to-top{transition:opacity .2s ease} }
