/* Para imágenes panorámicas antiguas usar proporción 3 / 1.
   CABECERA: cambiar --cabecera-imagen para alternar fotografías.
   Ajustar --cabecera-proporcion a 3 / 2 si se usa una imagen de ese formato. */
.hero { --cabecera-imagen: url("../img/cabecera1.png"); --cabecera-proporcion: 3 / 2; min-height: 570px; position: relative; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: white; }
.hero-photo { position: absolute; inset: 0 0 0 40%; background-image: var(--cabecera-imagen); background-size: cover; background-position: right center; background-repeat: no-repeat; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 39%, rgba(75,53,40,.65) 46%, transparent 62%); }
.hero-content { position: relative; z-index: 2; padding: 72px 0 85px; }
.hero h1 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(36px, 4vw, 60px); line-height: 1.08; margin: 0; max-width: 100%; }
.hero h1 em { color: #c4a17a; font-style: normal; }
.hero-content > p { color: #eadfd2; font-size: 17px; line-height: 1.7; margin: 22px 0 29px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 47px; color: #cdbba7; font-size: 11px; line-height: 1.6; }
.hero-note strong { color: #fff; letter-spacing: .08em; }
.note-icon { font-size: 27px; color: #c4a17a; }
.hero-label { position: absolute; right: 35px; bottom: 25px; z-index: 2; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .2em; writing-mode: vertical-rl; }

/* El contenido no invade la zona de la fotografía. */
.hero-content > * { max-width: 42%; }
.hero-content .hero-actions { max-width: 42%; }
.hero-content .eyebrow { line-height: 1.5; }
.hero-content .eyebrow span { flex-shrink: 0; }
@media (max-width: 900px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-photo { position: relative; inset: auto; width: 100%; aspect-ratio: var(--cabecera-proporcion); flex: none; background-size: contain; background-position: center; }
  .hero-shade, .hero-label { display: none; }
  .hero-content { width: min(700px, calc(100% - 36px)); padding: 32px 0 40px; }
  .hero-content > *, .hero-content .hero-actions { max-width: 100%; }
  .hero h1 { font-size: clamp(30px, 6vw, 43px); overflow-wrap: break-word; }
  .hero-note { margin-top: 24px; }
}
@media (max-width: 520px) {
  .hero-content { padding: 24px 0 30px; }
  .hero-content > p { font-size: 15px; margin: 16px 0 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { min-width: 0; width: 100%; }
}
