/* Portada: retrato protagonista, navegación clara y movimiento de entrada. */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
.sv-header.menu { position: sticky; top: 0; height: 76px; padding: 0 clamp(20px,4vw,64px); background: rgba(9,9,9,.94); backdrop-filter: blur(16px); transition: height .3s ease, box-shadow .3s ease; }
.sv-header.menu.sv-scrolled { height: 66px; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.sv-header .logo img { width: 48px; height: 48px; object-fit: contain; }
.sv-header .logo a { display: flex; align-items: center; gap: 12px; color: #eee; text-decoration: none; }
.sv-logo-name { font-size: 12px; letter-spacing: 2px; }
.sv-header .menu-desplegable { gap: 24px; }
.sv-header .opciones-menu { gap: 28px; opacity: 1; visibility: visible; transform: none; }
.sv-header .opciones-menu a { position: relative; border: 0; border-radius: 0; background: transparent; color: #ddd; padding: 12px 0; font-size: 11px; letter-spacing: 1.5px; font-weight: 500; }
.sv-header .opciones-menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: #d8c6a5; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.sv-header .opciones-menu a:hover { color: #e7d2aa; transform: none; background: transparent; }
.sv-header .opciones-menu a:hover::after, .sv-header .opciones-menu a[aria-current="location"]::after { transform: scaleX(1); }
.sv-header .boton-menu { display: none; }
.sv-header :focus-visible, .sv-hero :focus-visible { outline: 2px solid #d8c6a5; outline-offset: 5px; }
.sv-hero.portada { position: relative; display: flex; align-items: center; height: auto; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); background: #080808; overflow: hidden; isolation: isolate; text-align: left; box-sizing: border-box; padding: 70px clamp(24px,7vw,110px) 92px; }
.sv-hero-photo { position: absolute; inset: 0 0 0 auto; width: 65%; z-index: -2; overflow: hidden; }
.sv-hero .sv-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: center top; animation: sv-portrait-arrive 1.8s ease-out both; }
.sv-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#080808 0,rgba(8,8,8,.65) 14%,transparent 45%),linear-gradient(0deg,rgba(8,8,8,.45),transparent 55%); pointer-events: none; }
.sv-hero-content { width: min(640px,58%); color: #fff; }
.sv-hero-eyebrow { margin: 0 0 24px; color: #d8c6a5; font-size: 11px; letter-spacing: 3px; line-height: 1.6; }
.sv-hero .titulo-portada { position: static; transform: none; width: auto; text-align: left; font-size: clamp(40px,5.5vw,76px); letter-spacing: -.025em; line-height: 1.04; font-weight: 600; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.2); }
.sv-hero .titulo-portada span { display: block; color: #e0cea9; }
.sv-hero .subtitulo-portada { position: static; transform: none; width: auto; text-align: left; margin: 24px 0; font-size: clamp(12px,1.25vw,17px); letter-spacing: 4px; line-height: 1.6; color: #d8c6a5; text-shadow: none; }
.sv-hero-copy { max-width: 430px; margin: 0 0 14px; font-size: clamp(18px,1.7vw,23px); line-height: 1.6; color: #eee; }
.sv-hero-location { margin: 0; font-size: 12px; line-height: 1.7; color: #aaa; letter-spacing: .4px; }
.sv-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.sv-hero .boton-portada { position: relative; top: auto; left: auto; transform: none; display: inline-flex; align-items: center; gap: 22px; padding: 17px 23px; background: #d8c6a5; color: #111; border: 1px solid #d8c6a5; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; line-height: 1.4; text-decoration: none; transition: background .3s ease, box-shadow .3s ease; overflow: hidden; }
.sv-hero .boton-portada > span { transition: transform .3s ease; }
.sv-hero .boton-portada:hover { background: #eddab6; box-shadow: 0 8px 32px rgba(216,198,165,.18); }
.sv-hero .boton-portada:hover > span { transform: translateX(5px); }
.sv-hero-secondary { color: #eee; font-size: 12px; text-decoration: none; border-bottom: 1px solid #7c6f59; padding: 9px 0; transition: color .25s ease; }
.sv-hero-secondary:hover { color: #e0cea9; }
.sv-hero-scroll { position: absolute; left: clamp(24px,7vw,110px); bottom: 26px; color: #a99c84; text-decoration: none; font-size: 10px; letter-spacing: 2px; display: flex; gap: 12px; align-items: center; }
.sv-hero-scroll span { font-size: 16px; animation: sv-scroll-cue 2.5s ease-in-out 3; }
.sv-hero-content > * { animation: sv-hero-arrive .85s cubic-bezier(.2,.65,.25,1) both; }
.sv-hero-content > :nth-child(2) { animation-delay: .12s; }
.sv-hero-content > :nth-child(3) { animation-delay: .24s; }
.sv-hero-content > :nth-child(4) { animation-delay: .36s; }
.sv-hero-content > :nth-child(5) { animation-delay: .46s; }
.sv-hero-content > :nth-child(6) { animation-delay: .56s; }
@keyframes sv-hero-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sv-portrait-arrive { from { opacity: .45; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes sv-scroll-cue { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 760px) {
  .sv-header.menu { height: 68px; padding: 0 18px; }
  .sv-logo-name { font-size: 10px; }
  .sv-header .logo img { width: 40px; height: 40px; }
  .sv-header .boton-menu { display: block; padding: 11px 15px; font-size: 11px; border-radius: 5px; letter-spacing: 1.5px; }
  .sv-header .opciones-menu { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; gap: 0; padding: 14px 24px; background: #101010; border-bottom: 1px solid #746348; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .sv-header:not(.sv-menu-open) .menu-desplegable:hover .opciones-menu { opacity: 0; visibility: hidden; transform: translateY(-8px); }
  .sv-header.sv-menu-open .opciones-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .sv-header .opciones-menu a { padding: 16px 0; width: 100%; text-align: left; }
  .sv-header .opciones-menu a::after { right: auto; width: 40px; }
  .sv-hero.portada { min-height: calc(100svh - 68px); display: block; padding: 0 24px 76px; }
  .sv-hero-photo { position: relative; inset: auto; width: calc(100% + 48px); height: 46svh; min-height: 280px; max-height: 430px; margin: 0 -24px; z-index: 0; }
  .sv-hero-photo::after { background: linear-gradient(0deg,#080808 0,transparent 40%); }
  .sv-hero .sv-hero-photo img { object-position: center top; }
  .sv-hero-content { position: relative; width: 100%; margin-top: -22px; z-index: 1; }
  .sv-hero-eyebrow { font-size: 9px; letter-spacing: 2px; margin-bottom: 18px; }
  .sv-hero .titulo-portada { font-size: clamp(38px,9vw,62px); }
  .sv-hero .titulo-portada span { display: inline; }
  .sv-hero .subtitulo-portada { font-size: 12px; letter-spacing: 3px; margin: 20px 0; }
  .sv-hero-copy { font-size: 18px; }
  .sv-hero-actions { gap: 18px; margin-top: 24px; }
  .sv-hero-scroll { left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sv-hero-content > *, .sv-hero .sv-hero-photo img, .sv-hero-scroll span { animation: none; }
  .sv-header.menu, .sv-header .opciones-menu, .sv-header .opciones-menu a::after, .sv-hero .boton-portada, .sv-hero .boton-portada > span, .sv-hero-secondary { transition: none; }
}
